Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ensdomains/contracts

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ensdomains/contracts

Collection of varios smart contracts"

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
425
decreased by-13.09%
Maintainers
4
Weekly downloads
 
Created
Source

Contracts

List of compiled ENS smart contracts

How to install

npm install --save '@ensdomains/contracts'

How to use

import { abi as ensContract } from 'ensdomain-contracts/abis/ens/ENS.json'
import { abi as reverseRegistrarContract } from 'ensdomain-contracts/abis/ens/ReverseRegistrar.json'
import { abi as oldResolverContract } from 'ensdomain-contracts/abis/ens-022/PublicResolver.json'
import { abi as resolverContract } from 'ensdomain-contracts/abis/resolver/Resolver.json'
import { abi as testRegistrarContract } from 'ensdomain-contracts/abis/ens/TestRegistrar.json'
import { abi as dnsRegistrarContract } from 'ensdomain-contracts/abis/dnsregistrar/DNSRegistrar.json'
import { abi as legacyAuctionRegistrarContract } from 'ensdomain-contracts/abis/ens/HashRegistrar'
import { abi as deedContract } from 'ensdomain-contracts/abis/ens/Deed'
import { abi as permanentRegistrarContract } from 'ensdomain-contracts/abis/ethregistrar/BaseRegistrarImplementation'
import { abi as permanentRegistrarControllerContract } from 'ensdomain-contracts/abis/ethregistrar/ETHRegistrarController'
import { abi as bulkRenewalContract } from 'ensdomain-contracts/abis/ethregistrar/BulkRenewal'

How to add new contract

  1. yarn add --dev PACKAGENAME
  2. Add the package into copy.rb
  3. Run yearn pub which runs copy.rb and publish the repo

FAQs

Package last updated on 08 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc