Real-time, on-chain token streaming for the Sui blockchain.
Every stream is an NFT-like object that unlocks tokens over time according to
a list of segments (amount + easing exponent + duration).
Users can:
- create a stream and fund it with any Sui-compatible fungible coin;
- claim unlocked amounts at any moment;
- destroy a finished stream (gas refund on zero balance);
- (WIP) list/buy streams on an on-chain marketplace.
# Sui CLI (includes the Move compiler)
brew install sui
# or follow https://docs.sui.io/guides/developer/getting-started/sui-install
Ensure the Move tool-chain reported by Move.lock
matches your local install.
git clone https://github.com/CoinDrip-finance/sui-protocol.git
cd sui-protocol
sui move build # compiles the `coindrip` package
sui move test
sui client publish --gas-budget 100000000
Save the published package address and use it when calling entry functions
(e.g. coindrip::coindrip::create_stream
).
sources/ # Move modules
coindrip.move – core streaming logic
marketplace.move – experimental secondary-market
tests/ # comprehensive Move test-suite
Move.toml # package metadata & Sui dependency pin
Pull requests are welcome!
License GNU General Public License v3.0