Simple examples to help a developer work through interacting with the IOTA network.
To start playing with these examples run the following commands:
git clone https://github.com/iota-community/iota-rust-workshop.git
cd iota-rust-workshophttps://www.rust-lang.org/tools/install
All examples can be run from within the root directory (rust-iota-workshop)
Run
cargo run --example [example]Example
cargo run --example 00_get_node_infoYou should receive a message including the statistics of an IOTA node. This means you can explore and run the other examples.
Here you can find all the examples:
- 00_get_node_info
cargo run --example 00_get_node_info
- 01_send_data
cargo run --example 01_send_data
- 02_fetch_data
cargo run --example 02_fetch_data
- 03_get_new_address
cargo run --example 03_get_new_address
- 04_check_balance
cargo run --example 04_check_balance
- 05_send_tokens
cargo run --example 05_send_tokens
PRs are welcome on master
-
implement 02_fetch_data
-
implement 04_check_balance
-
implement 05_send_tokens
-
write documentation 02_fetch_data
-
write documentation 04_check_balance
-
write documentation 05_send_tokens