← Back to home

starksplitter

OpenZeppelin payment splitter implemented in Cairo with a react frontend

Screenshots

starksplitter screenshot 1
starksplitter screenshot 2
starksplitter screenshot 3

Problem Statement

This project is an implementation of OpenZeppelin payment splitter contract in Cairo.This contract allows to split ERC20 payments among a group of accounts. The sender does not need to be aware that the ERC20 will be split in this way, since it is handled transparently by the contract.The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each account to a number of shares.Of all the ERC20 that this contract receives, each account will then be able to claim an amount proportional to the percentage of total shares they were assigned.

Solution

This project use scarb 0.5.1 for Cairo compilation & tests. Web frontend is build with starknet-react with typescript. The flutter application was added to work on XMTP usage with StarkNet account.React frontend allow to deploy an already declared payment splitter contract. Retrieving the deployed contractI'm using starknet Cairo technology and

Hackathon

ETHGlobal Paris

2024

Prizes

  • 🏆

    🥈 Starknet — Best Use

Contributors