Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
nitowa b78a1ca6bc fix exporting and doc generation missing types 2 anos atrás
src fix exporting and doc generation missing types 2 anos atrás
test fix exporting and doc generation missing types 2 anos atrás
.drone.yml npm access token 2 anos atrás
.gitignore fix doc generation 2 anos atrás
LICENSE.md rebase to npm-packages, add README and LICENSE 2 anos atrás
README.md drone config and doc generation 2 anos atrás
package-lock.json fix exporting and doc generation missing types 2 anos atrás
package.json fix exporting and doc generation missing types 2 anos atrás
tsconfig.json update testnet node address because it moved 3 anos atrás

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