-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Artur Troian <[email protected]>
- Loading branch information
Showing
5 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"chain_id": "localakash", | ||
"accounts": { | ||
"add": [ | ||
{ | ||
"address": "akash1dge0lcc5rqxkw52rgav4q0fyhx7arcufmrkyww", | ||
"pubkey": { | ||
"@type": "/cosmos.crypto.secp256k1.PubKey", | ||
"key": "Ap0sauGRfAcjXjL0k+Oyp+mZmR3Tono8CrhrFXWJtlG2" | ||
}, | ||
"coins": [ | ||
"2000000000000000uakt" | ||
] | ||
} | ||
] | ||
}, | ||
"validators": { | ||
"add": [ | ||
{ | ||
"name": "upgrade-tester", | ||
"pubkey": { | ||
"@type": "/cosmos.crypto.ed25519.PubKey", | ||
"key": "d0sS1j4EdrAkBkpFXb50lkibj7+Kwh9UtGPO5O35Pes=" | ||
}, | ||
"rates": { | ||
"rate": "0.05", | ||
"maxRate": "0.8", | ||
"maxChangeRate": "0.1" | ||
}, | ||
"bonded": true, | ||
"delegators": [ | ||
{ | ||
"address": "akash1dge0lcc5rqxkw52rgav4q0fyhx7arcufmrkyww", | ||
"coins": [ | ||
"1950000000000000uakt" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"gov": { | ||
"voting_params": { | ||
"voting_period": "60s" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,7 +132,7 @@ export AKASH_NODE | |
export AKASH_CHAIN_ID | ||
export AKASH_MINIMUM_GAS_PRICES="0.025uakt" | ||
export POLKACHU_PEERS="[email protected]:12856" | ||
export AKASH_P2P_PERSISTENT_PEERS="$POLKACHU_PEERS,$MAINNET_PEERS" | ||
export AKASH_P2P_PERSISTENT_PEERS="${POLKACHU_PEERS},${MAINNET_PEERS}" | ||
export AKASH_STATESYNC_ENABLE | ||
export AKASH_STATESYNC_RPC_SERVERS=https://rpc.akashnet.net:443,https://rpc.akashnet.net:443 | ||
export AKASH_STATESYNC_RPC_SERVERS=https://akash-rpc.polkachu.com:443,https://akash-rpc.polkachu.com:443 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
akash=$1 | ||
key=$2 | ||
template=$3 | ||
result=$4 | ||
|
||
ACCOUNT_ADDRESS=$($akash keys show "$key" -a) \ | ||
ACCOUNT_PUBKEY=$($akash keys show "$key" -p) \ | ||
VALIDATOR_PUBKEY=$($akash tendermint show-validator) \ | ||
gomplate \ | ||
-d 'account_address=env:///ACCOUNT_ADDRESS' \ | ||
-d 'account_pubkey=env:///ACCOUNT_PUBKEY' \ | ||
-d 'validator_pubkey=env:///VALIDATOR_PUBKEY' \ | ||
-f "$template" | jq > "$result" |