* add setup to combine init steps, configurable initial mint * bash -e -> bash and be explicit about errors with || exit $? * feed transaction logs to validator, too
10 lines
332 B
Bash
Executable File
10 lines
332 B
Bash
Executable File
#!/bin/bash
|
|
|
|
TOKENS=${1:-1000000000}
|
|
|
|
cargo run --release --bin solana-mint-demo <<<"${TOKENS}" > mint-demo.json
|
|
cargo run --release --bin solana-genesis-demo < mint-demo.json > genesis.log
|
|
|
|
cargo run --release --bin solana-fullnode-config -- -d > leader.json
|
|
cargo run --release --bin solana-fullnode-config -- -d > validator.json
|