Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.79 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.79 KB

token-delegation-interface

An interface for EIP-5636: Delegation Registry, with source code available at 0xfoobar/token-delegation,

Built with svelte-kit, ethers and svelte-ethers-store.

Quick start

A nix dev environment with all the needed dependencies for running the frontend and compiling the contracts, and running an evm local chain is included for convenience

  1. Clone the project with submodules git clone --recurse-submodules [email protected]:0xnook/token-delegation-interface.git
  2. Install nix
  3. Enable flake support
  4. Run nix develop, this will install all npm deps and compile the contracts
  5. (optional) install direnv and run echo "use flake > .envrc to automatically load all deps when entering the folder
  6. On a new terminal enter anvil --chain-id 1337 to run an ethereum local node, copy one of the private keys and import to metamask to be able to sign transactions
  7. On a separate terminal enter ./deploy-contracts.sh to deploy the contracts to a local fork
  8. Run npm run dev to start a frontend dev server

Credits

Illustrations made by denkishi

UI components table, floating label inputs, theme toggler and hammer loader, where taken and adapted from individual codepen authors.

Design inspired by a beloved swedish furniture manufacturer.