You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nitowa 6540060942 remove readme.md 2 jaren geleden
src rebase to npm-packages, add README and LICENSE 2 jaren geleden
test update testnet node address because it moved 3 jaren geleden
.gitignore update testnet node address because it moved 3 jaren geleden
LICENSE.md rebase to npm-packages, add README and LICENSE 2 jaren geleden
README.md rebase to npm-packages, add README and LICENSE 2 jaren geleden
getTestnetWallet.js update testnet node address because it moved 3 jaren geleden
package-lock.json rebase to npm-packages, add README and LICENSE 2 jaren geleden
package.json rebase to npm-packages, add README and LICENSE 2 jaren geleden
tsconfig.json update testnet node address because it moved 3 jaren geleden

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