Giter Site home page Giter Site logo

thirteenggh / acuity-hardspoon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from acuity-network/acuity-hardspoon

0.0 0.0 0.0 15 KB

Scripts and methodology to perform a hard spoon on Acuity.

License: Apache License 2.0

Shell 15.43% TypeScript 84.57%

acuity-hardspoon's Introduction

cd ~/acuity-hardspoon
~/substrate/target/release/subkey generate
export SECRET=""
./scripts/keygen.sh >keys.json
y keys
cd ~/acuity-substrate
copy code to chain_spec.rs & set root_key
c clean
c build --release

./target/release/acuity build-spec --chain staging >~/acuity-hardspoon/staging.json

copy metadata from acuity.json to staging.json
delete bootnodes
delete root balance from staging.json
set elections and technical

cd ~/acuity-hardspoon
y balances
stop acuity
cp balances.json ~/acuity-substrate/node/res/acuity.json
cd ~/acuity-substrate
c build --release
./target/release/acuity build-spec --raw >~/acuity-hardspoon/acuity.json

./acuity export-state blocknum >~/acuity-hardspoon/snapshot.json
cd ~/acuity-hardspoon
y claims
cp acuity.json ~/acuity-substrate/node/res/acuity.json

cd ~/acuity-substrate
c build --release



./acuity key insert \
--suri "//SECRET//grandpa//1" \
--key-type gran --scheme Ed25519

./acuity key insert \
--suri "//SECRET//babe//1" \
--key-type babe --scheme Sr25519

./acuity --port 30341 --rpc-port 9941 --ws-port 9951 --name Acuity1 --validator --pruning archive --rpc-cors=all --ws-max-connections=100

./target/release/acuity build-spec >node/res/acuity.json
set boot nodes
c build --release
commit

acuity-hardspoon's People

Contributors

ethernomad 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.