-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.sh
executable file
·13 lines (13 loc) · 1 KB
/
env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
address=01
netId=1
clinft="49ede37d91ab5d7ed35b976b248cbbf00f8eec469210b911c241c7f1.4c6f636b4e4654"
utilToken="be45231b73e5afb3969ec6239df226876cbb8edf835ce9849e497bec.57697a617264546f6b656e"
nftToken=$(echo -n "LockNFT" | xxd -ps | tr -d '\n')
utilityToken=$(echo -n "WizardToken" | xxd -ps | tr -d '\n')
nftPolicy="cardano-cli transaction policyid --script-file nft-mint-V2.plutus"
socketPath="export CARDANO_NODE_SOCKET_PATH=~/Cardano/cardano-testnet/db-preprod/node.socket"
genKeys="cardano-cli address key-gen --verification-key-file test-addresses/$address.vkey --signing-key-file test-addresses/$address.skey"
querynet="cardano-cli query tip --testnet-magic $netId"
buildAddr="cardano-cli address build --payment-verification-key-file test-addresses/$address.vkey --testnet-magic $netId --out-file test-addresses/$address.addr"
queryUtxo="cardano-cli query utxo --address $(cat test-addresses/$address.addr) --testnet-magic $netId"
queryScript="cardano-cli query utxo --address $(cat lock-v2.addr) --testnet-magic $netId"