GithubHelp home page GithubHelp logo

nftbot's Introduction

NFTBot

Upload entire albums as NFTs without paying a dime!

Table of contents

Technologies

This project is created with:

General info

This project automates the production of NFTs on Opensea. It seeks to allow photographers and artists to upload many of their works as NFTs at once with minimal effort. Opensea is ideal for this as it allows for the off-chain creation and sale of assets, so you can create many of them without any initial investment.
Sadly, I could not upload a file automatically to Opensea without AutoIt. Therefore, this program cannot run headlessly. and only supports windows!

Please use this responsibly. Do not run bots.

All included images are from Pixabay and are licensed under Pixabay's license

Setup

To run this project, first download it and install the requirements with pip3 install -r requirements.txt.
It is very likely that you will need to update your chrome driver if you wish to run it with its default settings. Get the most recent version of ChromeDriver here
When running the program, you will need to have an Ethereum wallet's Seed Phrase.

Usage

Simply starting the program with python3: python3 nftbot.py will automatically prompt for a seed phrase and upload all images in the ./images/ directory as NFTs

For implementation in your own projects, the file_to_nft_info(...) function converts a file's path into the dictionary used to make an nft with the program. setup_metamask_with_opensea(driver, seed_phrase) takes in a Selenium Webdriver and logs it into both Metamask and Opensea with the given seed phrase. create_nft(driver, nft_info) takes a logged-in Webdriver and the nft's info to create it on opensea. It can be called many times once a Webdriver has been logged in.

Configuration

 # Required fields:
'name': str
'image': set by program

 # Possible fields:
'link': str # must be valid url
'description': str # Write something nice here
'unlocked': str # Hidden Info

'properties': {   # listed as plaintext
  str : str
 }
'levels': {       # listed as a large bar
  str : (int, int)
 }
'stats': {        # listed as a single number
  str : (int, int)
 }

Default Placeholders

 # Placeholders:
'%n' # the name of the file (\ and " and ' are skipped). The case will be adjusted
'%t' # the file's type
'%i' # the number of file processed (starting at 1)
'%o' # the total number of files the program will process
'%d' # the date the file was last modified
'%c' # the file's creation date
'%z' # the file's size

nftbot's People

Contributors

pop101 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

0xtulaoda

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.