{"id":16559953,"url":"https://github.com/friedger/clarity-smart-contracts","last_synced_at":"2025-03-16T20:30:40.325Z","repository":{"id":40390870,"uuid":"196204462","full_name":"friedger/clarity-smart-contracts","owner":"friedger","description":"Collection of Smart Contract for Stacks Blockchain in Clarity","archived":false,"fork":false,"pushed_at":"2024-04-18T10:22:10.000Z","size":2548,"stargazers_count":82,"open_issues_count":12,"forks_count":34,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-10-12T20:27:35.359Z","etag":null,"topics":["blockstack","clarity","smart-contracts","stacks"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/friedger.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}},"created_at":"2019-07-10T12:49:25.000Z","updated_at":"2024-06-16T21:06:37.000Z","dependencies_parsed_at":"2023-02-15T07:46:40.318Z","dependency_job_id":"5f84d2b0-84cf-461b-9645-b92316c66255","html_url":"https://github.com/friedger/clarity-smart-contracts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedger%2Fclarity-smart-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedger%2Fclarity-smart-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedger%2Fclarity-smart-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedger%2Fclarity-smart-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friedger","download_url":"https://codeload.github.com/friedger/clarity-smart-contracts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221667611,"owners_count":16860623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["blockstack","clarity","smart-contracts","stacks"],"created_at":"2024-10-11T20:27:40.170Z","updated_at":"2024-10-27T11:12:52.917Z","avatar_url":"https://github.com/friedger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/friedger/clarity-smart-contracts)\n\n# Clarity Smart Contracts\n\nA collection of various smart contracts written in [Clarity](https://docs.blockstack.org/core/smart/clarityref). They run on the [Stacks blockchain](https://docs.blockstack.org).\n\nSee also [original Clarity tutorials](https://github.com/blockstack/clarity-js-sdk/tree/master/packages/clarity-tutorials) by Blockstack.\n\n## Repositories with Smart Contracts\n\n- [Swapr](https://github.com/psq/swapr) Trustless token exchange.\n- [Flexr](https://github.com/psq/flexr) Token with an elastic supply, guaranteed by design to be uncorrelated to other tokens. \n- [Stackstarter](https://github.com/MarvinJanssen/stackstarter) Crowdfunding\n- [Marketplace](https://github.com/friedger/clarity-marketplace) Marketplace (NFTs that can get disabled + market).\n- [Loopbomb Marketplace](https://github.com/radicleart/clarity-market) Marketplace for art NFTs and others.\n- [Profit sharing token](https://github.com/friedger/clarity-profit-sharing-token) Token with included profit sharing on resale.\n- [Blind Poll](https://github.com/zexxlin/clarity-blind-poll) Anonymous polls, where all submitted answers will be sealed until they're revealed by participants after the poll is closed.\n- [Highscore](https://github.com/xmakina/clarity-high-score) Simple list of submitted scores.\n- [Redistribution](https://github.com/xmakina/redistribution-contract) Pot for redistributing funds.\n- [Endless list](https://github.com/xmakina/endless-list) A bottomless, paged, list of items.\n- [Stacks loans](https://github.com/richardmichel/stacks-loans) Loans with fixed interest rates.\n- [Advent calendar](https://github.com/friedger/clarity-advent-calendar) Open one door each day, open to everybody to add new doors.\n\nMore examples on \n* the [list of winners](https://community.blockstack.org/clarity-winners#overall) of Clarity Hackathon 1.\n* the [list of winners](https://blog.blockstack.org/announcing-the-winners-of-clarity-hack/) of Clarity Hack of Stacks 2.0 Hackathon Series.\n\n\n## Smart Contracts in this Repository\n\nThis repo is gitpod ready. Click the gitpod button to start editing and running the contracts. (Read more about [Clarity Web IDE (gitpod based)](https://friedger.github.io/clarity-web-ide/))\n\n```\n.\n+-- contracts\n|    +-- license (OI License - contract to handle licenses for using UI apps, not data apps)\n|    +-- tokens  (Token contracts with various properties)\n|    +-- experiments (All the rest)\n+-- test\n|    +-- integration (Tests that run on mocknet or testnet)\n|    +-- unit (Test that run on clarity VM only)\n```\n\n### Documented Contracts\n\n[Escrow contract](docs/escrow.md): Simple token transfer via 3rd party (contract account). [Video of demo](https://www.youtube.com/watch?v=uZH1V-FNJIs)\n\n[Flip coin contract](docs/flip-coin.md): Random coin flipping, users can bet on the outcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriedger%2Fclarity-smart-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriedger%2Fclarity-smart-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriedger%2Fclarity-smart-contracts/lists"}