Socket
Socket
Sign inDemoInstall

erc6551

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

erc6551

ERC-6551 reference implementation


Version published
Weekly downloads
45
decreased by-34.78%
Maintainers
1
Weekly downloads
 
Created
Source

ERC-6551 Reference Implementation

This repository contains the reference implementation of ERC-6551.

This project is under active development and may undergo changes until ERC-6551 is finalized.

The current ERC6551Registry address is 0x000000006551c19487814612e58FE06813775758.

For the most recently deployed version of these contracts, see the v0.3.1 release. We recommend this version for any production usage.

Using as a Dependency

Foundry

If you want to use erc6551/reference as a dependency in another project, you can add it using forge install:

forge install erc6551=erc6551/reference

This will add erc6551/reference as a git submodule in your project. For more information on managing dependencies, refer to the Foundry dependencies guide.

Hardhat

npm install erc6551 @openzeppelin/contracts

and use, for example, as

import "erc6551/interfaces/IERC6551Account.sol";

Development Setup

You will need to have Foundry installed on your system. Please refer to the Foundry installation guide for detailed instructions.

To use this repository, first clone it:

git clone https://github.com/erc6551/reference.git
cd contracts

Then, install the dependencies:

forge install

Running Tests

To run the tests, use the forge test command:

forge test

For more information on writing and running tests, refer to the Foundry testing guide.

History

Version 0.3.x introduces breaking changes in IERC6551Registry.

More details about the history in the CHANGELOG.

FAQs

Package last updated on 22 Oct 2023

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