GithubHelp home page GithubHelp logo

jaxter03 / substrate-nft Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 96 KB

In this Project, Blockchain is designed to handle NFTs using Substrate Framework. It implements a protocol defined by ERC721.org to allow unique tokens to be managed, owned, and traded. It also has pallets provided by Chainsafe's Chainbridge to transfer an asset from this Blockchain to Ethereum Blockchain and vice-versa.

License: Apache License 2.0

Makefile 0.26% Rust 99.32% Shell 0.42%

substrate-nft's Introduction

Substrate based Blockchain for NFTs

proj_ksr

About the Project ๐Ÿš€

In this Project, Blockchain is designed to handle NFTs using Substrate Framework. It implements a protocol defined by ERC721.org to allow unique tokens to be managed, owned, and traded. It also has pallets provided by Chainsafe's Chainbridge to transfer an asset from this Blockchain to Ethereum Blockchain and vice-versa.

Tech ๐Ÿ’ช

This Project uses a number of open-source projects to work properly:

  • Rust - Rust is blazingly fast and memory-efficient. It can power performance-critical services.
  • Substrate - Substrate is a next-generation framework for blockchain innovation.
  • rocket-rs - Rocket is a web framework for Rust that makes it simple to write fast, secure web applications.
  • Chainsafe's Chainbridge - ChainBridge is an extensible cross-chain communication protocol. It currently supports bridging between EVM and Substrate based chains.

Getting Started ๐Ÿ”ญ

This project contains some configuration files to help get started ๐Ÿ› ๏ธ

Rust Setup

Follow the Rust setup instructions before using the included Makefile to build the Node Template.

Makefile

This project uses a Makefile to document helpful commands and make it easier to execute them. Get started by running these make targets:

  1. make init - Run the init script to configure the Rust toolchain for WebAssembly compilation.
  2. make run - Build and launch this project in development mode.

The init script and Makefile both specify the version of the Rust nightly compiler that this project depends on.

Build

The make run command will perform an initial build. Use the following command to build the node without launching it:

make build

Embedded Docs

Once the project has been built, the following command can be used to explore all parameters and subcommands:

./target/release/node-nft-pallet -h

Run

The make run command will launch a temporary node and its state will be discarded after you terminate the process. After the project has been built, there are other ways to launch the node.

Single-Node Development Chain

This command will start the single-node development chain with persistent state:

./target/release/node-nft-pallet --dev

Purge the development chain's state:

./target/release/node-nft-pallet purge-chain --dev

Start the development chain with detailed logging:

RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/node-nft-pallet -lruntime=debug --dev

Follow the Prerequisites provided by Chainsafe to install Chainbridge.

Roadmap โŒš

  • Setting up Blockchain with PoA (Aura) Consensus.
  • Install Pallet to handle NFTs.
  • Integrate Chainsafe's Chainbridge.
  • Install Pallet to handle Multiple types of Bidding.
  • Create APIs to interact with Blockchain and Database.
  • Frontend Integration.

License ๐Ÿ“Œ

Distributed under the MIT License. See LICENSE for more information

Contact ๐Ÿ˜„

@ksr30 - [email protected]

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.