erc6551 v0.3.1
ERC-6551 Reference Implementation
This repository contains an npm package that provides the reference implementation of ERC-6551. It is forked from https://github.com/erc6551/reference.
This project is under active development and may undergo changes until ERC-6551 is finalized. For the most recently deployed version of these contracts, see the v0.2.0 release. We recommend this version for any production usage.
Using as a Dependency
If you want to use erc6551/reference
as a dependency in another project, you can add it using forge install
:
npm install erc6551
and use as
import "erc6551/interfaces/IERC6551Account.sol";
Development Setup - original implementation
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.
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago