Add stake-o-matic.sh
This commit is contained in:
parent
429802a138
commit
07243dc87f
|
@ -1,2 +1,2 @@
|
|||
target/
|
||||
*.csv
|
||||
solana/
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# Downloads and runs the latest stake-o-matic binary
|
||||
#
|
||||
|
||||
solana_version=edge
|
||||
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v1.0.0/install/solana-install-init.sh \
|
||||
| sh -s - $solana_version \
|
||||
--no-modify-path \
|
||||
--data-dir ./solana-install \
|
||||
--config ./solana-install/config.yml
|
||||
|
||||
export PATH="$PWD/solana-install/releases/$solana_version/solana-release/bin/:$PATH"
|
||||
|
||||
set -x
|
||||
exec solana-stake-o-matic "$@"
|
Loading…
Reference in New Issue