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 --recursiveto update/download all libraries. - Run
nvm use 16to use node 16. - Run
yarn installto 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 lintto lint all .sol files.