Skip to content

statechannels/SAFE-protocol

Repository files navigation

Secure Asymmetric Frugal Exchange protocol (SAFE)

This is a prototype of the SAFE protocol. The protocol allows for secure, trustless fund transfers between chains. The protocol is particularly cost efficient when the gas fees for one chain are meaningfully different (cheaper or more expensive) than another chain. For example, SAFE is useful for transferring tokens from an optimistic rollup to Ethereum mainnet without waiting for the rollup finalization delay.

The protocol is described in detail in the SAFE paper.

Getting started

This project uses yarn version 3. You can install yarn version 3 by following these instructions from the parent folder of this repository. ⚠️This will cause all child folders of the parent directory to use yarn version 3.⚠️

Commands

  • yarn to install dependencies.
  • yarn test to run tests.

About

Low-cost and fast L2 to L1 token withdrawal

Resources

Stars

10 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors