-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtransfer.sh
16 lines (13 loc) · 866 Bytes
/
transfer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
APPNAME="token_14488"
PRIVATEKEY="APrivateKey1zkpHwZrTAHoN2faWFu2rxALtB2W2A252cE1bhEPXHTbXzzA"
RECORD="{
owner: aleo1c55rzshzjm6xqdaz3xqsd6fj2ysqkhdl8y6xsn29a48vyvgzj58qrg6pwd.private,
balance: 100u32.private,
_nonce: 6078705006041847091314745908254701368890593599208630138779354117407843960967group.public
}"
RECORD_FEE="{
owner: aleo1c55rzshzjm6xqdaz3xqsd6fj2ysqkhdl8y6xsn29a48vyvgzj58qrg6pwd.private,
microcredits: 95329696u64.private,
_nonce: 1651644717769509739489059217002418707717751241393400439399336449981599681299group.public
}"
snarkos developer execute "${APPNAME}.aleo" "transfer" "aleo1s0qvgugfz7jy5ndphkmnl5l7fmhnpgf49at3zydqyyhztuwjt58sr4prv9" "10u32" "${RECORD}" --private-key "${PRIVATEKEY}" --query "https://vm.aleo.org/api" --broadcast "https://vm.aleo.org/api/testnet3/transaction/broadcast" --fee 1000000 --record "${RECORD_FEE}"