WARNING: DO NOT RUN CODE THAT YOU DO NOT UNDERSTAND. BE CAREFUL WHEN GIVING THIS SCRIPT ACCESS TO YOUR METAMASK WALLET. I AM NOT RESPONSIBLE FOR ANY FUNDS YOU MAY LOSE.
Bulk uploads NFT data to OpenSea automatically.
A simple script which bulk uploads your NFT's to OpenSea without having to deploy your own smart contract and without having to pay any gas fees. Set this script to run overnight and wake up to find all of your NFT's uploaded with no extra effort from you. Requires access to your Metamask wallet to run.
- Python==3.8
- Pipenv==2021.5.29
- Make a new
.env
file insrc
and inside of it specify your seed phraseSEED_PHRASE=
and passwordPASSWORD=
- Copy your NFT assets you wish to upload to
src/data/assets
, then inside ofsrc/data/metadata.json
, specify the metadata of each asset you wish to upload as an NFT to OpenSea. By default, the script only acceptsname
andasset
attributes, where thename
is the name of the NFT, and theasset
is the name of the asset stored insrc/data/assets
- Set your desired network in
main.py
. If you wish to use a default network specified by Metamask, uncomment theuploader.set_network("", 0, 1) # Use a default network provided by Metamask
line, and replace the third argument with the position of where the default network appears in the Metamask networks list. - Inside of
src
runpipenv install
- Download the latest Chromedriver and place the binary in
src/bin
. NOTE that if you are on Windows you will have to change the Chromedriver executable name inuploader.py
fromchromedriver
tochromedriver.exe
- Package up your Metamask extension, then copy the resulting
.crx
file, rename it tometamask.crx
, and place it insrc/bin
- Within
src
, runpipenv run python main.py