@iota-pico/api

IOTA Pico Framework API

Usage no npm install needed!

<script type="module">
  import iotaPicoApi from 'https://cdn.skypack.dev/@iota-pico/api';
</script>

README

GitHub license Build Status Coveralls

IOTA Pico Framework API

Classes and interface definitions to communicate with an IOTA Node REST API.

This library is intended to be a direct one to one mapping with the IRI API.

All calls use pure DTOs and do not have any validation of the parameters.

To use this library you will also need to include one of the platform abstraction layers, depending on where you intend to use the code.

Installation

npm install @iota-pico/api --save

Platform Abstraction Layers (PALs)

Documentation

Documentation for the code can be found in docs folder.

Library

The IOTA Pico Framework is a multi-layered set of object oriented JavaScript libraries for use with the IOTA tangle.

If you don't want to use the layered versions of the libraries consider using the ready bundled versions:

Each layer is fully abstracted allowing you to replace components with your own implementations very easily.

The layered libraries are written in TypeScript so are all strongly typed. The modules are generated as ES6 so you may need to transpile them when including them for use in older JavaScript eco-systems. The code will run without transpilation in all modern browsers and when used by NodeJs.

Tutorials

Some tutorials can be found in the following repo @iota-pico/tutorials

Examples

There is example code using all the functionality of the libraries for the following platforms and languages.

Contributing

Contributions are always welcome to the project. Feel free to raise issues, create pull requests or just make suggestions.

Authors

Come and find us on the IOTA Discord development channels

Donations

IOTA donations are always welcome :smile:

pico@tngl-me

License

This project is licensed under the MIT License - see the LICENSE file for details.