Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
nitowa 29e48f1403 SLL no verify 2 роки тому
src Fix broken test case 2 роки тому
test Fix broken test case 2 роки тому
.drone.yml SLL no verify 2 роки тому
.gitignore fix doc generation 2 роки тому
LICENSE.md rebase to npm-packages, add README and LICENSE 2 роки тому
README.md drone config and doc generation 2 роки тому
package-lock.json fix doc generation 2 роки тому
package.json fix 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