@twin.org/dlt-iota
v0.10.0
Published
IOTA distributed ledger utilities for clients, transactions, and contract operations.
Maintainers
Readme
TWIN DLT IOTA
This package provides utilities for integrating applications with IOTA distributed ledger capabilities, including client construction, transaction submission, sponsored transaction support, and smart contract migration helpers. It is intended for services that need a reliable and repeatable approach to ledger operations without rebuilding common primitives.
Installation
npm install @twin.org/dlt-iotaDocker
To perform testing of this component it may be necessary to launch a local instance of the gas station to communicate with.
docker run -d --name twin-gas-station-test -p 6379:6379 -p 9527:9527 -p 9184:9184 -e IOTA_NODE_URL="https://api.testnet.iota.cafe" -e GAS_STATION_AUTH="qEyCL6d9BKKFl/tfDGAKeGFkhUlf7FkqiGV7Xw4JUsI=" -e GAS_STATION_KEYPAIR="..." twinfoundation/twin-gas-station-test:latestUse the following shell commands to generate the key pair:
node deploy/gas-station-test/generate-key-pair.mjsUse Gas Station Private Key (Base64) as the GAS_STATION_KEYPAIR value.
Add funds from the testnet faucet to Gas Station Address for Funding (Hex)
Examples
Usage of the APIs is shown in the examples docs/examples.md
Reference
Detailed reference documentation for the API can be found in docs/reference/index.md
Changelog
The changes between each version can be found in docs/changelog.md
