選択できるのは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