Skip to content

sprinklelabs/sprinkle-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprinkle Contracts

Smart contracts powering the Sprinkle platform, deployed on Robinhood Chain (Chain ID 4663).

Contracts

SprinkleCredits (cSPRINK)

ERC-20 credit token used for on-chain billing. Users purchase credits and the platform deducts them per API call.

SprinkleDataRegistry

On-chain registry that anchors keccak256 hashes of messages, files, and tasks. Content stays in the private database; the hash on-chain is the immutable proof of existence.

Chain

Property Value
Chain ID 4663
RPC https://rpc.mainnet.chain.robinhood.com
Explorer https://robinhoodchain.blockscout.com

Compiler

Property Value
Solidity 0.8.36+commit.8a079791
EVM Version cancun
Optimizer disabled

Deploying

export DEPLOYER_PRIVATE_KEY=0x...
export BACKEND_SIGNER_KEY=0x...
export TREASURY_ADDRESS=0x...
npx tsx scripts/deploy.ts

License

MIT

About

Sprinkle smart contracts — SprinkleCredits, SprinkleDataRegistry, SprinklePayments

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages