adachijioke.shefi.eth💥
@Ada_CeeJay
Followers
52
Following
259
Media
10
Statuses
208
Joined November 2022
Just completed Stage 0 of the @hnginternship Data Analytics Track 🎯 Analyzed the Video Game Sales Dataset using Google Sheets — explored genres, platforms, and publishers leading global sales. #DataAnalytics #Excel #HNGInternship
0
0
0
Proud to be part of the Hedera Africa Hackathon 2025, a $2M initiative empowering innovators across the continent to build on @Hedera_Hacks
@The Hashgraph Association @Hedera @DAR Blockchain #HederaHackathon #Web3 #AfricaTech #Innovation
0
0
0
This contract is intentionally minimal: no oracle yet, no fees. But it’s a solid foundation for extending into a real prediction market. @BasedRogers
#StacksAscent #ForecastBTC #Clarity
0
0
1
Protections: Minimum stake enforced. No duplicate predictions per round. Claimed flag prevents double withdrawals. Owner-only for round management.
0
0
0
Reward logic: Each winner’s payout = (user stake / total winning side stake) * total prize pool This ensures proportional fairness.
0
0
0
⚙️ Lifecycle functions create-round: owner starts a new round. predict: users stake STX on Up/Down. close-round: owner stops new predictions. resolve-round: owner sets the outcome. claim-reward: winners withdraw their share.
0
0
0
Storage rounds: tracks each round’s state, totals, and outcome. predictions: tracks each user’s bet, stake, and claim status. current-round-id: keeps count of rounds.
0
0
0
Let’s walk through the #ForecastBTC Clarity contract I built 👇 https://t.co/enBlKu83Us
5
0
0
@BasedRogers It’s minimal by design: no oracle yet, no fees, just the core loop. That makes it easy to understand and extend later. Check it out: 👇👇👇 https://t.co/enBlKu83Us
@BasedRogers
github.com
Contribute to adachijioke/ForecastBTC-1 development by creating an account on GitHub.
0
0
0
@BasedRogers How it works: Users place predictions + stake STX Round closes Outcome is set Winners claim their share
0
0
0
@BasedRogers Why? I wanted to practice writing transparent, on‑chain logic. Prediction markets are a great way to learn how to handle stakes, payouts, and state transitions.
0
0
0
I just shipped ForecastBTC; A small Clarity contract on #StacksAscent. You stake STX to predict if BTC goes up 📈 or down 📉. Winners share the prize pool. @BasedRogers
#Stacks #Clarity #Web3 #StacksAscentProgram
3
0
1
I built a wallet lookup feature for the Mini Block Explorer. You can type in any Stacks address and instantly see balances and transactions, no wallet connection needed. #StacksAscent #LearnWeb3
0
0
0
LW3 made me realize: 1. Always be explicit about which context you’re checking. 2. Test with Clarinet to simulate user → contract → contract flows. It’s a small nuance that prevents big headaches later. #StacksAscent #LearnWeb3 #ClarityLang
0
0
0
Safer: use contract-caller when you only want direct calls, and document when you intentionally allow tx-sender. (asserts! (is-eq contract-caller contract-owner) (err u100))
0
0
0
Example mistake: (define-public (admin-only) (begin (asserts! (is-eq tx-sender contract-owner) (err u100)) (ok true) ) ) This lets weird call patterns bypass your checks.
0
0
0
Here’s the deal: tx-sender = the original transaction sender (user or contract). contract-caller = the immediate caller of your function. Mixing them up leads to bugs, especially in multi-contract flows.
0
0
0
One thing I picked up from the @LearnWeb3IO course: Don’t blindly use tx-sender in your Clarity contracts. It looks simple… but it can break your access control if you don’t understand it.
4
0
0
I'm working on ForecastBTC: a global Bitcoin-backed prediction market on Stacks. Stake sBTC, pick outcomes, trustless payouts via Clarity. Clean UX + analytics; Leather/Xverse planned. Building in public—follow for updates. 👀 👀 #StacksAscent #BuildOnBitcoin #ClarityLang
1
0
0
I’m Adachukwu, from Health Info Mgmt to AI to Web starting my journey with the @Stacks Ascent program. Now diving into Bitcoin-secured smart contracts with Clarity....I’ll share what I’m building, learning, and struggling with. #Stacks #Web3 #BuildOnBitcoin
1
0
3