Skip to content

The main idea is to decode the extrinsics data from a block

Notifications You must be signed in to change notification settings

fersirni/substrate-decode-extrinsics

Repository files navigation

substrate-decode-extrinsics

The main idea is to decode the extrinsics data from a block (using ink! contracts)

https://paritytech.github.io/ink/#how-it-works

Steps to run

Running a local node

run the 'substrate-contracts-node' script by typing

./substrate-contracts-node --dev

https://docs.substrate.io/tutorials/get-started/build-local-blockchain/

Running the UI to deploy contracts

Clone this repo 'https://github.com/paritytech/contracts-ui', install dependencies using

yarn
yarn start

Deploy an ERC20 Contract

While using the UI use the src/erc20/erc20.contract to deploy. Other contracts at https://github.com/paritytech/ink/tree/master/examples As this is a fresh new local node, generate some transactions.

Run the project

npm i
npm run build
npm run start

About

The main idea is to decode the extrinsics data from a block

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published