This contract will enable the on-chain market prediction app in a decentralized social way
- Attest: record an address's price prediction value on-chain
- Compare Price with Oracle
- Rewarding: distribute the rewards to the winners
- Base: 0xDDb6BDf0E5A51d772c98FA3A29bF2297c437d6bc
- Linea: 0x6213ff5c597c21bc0d5230dc001a09b998546410
- Hedera: 0x6213FF5C597c21BC0d5230DC001a09B998546410
- Arbitrum: 0x6213ff5c597c21bc0d5230dc001a09b998546410
- Front-end: run on Vercel + Warpcaster(with Frames)
- Smart Contracts: can run on any EVM Compatible blockchain
- Back-end
https://data.chain.link/feeds?categories=Crypto
- WBTC/USD:
0xCCADC697c55bbB68dc5bCdf8d3CBe83CdD4E071E
- BTC/USD:
0x7A99092816C8BD5ec8ba229e3a6E6Da1E628E1F9
- ETH/USD:
0x3c6Cd9Cc7c7a4c2Cf5a82734CD249D7D593354dA
- BTC/USD:
0x6ce185860a4963106506C203335A2910413708e9
- ETH/USD:
0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612
- Pull Contract:
0x41AB2059bAA4b73E9A3f55D30Dff27179e0eA181
- Storage Contract:
0xD02cc7a670047b6b012556A88e275c685d25e0c9
- Base WBTC:
0x1ceA84203673764244E05693e42E6Ace62bE9BA5
$ forge build
$ forge test
$ forge fmt
$ forge snapshot
$ anvil
$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>
$ cast <subcommand>
$ forge --help
$ anvil --help
$ cast --help