Skip to content

This repository contains substrate blockchain with contract pallet added. Its also contains Erc20 smart contract which is complied to wasm and deployed using redspot

License

Notifications You must be signed in to change notification settings

vlasfama/substrate-contract-erc20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

substrate-contract-erc20

This repository contains substrate blockchain with contract pallet added. Its also contains Erc20 smart contract which is complied to wasm and deployed to substrate using redspot.

Deploying the Erc20 into Substrate chain.

  • Git clone project folder using below.
git clone https://github.com/nagarajmanjunath/substrate-contract-erc20.git

cd substrate-contract-erc20/substrate-node-template
  • Build the substrate in release mode.
cargo build --release
  • Start the substrate node in development mode.
./target/release/node-template --dev

Complie Erc20 using RedSpot.

cd erc20
  • Install npm
yarn or npm install
  • Compile the Erc 20 contract.
npx redspot compile ./contracts
  • Deploy Contract to Substrate
npx redspot run . ./scripts/deploy.ts --no-compile

About

This repository contains substrate blockchain with contract pallet added. Its also contains Erc20 smart contract which is complied to wasm and deployed using redspot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published