Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
nitowa 6540060942 remove readme.md 3 gadus atpakaļ
src rebase to npm-packages, add README and LICENSE 3 gadus atpakaļ
test update testnet node address because it moved 3 gadus atpakaļ
.gitignore update testnet node address because it moved 3 gadus atpakaļ
LICENSE.md rebase to npm-packages, add README and LICENSE 3 gadus atpakaļ
README.md rebase to npm-packages, add README and LICENSE 3 gadus atpakaļ
getTestnetWallet.js update testnet node address because it moved 3 gadus atpakaļ
package-lock.json rebase to npm-packages, add README and LICENSE 3 gadus atpakaļ
package.json rebase to npm-packages, add README and LICENSE 3 gadus atpakaļ
tsconfig.json update testnet node address because it moved 3 gadus atpakaļ

README.md

Overview

Build Status Current Version Weekly Downloads License Type

xrpio is a library that allows you to write and read arbitrary data to 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