The IOTA Developer Lab is a side-project of the project IOTA Developer Essentials:
The following dev stacks are directly or indirectly supported at the moment:
All standalone code snippets are also maintained @ GitHub Gist. It enables you to fork them, comment them, share them, embed them and track all changes to them. See the action panel next to each code snippet.
Copies of the Jupyter notebooks are hosted on the Microsoft Azure Notebooks:
It is recommended that you use the notebooks via the above link if you would like to have an interactive experience. For the best experience, 'clone' the library to use the notebooks in the interactive mode. It is a ready-made Python environment including all IOTA-facing libraries. All snippets are tested with it.
Needless to say, we are trying to find some IOTA supporters that would help us in getting a dedicated non-managed virtual machine for the public use.
The following table indicates what is the language-wise coverage across all snippets described in IOTA Developer Essentials and IOTA Developer Lab. If the given snippet is available then you can jump directly to it.
Standalone column indicates whether the given code snippet can be used standalone or whether it is just a fragment of a broader code block.
Info for contributors: There is an unique ID shown at each snippet. It is the code id that is unique across the whole code base and uniquely identifies the given snippet.
|Conversion: trytes and trits #3BB8C879CCAE||Yes||Yes|
|Basic node interaction: API call Get_node_info() #696A395DC61B||Yes||Yes|
|Generating a seed: a general approach #67D98D069B61||Yes||Yes|
|Generating a seed: IOTA-facing-library-based approach #65788F1C3FCB||Yes||N/A|
|Generating IOTA addresses from a seed: API call Get_new_addresses() #0FF479CB6C0A||Yes||Yes|
|Generating IOTA addresses from a seed (#2) #2508A6FF9241||Yes||Yes|
|IOTA address and checksum #39B011574CF0||Yes||Yes|
|Validating IOTA address #C65223B0864A||Yes||Yes|
|Preparing IOTA transactions to be broadcasted #445C2B9485C6||Yes||Yes|
|Preparing IOTA bundle to be broadcasted #C4C3A3808862||Yes||Yes|
|Getting IOTA bundle as trytes #B4FE2962FB5C||Yes||Yes|
|Selecting tips to be confirmed: API call Get_transactions_to_approve() #20F0C730001B||Yes||Yes|
|Performing POW: API call Attach_to_tangle() #1DFBE208CD1D||Yes||Yes|
|Preview of IOTA bundle and its transactions #8817C6010CDD||Yes||Yes|
|Broadcasting IOTA bundle: API call Broadcast_and_store() #CD0C67713BF9||Yes||Yes|
|Sending IOTA transaction in a single call: API call Send_transfer() #00663E550ADF||Yes||Yes|
|Sending IOTA transaction in more granular way: API calls Prepare_transfer() and Send_transfer() #07CFD43B146C||Yes||Yes|
|Preparing variables for spending IOTA tokens #F0DD441072CC||Yes||Yes|
|Checking total IOTA balance: API call Get_account_data() #0847FCD36DFF||Yes||Yes|
|Searching for unused IOTA address: API call Get_new_addresses() #6CD1F81E2588||Yes||Yes|
|Checking IOTA balance: API call Get_balances() #5036ABE14324||Yes||Yes|
|Send value IOTA transaction: API call Send_transfer() #6195D3132B6B||Yes||Yes|
The project is developed and maintained by Petr Zizka (email@example.com). Feel free to follow me at Twitter or IOTA Discord Channel (@hribek25#2683). (New to Discord? Invitation link: https://discord.gg/fNGZXvh)
Disclaimer: I am not associated with the IOTA foundation. I am IOTA supporter.
The IOTA Developer Essentials and IOTA Developer Lab are long-term projects. The main goal is to provide a comprehensive onboarding information to anybody interested in the IOTA protocol. It will cover much more chapters, more code snippets and it will also cover more languages. There is a roadmap available. Your kind donations will support the vision pushing forward. Thank you.
Donations (IOTA): DSZRO9TCIJIKZOKUPVNOJFKVAHFCKL9YMLPVZUAEVZPOFXLIUWLPRQWBMVVSFTKGMGPPHXCYE9MIZEVBXQNFYKYUA9