Developed by Circle Research, the recoverable wrapper token (RWT) is a configurable mechanism for wrapping around ERC-20 tokens to support asset recovery within a limited time window after an asset transfer. For more information, see the whitepaper.
This repo contains an audited implementation (configuration 1) of recoverable wrapper tokens.
- Run
git submodule update --init --recursive
to update/download all libraries. - Run
nvm use 16
to use node 16. - Run
yarn install
to install any additional dependencies.
- Run
curl -L https://foundry.paradigm.xyz | bash
- Follow the instructions of that command to source env file
- run
foundryup
forge test
- Run
yarn lint
to lint all .sol files.