updated crank to use devnet url

This commit is contained in:
dd 2021-04-05 11:38:10 -04:00
parent ac3327dab7
commit b9473d67b3
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
source ~/mango-client-ts/devnet.env
source ~/mango/cli/devnet.env
solana config set --url https://devnet.solana.com
DEX_PROGRAM_ID=$(cat $IDS_PATH | jq .devnet.dex_program_id -r)
@ -35,6 +36,7 @@ elif [ $MARKET_STR = "ETH/WUSDT" ]; then
else
echo "invalid args"
fi
solana config set --url https://api.mainnet-beta.solana.com
pushd ~/blockworks-foundation/serum-dex/dex/crank || exit