@roninbuilders/rns
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published
pnpm add @roninbuilders/rns

You can call the functions directly

import { getName, getAddr } from '@roninbuilders/rns'

const myRNS = await getName('MY_RONIN_ADDRESS')

const myAddress = await getAddr(myRNS)

Or instantiate an object with a fixed RPC url:

import { initRNS } from '@roninbuilders/rns'

const RPCUrl = '...'
const rns = initRNS(RPCUrl)

const myAddress = await rns.getAddr('myRNS.ron')

const myRNS = await rns.getName(myAddress)

Package Sidebar

Install

npm i @roninbuilders/rns

Weekly Downloads

7

Version

0.0.11

License

MIT

Unpacked Size

11 kB

Total Files

5

Last publish

Collaborators

  • izayl
  • alexx855
  • glitch-txs