From c82aecbc8e5ee7fe3b32627da73e309ae0545b68 Mon Sep 17 00:00:00 2001 From: Teun van Wezel Date: Wed, 25 Dec 2024 19:39:27 +0100 Subject: [PATCH] iota-move-raffle-tutorial small improvements --- content/posts/iota-move-raffle-tutorial/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/iota-move-raffle-tutorial/index.md b/content/posts/iota-move-raffle-tutorial/index.md index 4aedb95..3ea7844 100644 --- a/content/posts/iota-move-raffle-tutorial/index.md +++ b/content/posts/iota-move-raffle-tutorial/index.md @@ -259,7 +259,7 @@ Now let's see the smart contract in action! We will use the `IOTA Client PTB CLI export TICKET_PRICE_NANO=100000000 COIN_ID=0x1234 RAFFLE_DURATION_S=120 ``` -You can change these values to your liking of course. If you need a coin address, you can get the ID of all of your coins by calling `iota client gas`, just use whichever one has enough IOTA to cover the `TICKET_PRICE` (note that 1 IOTA = 1.000.000.000 nanos). +You can change these values to your liking of course. Make sure to replace the value for `COIN_ID` with a valid address - you can get the ID of all of your coins by calling `iota client gas`. Just use whichever one has enough IOTA to cover the `TICKET_PRICE` (note that 1 IOTA = 1.000.000.000 nanos). Now let's create a raffle using these variables. Creating a raffle is done as follows, with `'<0x2::iota::IOTA>'` as a type argument for the token type `T`: ```bash