Skip to content

Commit

Permalink
GITBOOK-197: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopgalvao authored and gitbook-bot committed Oct 15, 2024
1 parent 9e13bc7 commit a434e04
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,12 @@ Let's transfer 1\_000 AWE tokens from the owner (Alice) to Bob:
pop call contract --contract 5EmcjhRR4MznE9quijW4vvNZXzhgYNWVE4BiT2M5jTxjcfdt --message PSP22::transfer --args 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty 1000 '[]' --execute
```

Let's confirm that that Bob now has 1\_000 AWE tokens:
Let's confirm that Bob now has 1\_000 AWE tokens:

```
pop call contract --contract 5EmcjhRR4MznE9quijW4vvNZXzhgYNWVE4BiT2M5jTxjcfdt --message PSP22::balance_of --args 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
```



Congrats! You have successfully used a PSP22 contract to mint a token and call its transfer message.

0 comments on commit a434e04

Please sign in to comment.