This repository contains all contents of the workshop held at the Social Developers Conference 2024 organized by the Social Developers Club in Hamburg, Germany.
The workshop is sponsored by the XPR Network community.
During the workshop, participants will create 3 different workshop-contracts to learn and understand core principles for creating & testing Smart Contracts on XPR Network.
For each of these contracts, the required contract files are already provided. The logic is missing and needs to be added by the participants with one single goal:
- Let the predefined tests pass! ;-)
Note:
- The first hello-world contract will be solved and demonstrated by the workshop facilitators to ensure everybody understands what needs to be done.
Everybody who participates in the workshop, will be eligible to get XPR in two ways:
Gift cards will be created and distributed to all on-site participants.
A paper will be handed out to each particpant that contains 2 QR codes:
- Link to download WebAuth Wallet
- Link to the Gift Card in order to claim the
3000.0000 XPR
A total amount of 900000.0000 XPR
is reserved to be claimed by workshop participants.
Workshop participants can develop a Smart Contract that must execute a specific logic in order to trigger the xpr-reward-pool contract deployed at sdcworkshop account. An equal share of the XPR reward pool will be distributed to each developer who executes the action on their deployed contract that fullfils the requirement.
The solution needs to be implemented, deployed and executed within 30 days after the workshop. Eligibility to claim ends exactly at unix timestamp 1713180600
(Monday, 15 April 2024, 13:30:00).
Following steps are required in order to allow participants to claim the XPR reward:
- Developer registers here for the reward task.
- Workshop facilitator adds the XPR account of the developer to the list of eligible developers in the xpr-reward-pool contract deployed at the sdcworkshop account.
- Developer forks this repository and implements the missing logic in the homework contract which is required to claim the share of the reward pool.
- Developer provides a separate account where the homework-claim-contract which is used to claim the reward will be deployed at.
- It is recommended to set up a separate account via CLI which is used to deploy the contract.
- This can be done by calling the
setcontract
action.
- Developer deploys the homework-contract at the provided account which should be used to claim the reward.
- Developer performs an action of the homework-contract that will trigger the claim and distribute the XPR to the account of the homework-claim-contract.
- Join the Developer Chat on Telegram to ask questions related to Smart Contract development.
- Unclaimed shares of the reward pool will be returned to the xprgrants account after 30 days.
- 20 developers register
- each developer can claim
900000.0000 XPR / 20 = 45000.0000 XPR
- each developer can claim
- 10 developers successfully claim the reward by solving the homework task
10 * 45000.0000 XPR = 450000.0000 XPR
will be returned to xprgrants
- Workshop Slides
- WebAuth Wallet - Your Gateway to all dApps
- XPR Network Development
- Ecosystem dApps
- BlastPad.io - Launch & Airdrop of Tokens
- Governance Dashboard - Proposal Submission & Voting
- Metal Identity - KYC process required to access compliance focused dApps
- Metal Dollar - Basket of bank reserve-backed stablecoins
- Metal X - DeFi platform
- Snipverse - Social Network
- Soon.Market - NFT marketplace
- Storex - E-Commerce platform