A decentralized merchant payment and settlement smart contract deployed on Kii Chain testnet.
KiiPay is a merchant-oriented payment infrastructure smart contract built for the Kii Chain ecosystem.
The contract allows merchants to register themselves, receive onchain payments from users, manage balances securely, and withdraw earnings transparently through a decentralized settlement mechanism.
- Merchant registration system
- Onchain merchant payment processing
- Secure balance management
- Merchant withdrawal functionality
- Platform fee mechanism
- Event-based transaction transparency
- Owner-controlled fee management
- Merchant registers on the platform
- Users send payments to registered merchants
- Contract securely stores merchant balances
- Platform fee is automatically deducted
- Merchants withdraw their earnings anytime
registerMerchant()withdraw()
payMerchant()
updatePlatformFee()withdrawPlatformFees()
getMerchant()getContractBalance()
- Solidity ^0.8.20
- Remix IDE
- Kii Chain Testnet
0x892CD52Dd6b8DB48c8c78363D73FdA48D337e74a
The following contract functionalities were successfully tested on Kii Chain testnet:
- Merchant registration
- Merchant payment processing
- Merchant balance tracking
- Merchant withdrawal system
- Platform fee handling
- State validation and access control
- Multi-merchant analytics dashboard
- Stablecoin payment support
- Recurring subscription payments
- Merchant reputation system
- Frontend dashboard integration
- Transaction history indexing
MIT