{"id":38607001,"url":"https://github.com/kryptokrauts/sdcworkshop","last_synced_at":"2026-01-17T08:39:19.915Z","repository":{"id":221828998,"uuid":"755496210","full_name":"kryptokrauts/sdcworkshop","owner":"kryptokrauts","description":"Rewarding workshop participants at the Social Developers Conference 2024 in $XPR if they successfully execute the task within 30 days.","archived":false,"fork":false,"pushed_at":"2024-03-17T08:48:46.000Z","size":401,"stargazers_count":1,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-21T19:59:46.282Z","etag":null,"topics":["smartcontract","typescript","workshop"],"latest_commit_sha":null,"homepage":"https://gov.xprnetwork.org/communities/6/proposals/65c25d8e86e4fa65cc393740","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kryptokrauts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-10T11:45:43.000Z","updated_at":"2024-03-16T11:28:47.000Z","dependencies_parsed_at":"2024-03-22T09:30:10.556Z","dependency_job_id":null,"html_url":"https://github.com/kryptokrauts/sdcworkshop","commit_stats":null,"previous_names":["kryptokrauts/sdcworkshop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kryptokrauts/sdcworkshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptokrauts%2Fsdcworkshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptokrauts%2Fsdcworkshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptokrauts%2Fsdcworkshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptokrauts%2Fsdcworkshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kryptokrauts","download_url":"https://codeload.github.com/kryptokrauts/sdcworkshop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kryptokrauts%2Fsdcworkshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["smartcontract","typescript","workshop"],"created_at":"2026-01-17T08:39:19.262Z","updated_at":"2026-01-17T08:39:19.897Z","avatar_url":"https://github.com/kryptokrauts.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Developing Smart Contracts with TypeScript on XPR Network\nThis repository contains all contents of the workshop held at the [Social Developers Conference 2024](https://www.eventbrite.com/e/social-developers-conference-2024-tickets-780940292437) organized by the [Social Developers Club](https://socialdevelopersclub.de) in Hamburg, Germany.\n\nThe workshop is [sponsored by the XPR Network community](https://gov.xprnetwork.org/communities/6/proposals/65c25d8e86e4fa65cc393740).\n\n## Workshop Contracts\nDuring the workshop, participants will create 3 different [workshop-contracts](./workshop-contracts) to learn and understand core principles for creating \u0026 testing Smart Contracts on XPR Network.\n\nFor 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:\n- Let the predefined tests pass! ;-)\n\nNote:\n- The first [hello-world](./workshop-contracts/0-hello-world) contract will be solved and demonstrated by the workshop facilitators to ensure everybody understands what needs to be done.\n\n## XPR Rewards\nEverybody who participates in the workshop, will be eligible to get XPR in two ways:\n\n### Redemption of Gift Cards (Immediately, On-Site)\n[Gift cards](https://metalx.com/news/virtual-crypto-gift-card) will be created and distributed to all on-site participants.\n\nA paper will be handed out to each particpant that contains 2 QR codes:\n- Link to download [WebAuth Wallet](https://wauth.co)\n- Link to the Gift Card in order to claim the `3000.0000 XPR`\n\n### Development of Smart Contracts (Homework)\nA total amount of `900000.0000 XPR` is reserved to be claimed by workshop participants.\n\nWorkshop participants can develop a Smart Contract that must execute a specific logic in order to trigger the [xpr-reward-pool](./reward-contracts/xpr-reward-pool) contract deployed at [sdcworkshop](https://explorer.xprnetwork.org/account/sdcworkshop?loadContract=true\u0026tab=Tables\u0026limit=100) 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.\n\nThe 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).\n\nFollowing steps are required in order to allow participants to claim the XPR reward:\n1. Developer [registers here](../../issues/new?assignees=marc0olo\u0026labels=registration\u0026projects=\u0026template=register-for-reward.yaml\u0026title=%5BREGISTER%5D%3A+\u003cxpr+account\u003e) for the reward task.\n1. Workshop facilitator adds the XPR account of the developer to the list of eligible developers in the [xpr-reward-pool](./reward-contracts/xpr-reward-pool) contract deployed at the [sdcworkshop](https://explorer.xprnetwork.org/account/sdcworkshop?loadContract=true\u0026tab=Tables\u0026limit=100) account.\n1. Developer forks this repository and implements the missing logic in the [homework](./reward-contracts/homework) contract which is required to claim the share of the reward pool.\n1. Developer provides a separate account where the homework-claim-contract which is used to claim the reward will be deployed at.\n    - It is recommended to set up a separate account via CLI which is used to deploy the contract.\n    - This can be done by calling the [`setcontract`](https://explorer.xprnetwork.org/account/sdcworkshop?loadContract=true\u0026tab=Actions\u0026limit=100\u0026action=setctacc) action.\n1. Developer deploys the homework-contract at the provided account which should be used to claim the reward.\n1. 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.\n\n#### Note\n- Join the [Developer Chat](https://t.me/XPRNetwork/935158) on Telegram to ask questions related to Smart Contract development.\n- Unclaimed shares of the reward pool will be returned to the [xprgrants](https://explorer.xprnetwork.org/account/xprgrants) account after 30 days.\n\n#### Example XPR distribution\n- 20 developers register\n    - each developer can claim `900000.0000 XPR / 20 = 45000.0000 XPR`\n- 10 developers successfully claim the reward by solving the homework task\n    - `10 * 45000.0000 XPR = 450000.0000 XPR` will be returned to [xprgrants](https://explorer.xprnetwork.org/account/xprgrants)\n\n## Links \u0026 Resources\n- [Workshop Slides](.slides/20240316_sc-development-typescript-xpr-network.pdf)\n- [WebAuth Wallet](https://wauth.co) - Your Gateway to all dApps\n- [XPR Network Development](https://xprnetwork.org)\n    - [Discussion (Telegram)](https://t.me/XPRNetwork/935158)\n    - [GitHub](https://github.com/XPRNetwork)\n    - [Documentation](https://docs.xprnetwork.org/introduction/overview.html)\n    - [Network Resources](https://resources.xprnetwork.org/storage)\n    - [Blockchain Explorer](https://explorer.xprnetwork.org/)\n    - [CLI](https://github.com/XPRNetwork/proton-cli)\n    - [Blockchain Testing Library (VeRT)](https://github.com/XPRNetwork/vert)\n    - [TypeScript Smart Contracts](https://github.com/XPRNetwork/ts-smart-contracts)\n- Ecosystem dApps\n    - [BlastPad.io](https://snipverse.com) - Launch \u0026 Airdrop of Tokens\n    - [Governance Dashboard](https://gov.xprnetwork.org) - Proposal Submission \u0026 Voting\n    - [Metal Identity](https://identity.metallicus.com) - KYC process required to access compliance focused dApps\n    - [Metal Dollar](https://dollar.metalx.com) - Basket of bank reserve-backed stablecoins\n    - [Metal X](https://metalx.com) - DeFi platform\n        - [Trading Bot](https://github.com/XPRNetwork/dex-bot)\n    - [Snipverse](https://snipverse.com) - Social Network\n    - [Soon.Market](https://soon.market) - NFT marketplace\n    - [Storex](https://storex.io) - E-Commerce platform","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkryptokrauts%2Fsdcworkshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkryptokrauts%2Fsdcworkshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkryptokrauts%2Fsdcworkshop/lists"}