Skip to content

Helper scripts for dealing with various Substrate tasks.

License

Notifications You must be signed in to change notification settings

ggwpez/substrate-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

pip install substrate-interface
# or
pip install -r requirements.txt

Content

prefund-chain-spec: can be used to prefund accounts in a Substrate chainspec. Example:

./target/release/substrate build-spec --dev > spec.json
python prefund-chain-spec.py
./target/release/substrate --chain=out-spec.json --alice --force-authoring --tmp --no-hardware-benchmarks

Tests with:

pytest prefund-chain-spec

update-weights: Helper script to run all pallet benchmarks in Substrate/Polkadot/Cumulus.

Usage like (see README):

python run.py --debug --project substrate --cwd ~/work/substrate/

About

Helper scripts for dealing with various Substrate tasks.

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •