CONTRACTS
Social Engines
LikeEngine, TipEngine and TransferEngine: likes, tips and KAIA transfers.
Social interactions are handled by single-purpose, ownerless contracts. All of them are payable (they carry KAIA) and reference content by its keccak256 digest.
#LikeEngine
Address: 0x6B6c81010C124B3aA8F5342D1ed49883EBE04cde
function like(uint256 creatorIvyId, bytes32 postIdHash) payable;
- Fee: exactly
0.005 KAIAmust be sent. - Distribution: 0.004 creator · 0.00025 referrer (pool if none) · 0.00075 SharePool.
- Requires a verified account; you cannot like your own content; you cannot like the same content twice.
#TipEngine
Address: 0x098366647c8e5C07242f8787Aa4E75579D5C7551
function tip(uint256 creatorIvyId, bytes32 postIdHash) payable;
- Minimum:
0.1 KAIA. You choose the amount. - Distribution (bps): 80% creator · 5% referrer (pool if none) · 15% SharePool.
#TransferEngine
Address: 0x8f9940f951C5594Ec3a7c912DF116970707FdD3F
function transfer(address recipient) payable;
- A fixed fee of
0.01 KAIA(100% to the SharePool). The remainder goes to the recipient. value= amount to send + the 0.01 KAIA fee.
#How is postIdHash produced?
Digest the offchain post id (a UUID for example) with keccak256:
import {keccak256, toBytes} from "viem";
const postIdHash = keccak256(toBytes(postId));
Always use the same string for the same post so the digest stays consistent.
Takıldığın bir yer mi var?
Teknik destek, entegrasyon ve ortaklık için ekibe ulaş: info@ivy.live