An interface for EIP-5639: Delegation Registry, with source code available at 0xfoobar/token-delegation,
Built with svelte-kit, ethers and svelte-ethers-store.
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
- Clone the project with submodules
git clone --recurse-submodules git@github.com:0xfoobar/delegate-cash-frontend.git
- Install nix
- Enable flake support
- Run
nix develop
, this will install all npm deps and compile the contracts - (optional) install direnv and run
echo "use flake > .envrc
to automatically load all deps when entering the folder - 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 - On a separate terminal enter
./deploy-contracts.sh
to deploy the contracts to a local fork - Run
npm run dev
to start a frontend dev server
Initial version by 0xnook
Illustrations 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.