Neologistic Paraphasic Mumbling
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@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);

Keywords

Install

npm i @rsksmart/rns-registry

DownloadsWeekly Downloads

315

Version

1.0.4

License

ISC

Unpacked Size

15.7 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar