Skip to content

deluXtreme/redeem-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redeem-rs

A service that fetches redeemable Circles subscriptions from the SubIndexer API and redeems them on-chain via the SubscriptionModule contract on Gnosis Chain.

Configuration

Variable Required Default Description
PK Yes Private key of the redeeming wallet
API_URL No http://localhost:3030/redeemable SubIndexer redeemable endpoint

Copy .env.sample to .env and fill in your values, or export the variables directly.

Usage

cargo run

Testing

# Unit tests (no network required)
cargo test

# Integration test — redeems the first subscription from the API
cargo test test_redeem_one -- --ignored

About

Basic Rust implementaion of a payment redemption service

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors