-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c65759
commit aff835c
Showing
2 changed files
with
14 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
solana -v --url http://localhost:8899 --keypair artifacts/creator.keypair airdrop 100 | ||
solana -v --url http://localhost:8899 --keypair artifacts/payer.keypair airdrop 100 | ||
solana -v --keypair artifacts/creator.keypair airdrop 100 | ||
solana -v --keypair artifacts/payer.keypair airdrop 100 | ||
|
||
solana -v --url http://localhost:8899 --keypair artifacts/voters/voter1.keypair airdrop 100 | ||
solana -v --url http://localhost:8899 --keypair artifacts/voters/voter2.keypair airdrop 100 | ||
solana -v --url http://localhost:8899 --keypair artifacts/voters/voter3.keypair airdrop 100 | ||
solana -v --url http://localhost:8899 --keypair artifacts/voters/voter4.keypair airdrop 100 | ||
solana -v --url http://localhost:8899 --keypair artifacts/voters/voter5.keypair airdrop 100 | ||
solana -v --keypair artifacts/voters/voter1.keypair airdrop 100 | ||
solana -v --keypair artifacts/voters/voter2.keypair airdrop 100 | ||
solana -v --keypair artifacts/voters/voter3.keypair airdrop 100 | ||
solana -v --keypair artifacts/voters/voter4.keypair airdrop 100 | ||
solana -v --keypair artifacts/voters/voter5.keypair airdrop 100 | ||
|
||
spl-token --url http://localhost:8899 create-token --decimals 6 --fee-payer artifacts/payer.keypair artifacts/community-mint.keypair | ||
spl-token --url create-token --decimals 6 --fee-payer artifacts/payer.keypair artifacts/community-mint.keypair | ||
|
||
solana program deploy --url http://localhost:8899 --program-id artifacts/spl-governance.keypair -v deploy/spl_governance.so | ||
solana program deploy --url --program-id artifacts/spl-governance.keypair -v deploy/spl_governance.so | ||
|
||
solana program deploy --url http://localhost:8899 --program-id artifacts/addin-fixed-weights.keypair -v deploy/spl_governance_addin_fixed_weights.so | ||
solana program deploy --url --program-id artifacts/addin-fixed-weights.keypair -v deploy/spl_governance_addin_fixed_weights.so | ||
|
||
solana program deploy --url http://localhost:8899 --program-id artifacts/addin-vesting.keypair -v deploy/spl_governance_addin_vesting.so | ||
solana program deploy --url --program-id artifacts/addin-vesting.keypair -v deploy/spl_governance_addin_vesting.so | ||
|
||
solana program deploy --url http://localhost:8899 --program-id artifacts/maintenance.keypair -v deploy/maintenance.so | ||
solana program deploy --url --program-id artifacts/maintenance.keypair -v deploy/maintenance.so |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
solana set config -u ${SOLANA_URL:-http://localhost:8899} | ||
|
||
./init-governance.sh |