Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
nitowa 898cad5f55 drone config and doc generation 2 лет назад
src rebase to npm-packages, add README and LICENSE 2 лет назад
test drone config and doc generation 2 лет назад
.gitignore update testnet node address because it moved 3 лет назад
LICENSE.md rebase to npm-packages, add README and LICENSE 2 лет назад
README.md drone config and doc generation 2 лет назад
drone.yml drone config and doc generation 2 лет назад
getTestnetWallet.js update testnet node address because it moved 3 лет назад
package-lock.json rebase to npm-packages, add README and LICENSE 2 лет назад
package.json drone config and doc generation 2 лет назад
tsconfig.json update testnet node address because it moved 3 лет назад

README.md

Overview

Build Status Current Version Weekly Downloads License Type

xrpio is a library that allows you to write and read arbitrary data in the ripple blockchain.

How to install

npm i xrpio

Quickstart

import {treeRead, treeWrite} from 'xrpio'

const api = new RippleAPI({ server: "..." }) 
await api.connect()

const dataRootHash = await treeWrite(
    api, 
    "Arbitrary string data 123", 
    { 
        address: "Sender address", 
        secret: "Sender private key"
    }, 
    "Receiver address"
)

const data = await treeRead(api, [dataRootHash])
console.log(data) //"Arbitrary string data 123"

Full documentation