@rsksmart/rns-registry

1.0.4 • Public • Published

logo

rns-registry

RNS Registry

CircleCI npm docs specs

npm i @rsksmart/rns-registry

Deployments:

Usage

pragma solidity ^0.5.0;

import "@rsksmart/rns-registry/contracts/AbstractRNS.sol";

contract Registrar {
  AbstractRNS rns;

  constructor(AbstractRNS _rns) public {
    rns = _rns;
  }
}
const Web3 = require('web3');
const RNSRegistryData = require('@rsksmart/rns-registry/RNSRegistryData.json');

const web3 = new Web3('https://public-node.rsk.co')
const RNSRegistry = new web3.eth.Contract(RNSRegistryData.abi, RNSRegistryData.address.rskMainnet);

Readme

Keywords

Package Sidebar

Install

npm i @rsksmart/rns-registry

Weekly Downloads

8

Version

1.0.4

License

ISC

Unpacked Size

15.7 kB

Total Files

5

Last publish

Collaborators

  • icalisalvo-iovlabs
  • jessgusclark