echo ">> Test 1: Storage deposit"
near call $FT_CONTRACT_NAME storage_deposit '{"account_id": "'$SOME_CONTRACT_NAME'", "registration_only": true}' --accountId $USER_NAME --amount 0.1
echo ">> Test 2: FT transfer call"
near call $FT_CONTRACT_NAME ft_transfer_call '{"receiver_id": "'$SOME_CONTRACT_NAME'", "amount": "10", "msg": "{\"kind\":0}"}' --depositYocto 1 --accountId $USER_NAME --gas 40000000000000
Created
January 2, 2023 03:45
-
-
Save tinwritescode/ff0ce60b8aba818164e9d6a1176e5033 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment