Skip to main content

Setting Up Your Project

First, given this example and most quickstart documentation will be relying on Forge, make sure you have the latest version of forge installed.
Now that you have forge installed, create and navigate to a new directory for your ERC404 project and install ERC404.

Creating Your ERC404

An example contract that inherits ERC404 has been provided below. This is just a minimal implementation for quick setup.
ExampleERC404.sol
That’s it, your all set up with your first ERC404 contract!

Deploying

To deploy, we’ll again use our current project and set up a simple script, provided below.
Now, you’ll need to run the script through the following command, having defined the deployer private key and rpc endpoint in your local environment.