File tree 2 files changed +24
-3
lines changed
2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ set -x
126
126
127
127
cd /tmp
128
128
# Install go
129
+ sysctl -p
129
130
wget -q https://go.dev/dl/go$$ {GO_VERS}.linux-amd64.tar.gz
130
131
tar xf go$$ {GO_VERS}.linux-amd64.tar.gz -C /usr/local
131
132
@@ -235,15 +236,29 @@ alias make='sudo /opt/deployer/bin/deploy.sh'" >> $${DEPLOYR_HOME}/.bashrc
235
236
236
237
chmod +x /opt/deployer/root/keyutils/add_secret.sh
237
238
echo " ## Aliases
238
- alias add-secrets='/opt/deployer/root/keyutils/add_secret.sh'" >> /root/.bashrc
239
+ alias add-secrets='/opt/deployer/root/keyutils/add_secret.sh'
240
+ alias add-stellar-key='/opt/deployer/root/keyutils/add_stellar_key.sh'" >> /root/.bashrc
239
241
240
242
# # Install solana
241
243
source " /root/.cargo/env"
242
244
243
245
export PATH=$$ {PATH}:/root/.cargo/bin
246
+ sh -c " $( curl -sSfL https://release.solana.com/v1.18.18/install) "
244
247
245
248
sudo apt-get install -y pkg-config build-essential libudev-dev libssl-dev
246
249
/root/.cargo/bin/cargo install --git https://github.com/coral-xyz/anchor avm --locked --force || true
247
- avm install 0.30.1 ||
248
- chmod 400 /tmp/user_data_log.out || true
250
+ avm install 0.30.1 || true
251
+
252
+ echo " export PATH=$$ {PATH}:/root/.local/share/solana/install/releases/1.18.18/solana-release/bin" >> /root/.bashrc
253
+
249
254
255
+
256
+ # # Install multisig
257
+ cargo install --git https://github.com/icon-project/cw-plus.git --branch feat/test-multisig cwmultisig
258
+
259
+ # # Install Stellar
260
+ wget https://github.com/stellar/stellar-cli/releases/download/v21.4.1/stellar-cli-21.4.1-x86_64-unknown-linux-gnu.tar.gz
261
+ tar -xvzf stellar-cli-21.4.1-x86_64-unknown-linux-gnu.tar.gz
262
+ mv stellar /usr/local/bin/stellar
263
+
264
+ chmod 400 /tmp/user_data_log.out || true
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ ARCHWAY_KEY=$( archwayd keys export ibc_wallet --unsafe --unarmored-hex --keyring-backend test)
4
+ SUI_KEY=$( sui keytool convert $ARCHWAY_KEY --json | grep suiprivkey | awk -F\" ' {print $4}' )
5
+ rm -rf /root/.sui/sui_config/*
6
+ sui keytool import --alias sui_wallet_testnet $SUI_KEY ed25519 > /dev/null && echo " SUCCESS" || echo " FAILED"
You can’t perform that action at this time.
0 commit comments