⭐ Developed / Developing by Generation Foundation
- (OTC Constructor) Create
- Approve
- Deposit (Complete → Distribution when the last user deposits)
- Cancel (Refund)
Let the user press the minimum number of buttons by combining the actions the user actually takes.
- Create OTC
- Deposit (Approve + Deposit)
- Coin, Token (ERC20 Token, Native Coin (ETH, GEN, MATIC, etc...))
- NFTs
- File Path (IPFS URL): Document, photo, video, text, etc.
- Only one OTC speech bubble can be left open between users A and B.
- When OTC is open between users A and B, A and C can open a speech bubble.
- It has to work on top of the Ethereum network. (How to present the Ethereum network in a nice UI in a wallet?)
- Generate UID by combining 0xAAA + 0xBBB in escrow array
- If the UID is in use, cancellation is required. (no time limit)
- If one of the two cancels, both tokens are refunded to the original user.
- When the creator creates OTC, the token set by the creator can be deposited.
- When you press the Deposit button, it is divided into two steps and executed... All of the approve and deposit below must be executed with one action.
- The first step is the approve step
- The second step is running deposit
- When both tokens and quantity specified by the creator are deposited, both tokens are transferred to the other party. When the last deposit quantity and tokens are confirmed, they are automatically distributed.
- Receive 0.3% commission from both parties. (Pile up in Escrow contract and enable Withdraw)
- Record the history.
- The app uploads the file to IPFS, registers the received ipfs url (the hash value starting with Q is important) to the 3 seconds club server, and receives a unique file ID.
- Register a unique file ID in the OTC file transaction contract. When transacting files, you must first upload the file id to the opened OTC, and you can check the authenticity of the file on the 3 seconds club server to see if the file is uploaded to the file id.
- When the transaction is completed, the person who purchased the file can execute the transaction completion api on the server to receive the actual file url path (the server confirms whether the transaction has been completed at this point and delivers the actual url to the contract). At the time of transaction completion, the file seller will receive tokens.