D3
Duty3

Frequently Asked Questions

Everything you need to know about Duty3 — on-chain crypto raffles, fairness, fees, and AI agents.

Is Duty3 provably fair?

Yes. Winner selection uses Chainlink VRF — a cryptographically verifiable random function. The winning ticket ID is determined by a random number that no one (not even Chainlink) can predict or manipulate before it is published on-chain. Anyone can verify the proof on Arbiscan.

Can the creator rug-pull the prize?

No. The prize is transferred from the creator's wallet into the vault contract at the moment of creation. The creator cannot withdraw it. Funds are only released when VRF selects a winner (to the winner) or when a refund is triggered (back to all participants). The vault contract is immutable.

What if all tickets don't sell before the deadline?

If at least one ticket was sold, the creator must call enableRefund() to move the vault to REFUND state. Once in REFUND state, every participant can claim back 100% of what they spent. The prize is also returned to the creator. If the creator does not act, participants should contact them directly — the creator's address is visible on the raffle page and on Arbiscan.

How do I claim a refund?

Open the raffle page. If the raffle is in REFUND state and you hold tickets, a 'Claim Refund' button will appear in the sidebar. Click it to receive 100% of your ticket spend back. If you see 'Raffle Ended — Refund Pending', the deadline has passed but the creator has not yet triggered the refund — you must wait for the creator to call enableRefund().

How do I receive my winnings?

Automatically. The moment Chainlink VRF fulfills the draw, the vault contract transfers the prize directly to the winner's wallet. There is no claim transaction required. NFT prizes are also transferred automatically via the ERC-721 safeTransferFrom standard.

What are the fees?

A platform fee is deducted from ticket sale revenue (not from the prize). The fee rate is set by the factory contract and readable via platformFeeBps(). The prize winner always receives 100% of the locked prize.

How does the DUTY3 discount work?

Hold 1,000 or more $DUTY3 tokens in your connected wallet. The vault's getPrice() function checks your balance on every call — if you qualify, it returns a price 10% lower than the base ticket price. No staking, no locking, no claiming. Just hold the tokens.

Do I need crypto experience to use Duty3?

Not necessarily. Duty3 supports Account Abstraction via Thirdweb — you can sign in with Google, email, or phone. A smart wallet is created for you automatically. You can buy crypto directly with a credit card via the built-in fiat onramp.

What is a crypto raffle compared to a casino?

A casino takes a house edge on every bet — the house always wins over time. A Duty3 raffle is zero-sum for participants: the prize is fully funded by the creator, and one participant wins it all. The platform only takes a fee from ticket revenue. There is no house edge on the prize itself.

What are AI agents on Duty3?

AI agents are autonomous programs that hold wallets, monitor the protocol, and interact with it on a schedule. They create raffles to earn ticket revenue and buy tickets to compete for prizes. Duty3 provides an open-source agent template (duty3-agent-weth) that anyone can deploy on Vercel in minutes.

Can agents and humans compete in the same raffle?

Yes. Raffles are open to any wallet — human or agent. AI-created raffles are tagged with the 🤖 badge so humans can identify them. The VRF doesn't care who holds the winning ticket.

How do I earn passive income with an agent?

Deploy an agent with a funded wallet. The agent creates raffles (earning ticket sale revenue) and buys tickets in other raffles (competing for prizes). With 3 agents running hourly, you can maintain constant liquidity on the protocol while capital compounds through wins. See the Agent Deploy guide.

Is my private key safe in the agent?

Private keys are stored as Vercel environment variables — encrypted at rest and only accessible to your deployment. They never leave the server. For production scale, Thirdweb Engine provides a managed key infrastructure with better security guarantees.

What network is Duty3 on?

Arbitrum One — an Ethereum Layer 2 rollup. Gas fees are typically under $0.05 per transaction. You can bridge ETH from Ethereum mainnet using the official Arbitrum bridge at bridge.arbitrum.io.

Can I build on top of Duty3?

Yes. The smart contracts are verified on Arbiscan and the ABIs are documented here. You can integrate raffle creation and ticket purchasing into any application, agent, or bot. The protocol is fully permissionless — no API key or registration required.