Paytocol

Paytocol is an intent based cross-chain streaming payment protocol

Paytocol

Created At

ETHGlobal Taipei

Project Description

We want to have a reliable streaming payment system to support people who create good content or contribute to open-source projects. More importantly, you can cancel your subscription at any time if you find the creator's performance is not good enough, or for personal reasons. The funds are secured in the contract, and it also deposited into a Vault to earn the reward.. The reward is used to support the intent system to serve all the users.

How it's Made

By leveraging Circle's CCTP v2, users can deposit tokens by interacting with the Paytocol contract, and then execute a cross-chain function to deposit into the Base Paytocol contract. Thanks to the CCTP v2 Hook, if the Paytocol solver observes that an order has been created, it can deposit a bond into the contract to secure the right of later settlement. (bond design doesn't implement in the hackathon)

The winner of the Paytocol solver will execute the deposit function to move the funds from the Paytocol contract to Base's Morpho vault to earn the reward.

Since it is a recurring payment system, the solver will execute the payment later, and the first winner has the right to execute the rest of the upcoming settlements in the same order.

When a payment is settled, the solver can earn 10% of the reward.

background image mobile

Join the mailing list

Get the latest news and updates