Custom cryptocurrency and DeFi smart contracts on the Sui blockchain, written in Move.
A collection of Move modules exploring token creation, smart contract interaction, DeFi lending pools, and proof-of-work concepts on the Sui network.
Basic coin implementation with mint, burn, and transfer operations.
Extends the base coin with contract deployment and invocation capabilities.
DeFi application with a lending pool supporting deposits, withdrawals, and borrowing with basic validation.
| Function | Description |
|---|---|
init_simple_defi() |
Initialize DeFi application |
deposit() / withdraw() |
User fund management |
init_lending_pool() |
Create lending pool |
deposit_to_lending_pool() |
Deposit to pool |
withdraw_from_lending_pool() |
Withdraw with validation |
Block structure with headers, transactions, and proof-of-work generation/verification.
- Language: Move
- Blockchain: Sui Network
- Libraries: Sui stdlib (
coin,tx_context)
src/
mycoin.move # Base token (mint, burn, transfer)
extends.move # + contract deploy/invoke
simple_defi.move # DeFi lending pool
various_features.move # Proof-of-work blocks
MIT License - see LICENSE for details.