Simple examples to help a developer work through interacting with the IOTA network.
🚧 Chrysalis part 2! 🚧 This repository now targets Chrysalis part 2! It will have many breaking change along the way. Please use with caution!
To start playing with these examples run the following commands:
git clone https://github.com/iota-community/rust-iota-workshop.git
cd rust-iota-workshop
https://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_info
You 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 ?