Giter Site home page Giter Site logo

swarupyeole11 / nft-toolbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scorelab/nft-toolbox

0.0 0.0 0.0 1.82 MB

A non-fungible token (NFT) is a non-interchangeable unit of data stored on a blockchain, a form of digital ledger, that can be sold and traded. Each NFT has its own unique identity. Design NFT’s along with building a web3 dapp, that can mint NFTs.

License: Apache License 2.0

TypeScript 100.00%

nft-toolbox's Introduction

NFT-Toolbox

An npm package for seamless integration of all NFT related functionalities in Web2 projects.

Supported Functionalities

  1. Generate NFT Collection Images and Metadata files from Layer Images
  2. Upload NFT Collection Assets and Metadata Files to IPFS (or alternative) Platforms via any of the following services:
  3. Draft ERC721/ERC1155 Smart Contracts from scratch with Open Zeppelin Wizard
  4. Deploy a Smart Contract to blockchain. Mainnets and Testnets of the following are supported are supported.
    • Ethereum: Mainnet, Ropsten, Rinkeby, Goerli, Kovan
    • Polygon: Mainnet, Mumbai
  5. Mint NFTs on a Smart Contract deployed on any of the supported networks.

Project Workflows

Project Workflows

Folder structure

  • /src : Package source code
    • /src/index.ts : Toolbox class, the single default export from the package
    • /src/classes : Core classes of the package that implement functionalities
    • /src/helpers : Helper classes that are used by core classes
  • /tests : Tests for all core classes
  • /examples : Example scripts for all functionalities
  • /docs : Markdown documentation
  • /documentation : Docusaurus project for documentation website

Contributor Guidelines

  • This project is an NPM package. All dependencies must be installed with npm install.
  • Dependencies for Upload functionality that are required based only in some cases based on user's specification are installed dynamically using child-process. They are included in dev-dependencies but not in dependencies. (For example @pinata/sdk).
  • Mocha, Chai and Sinon have been used for testing. Run all tests with npm test.
  • ESLint has been configured to lint for Typescript. Run linting with npm run lint.

Development setup

  1. Fork the scorelab/NFT-Toolbox repository Follow these instructions on how to fork a repository

  2. Clone the repository Navigate to the location on your computer where you want to host your code. Once in the appropriate folder, run the following command to clone the repository to your local machine.

    git clone https://github.com/{your-username}/NFT-Toolbox.git
    
  3. Install the dependencies, Setup the project with Node Package Manager.

    cd NFT-Toolbox
    npm install
    
  4. You are ready to go!

    To run an example script, update the required credentials in examples/*.json file and run

    ts-node examples/generate.ts
    

    To run Tests, update the required credentials in tests/test_specs.json file and run

    npm test
    

Documentation

Documentation has been generated using Docusaurus.

The Docusaurus project is present in documentation directory. Install the dependencies

cd documentation
npm install

Run the development live server for Documentation

npm start

nft-toolbox's People

Contributors

sadashaykanungo avatar mbcse avatar abhikul10 avatar charithccmc avatar swarupyeole11 avatar

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.