Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.04 KB

Recoverable Wrapper Tokens

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.

Development and contribution

Install dependencies

  • 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.

Install foundry

  • Run curl -L https://foundry.paradigm.xyz | bash
  • Follow the instructions of that command to source env file
  • run foundryup

Test

forge test

Lint

  • Run yarn lint to lint all .sol files.