sharedwallet
The Secret Santa Smart Contract is a decentralized way to organize a gift exchange among participants securely and transparently using blockchain technology. This contract eliminates the need for manu
描述
This Secret Santa contract allows a group of participants to randomly exchange gifts in a decentralized manner using Ethereum smart contracts. The contract ensures fairness by assigning each participant a recipient in a randomized order.
Key Features:
Owner-Managed:
The contract is deployed and controlled by an owner.
Only the owner can start the exchange.
Joining the Exchange:
Any Ethereum address can join before the exchange begins.
Once the exchange starts, no new participants can join.
Randomized Assignments:
The contract uses a pseudo-random function to shuffle participants.
Each participant is assigned a recipient for the gift exchange.
Checking Assigned Recipient:
Participants can query the contract to find out who they should send their gift to.
The exchange must be started before assignments are revealed.
Workflow:
Users join the exchange before it starts.
The owner starts the exchange once enough participants have joined.
The contract randomly assigns a recipient to each participant.
Participants check their assigned recipient and proceed with the gift exchange.
本次黑客松进展
70
技术栈
融资状态
ongoing