Skip to content

circlefin/refund-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refund Protocol

A protocol for handling refunds and chargebacks in a non-custodial manner. This protocol introduces an arbiter system that can mediate disputes between payment senders and receivers, providing a better user experience to stablecoin payments while still allowing receivers to retain control over their funds.

Security Notice

We have discovered an issue resulting from the early witdrawal function that allows an arbiter to drain other user's payments. A fix is in development.

Setup

Prerequisites

  1. Install Foundry:
curl -L https://foundry.paradigm.xyz | bash
foundryup
  1. Initialize submodules:
git submodule update --init --recursive

Development

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details. It has not been audited, comes with no guarantees, and is provided as is. Use at your own risk.

About

Refund Protocol: a smart contract for stablecoin payment disputes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors