Code Monkey home page Code Monkey logo

bulk-uploader-nft's Introduction

Bulk NFT Uploader

Sorry but, I'm not maintaining this project anymore.

  • If you're a artist trying to get into NFTs, feel free to reach out to me, I can build NFT smart contracts and minting sites for you.
  • If you're contributor and interested to work on this project, feel free to contribute. :D

Description

Simple easy peasy python script which logins to opensea account using metamask and bulk uploads NFT to your default collection.

Requirements

  • pip install -r requirements.txt
  • Make sure you have chrome driver installed.
  • Create .env from .example.env with required keys.

Note:

  • You have to click the "sign" button during user login on opensea for the first time.
  • Also make sure, you click on any popup (error) message comes up.
  • Make sure to follow the template provided in data directory.

Understanding the .env

  • EXTENSION_PATH: In our program, we're running a selenium based browser (chrome driver here) and usually in automated environment we don't have access to extensions, so get the access.
    • Navigate to chrome://extensions/ Click ‘Pack extension’ and enter the local path to the Metamask extension. This will generate a .crx file. Also, make a note of Extension ID.
    • Now the path to this '.crx' file is the value of this field.
  • RECOVERY_CODE: Recovery code of your wallet cause we need to login into your metamask.
  • PASSWORD: Metamask's password.
  • CHROME_DRIVER_PATH: To run chromium, you need to download the chrome driver and it's path will be the value. (https://chromedriver.chromium.org/downloads)

Feel free to buy me a coffee:

Link

bulk-uploader-nft's People

Contributors

lakshyabatman avatar lakshyawork avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bulk-uploader-nft's Issues

Upload Jpg?

Hi,

Does this just upload the metadata/csv data or the data along with the NFT .jpg/.png/gif?

Also, I’ll buy you a 100 coffees if you’d make a demo video. ;)

odd chromium error

Hello there, I attempted to use this to of course, upload a bunch of NFT's to opensea, but for some reason the metamask plugin isn't being recognized by opensea. I log into metamask, navigate to open sea, hit the metamask option, and then it takes me to the metamask download page unaware I already have the metamask add on installed. Anybody else run into this issue?

No need of recovery code

No need to enter recovery code in env file. Also without password

just few things to ensure without recovery phrase.

  • login in metamask wallet before hand
  • Create collection ready

Question about some file you mentioned in your script

May I know the details about "metadata.json" you mentioned on row 102(main.py)?
What should I include in this json? Do I also need to create a json file?
Also, what is the usage of the CSV folder?
Many Thanks.

Stop at Create New Item in Opensea

Hi, my script stopped at creating new item in Opensea with the following error. What could be the possible causes?

main.py:97: DeprecationWarning: executable_path has been deprecated, please pass in a Service object driver = webdriver.Chrome(executable_path=CHROME_DRIVER_PATH, chrome_options=opt) main.py:97: DeprecationWarning: use options instead of chrome_options driver = webdriver.Chrome(executable_path=CHROME_DRIVER_PATH, chrome_options=opt) main.py:28: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_xpath('//button[text()="Import wallet"]').click() main.py:31: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_xpath('//button[text()="No Thanks"]').click() main.py:34: DeprecationWarning: find_elements_by_* commands are deprecated. Please use find_elements() instead inputs = d.find_elements_by_xpath("//input") main.py:41: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_css_selector(".first-time-flow__terms").click() main.py:42: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_xpath('//button[text()="Import"]').click() Traceback (most recent call last): File "main.py", line 101, in <module> signin_to_opensea(driver) File "main.py", line 55, in signin_to_opensea d.switch_to.window(d.window_handles[3]) IndexError: list index out of range

It only adds properties

First of all thanks for the great tool, it works well for me.

Regarding the metadata handling, it seems to me that it adds all metadata as Properties while I would also like to add Stats (i.e., numerical values). Am I doing something wrong? Perhaps I don't understand well the structure of the metadata?

Thanks.

Won't login to OpenSea

nft@pc:~/Desktop/Bulk-uploader-NFT-main$ python3 main.py /home/nft/Desktop/Bulk-uploader-NFT-main/main.py:97: DeprecationWarning: executable_path has been deprecated, please pass in a Service object driver = webdriver.Chrome(executable_path=CHROME_DRIVER_PATH, chrome_options=opt) /home/nft/Desktop/Bulk-uploader-NFT-main/main.py:97: DeprecationWarning: use options instead of chrome_options driver = webdriver.Chrome(executable_path=CHROME_DRIVER_PATH, chrome_options=opt) /home/nft/Desktop/Bulk-uploader-NFT-main/main.py:28: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_xpath('//button[text()="Import wallet"]').click() /home/nft/Desktop/Bulk-uploader-NFT-main/main.py:31: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_xpath('//button[text()="No Thanks"]').click() /home/nft/Desktop/Bulk-uploader-NFT-main/main.py:34: DeprecationWarning: find_elements_by_* commands are deprecated. Please use find_elements() instead inputs = d.find_elements_by_xpath("//input") /home/nft/Desktop/Bulk-uploader-NFT-main/main.py:41: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_css_selector(".first-time-flow__terms").click() /home/nft/Desktop/Bulk-uploader-NFT-main/main.py:42: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead d.find_element_by_xpath('//button[text()="Import"]').click() Traceback (most recent call last): File "/home/nft/Desktop/Bulk-uploader-NFT-main/main.py", line 101, in <module> signin_to_opensea(driver) File "/home/nft/Desktop/Bulk-uploader-NFT-main/main.py", line 55, in signin_to_opensea d.switch_to.window(d.window_handles[3]) IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.