kaiachain / kaia-dapp-mono

MIT License
8 stars 23 forks source link

Proposal: build an escrow system for Kaia #146

Open Emmanueltech opened 1 month ago

Emmanueltech commented 1 month ago

Description

Bounty track

zxstim commented 1 month ago

Sure. You can take a crack at this.

But give me a rough description on how you would escrow in the case of on/off ramp.

Emmanueltech commented 1 month ago

When a user (seller) wants to exchange Kaia for fiat, they deposit the Kaia into an escrow wallet generated by the platform, and the person (buyer) who wants to exchange fiat for Kaia sends their fiat to the escrow. Once both deposits are verified, the escrow releases the Kaia to the buyer.

zxstim commented 1 month ago

are you acting as middle man or it's a smart contract?

Emmanueltech commented 1 month ago

A smart contract

zxstim commented 1 month ago

How do you verify the offchain transfers?

Emmanueltech commented 1 month ago

I'm not sure yet, I intend to research that if this proposal gets approved.

zxstim commented 1 month ago

Hmm... I will give you the solution https://zkp2p.xyz/

In short, implement ZK to verify the email sent by the bank/fintech after transfer then submit the proof to the escrow smart contract to release the crypto.

zxstim commented 1 month ago

anyway, let me know if you want to proceed and I will approve

Emmanueltech commented 1 month ago

I appreciate the link, yes we can proceed.

zxstim commented 1 month ago

OK approved.

Emmanueltech commented 1 week ago

The application is live on the Kaia Testnet (Baobab), so you must configure your MetaMask wallet to interact with it. I’ve integrated ChatGPT functionality to read PDF documents and convert escrow agreements into smart contracts, allowing seamless execution on the Kaia Ledger. This integration simplifies the process of creating cryptocurrency-based escrows. I've developed a 2-of-3 multi-signature escrow process, which requires two out of three authorized parties to sign off for the escrow to complete (Creator, Receiver, and Arbitrator). This Currency conversion is managed by fetching the latest KLAY-to-FIAT rate from crypto.com to calculate and convert the corresponding amount into KLAY.

Live Deployment: Kaia Escrow (There is a contract sample to test with) Contract Deployment : Kaia Scan Repository: https://github.com/Emmanueltech/Easy-Escrow-Kaia

Next Steps:

Emmanueltech commented 1 week ago

@zxstim Hey you probably missed this.

Emmanueltech commented 3 days ago

@zxstim it's the an escrow system for trading Kaia, securely holding assets until both buyer and seller fulfill their obligations, while also serving as an onramp and offramp for Kaia by allowing users to convert fiat currency to Kaia and vice versa (providing an easy way to acquire Kaia from other users

Emmanueltech commented 2 days ago

@zxstim hey bud

Emmanueltech commented 1 day ago

@zxstim pinging you here again bud

zxstim commented 1 day ago

Disqualified due to spamming

Regarding the feedback I planned to give after consideration: