Skip to content

sinesiphombusi/Xitique-Onchain

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Xitique-Onchain

Xitique Web3 is a decentralized community savings contract (ROSCA model) built on Solidity.
It enables groups to contribute stable amounts in USDC, rotating payouts to members based on various mechanisms.

🧩 Features

  • πŸ’Έ Periodic contributions in USDC
  • πŸŒ€ Flexible payout selection modes:
    • Rotation (round-robin)
    • Auction (highest bidder wins)
    • DAO-style voting (1 address = 1 vote)
    • Lottery (pseudo-random selection)
  • ⏰ Late penalties and automatic member removal
  • πŸ“Š Reputation system based on participation behavior
  • πŸ—³οΈ On-chain governance with proposal creation and voting
  • πŸ… Optional NFT badge minter for proof of participation

βš™οΈ Technical Details

  • Written in Solidity ^0.8.20
  • Works with any ERC-20 token (designed for USDC)
  • Includes reentrancy guard
  • Emits detailed events for full transparency
  • Modular design for cycle logic, membership, and governance

πŸ›‘οΈ Reputation Rules

Behavior Reputation Impact
On-time contribution +1
Late contribution -2 + penalty fee
Missed contribution -5 + possible removal

πŸ” Security

  • Token transfer validation (transferFrom, transfer)
  • nonReentrant modifiers on fund-moving functions
  • Access-restricted modifiers: onlyMember, onlyCreator, etc.
  • Graceful fallback when badge minting fails

πŸš€ Getting Started

To deploy and test:

git clone https://github.com/your-username/xitique-smart-contract.git
cd xitique-smart-contract

# compile with your preferred framework (e.g. Hardhat, Foundry, Remix)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 100.0%