選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
nitowa 3cc3d739af Fix broken test case 2年前
src Fix broken test case 2年前
test Fix broken test case 2年前
.drone.yml rename drone.yml to .drone.yml 2年前
.gitignore update testnet node address because it moved 2年前
LICENSE.md rebase to npm-packages, add README and LICENSE 2年前
README.md drone config and doc generation 2年前
package-lock.json Fix broken test case 2年前
package.json drone config and doc generation 2年前
tsconfig.json update testnet node address because it moved 2年前

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