solana: Use a central location for well-known keypairs
Change-Id: Ibed0044bee47063ec0caa4b0c12e9e7037ed7e3b
This commit is contained in:
parent
360dccec27
commit
952a9d9db9
|
@ -6,7 +6,7 @@
|
|||
| Test ERC20 | ETH | 0x0290FB167208Af455bB137780163b7B7a9a10C16 | Tokens minted to Test Wallet |
|
||||
| Bridge Core | ETH | 0x254dffcd3277c0b1660f6d42efbb754edababc2b | |
|
||||
| Token Bridge | ETH | 0xe982e462b094850f12af94d21d470e21be9d0e9c | |
|
||||
| Test Wallet | SOL | 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J | Key in `solana/id.json` |
|
||||
| Test Wallet | SOL | 6sbzC1eH4FTujJXWj51eQe25cYvr4xfXbJ1vAj7j2k5J | Key in `solana/keys/solana-devnet.json` |
|
||||
| Example Token | SOL | 2WDq7wSs9zYrpx2kbHDA4RUTRch2CCTP6ZWaH4GNfnQQ | Tokens minted to Test Wallet |
|
||||
| Bridge Core | SOL | Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o | |
|
||||
| Token Bridge | SOL | B6RHG3mfcckmrYN1UhmJzyS1XX3fZKbkeUcpJe9Sy3FE | |
|
||||
|
@ -18,4 +18,4 @@
|
|||
|
||||
### Terra
|
||||
|
||||
The terra testnet can be used just like a normal localterra network (can be selected in finder and station).
|
||||
The terra testnet can be used just like a normal localterra network (can be selected in finder and station).
|
||||
|
|
|
@ -28,4 +28,4 @@ RUN --mount=type=cache,target=/usr/local,from=rust,source=/usr/local \
|
|||
mkdir -p /opt/solana/deps && \
|
||||
cp bridge/target/deploy/bridge.so /opt/solana/deps/bridge.so && \
|
||||
cp bridge/target/deploy/cpi_poster.so /opt/solana/deps/cpi_poster.so && \
|
||||
cp modules/token_bridge/target/deploy/token_bridge.so /opt/solana/deps/token_bridge.so
|
||||
cp modules/token_bridge/target/deploy/token_bridge.so /opt/solana/deps/token_bridge.so
|
||||
|
|
|
@ -7,7 +7,7 @@ mkdir -p ~/.config/solana/cli
|
|||
cat <<EOF > ~/.config/solana/cli/config.yml
|
||||
json_rpc_url: "http://127.0.0.1:8899"
|
||||
websocket_url: ""
|
||||
keypair_path: /usr/src/solana/id.json
|
||||
keypair_path: /usr/src/solana/keys/solana-devnet.json
|
||||
EOF
|
||||
|
||||
# Static key for the mint so it always has the same address
|
||||
|
@ -29,7 +29,7 @@ retry () {
|
|||
done
|
||||
}
|
||||
|
||||
# Fund our account (as seen in id.json).
|
||||
# Fund our account (as seen in solana-devnet.json).
|
||||
retry solana airdrop 1000 --faucet-port 9900 --faucet-host 127.0.0.1
|
||||
|
||||
# Create a new SPL token
|
||||
|
|
Loading…
Reference in New Issue