├── .gitmodules ├── README.md ├── explore-apps.md └── git-submodules.md /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "community/nft-vote-polymer"] 2 | path = community/nft-vote-polymer 3 | url = https://github.com/kenobijon/nft-vote-polymer 4 | [submodule "community/bet-NBA"] 5 | path = community/bet-NBA 6 | url = https://github.com/0xVivaLabs/polymer-testnet1-nba 7 | [submodule "community/Polymension"] 8 | path = community/Polymension 9 | url = https://github.com/Polymension/polymension-contracts 10 | [submodule "community/joke-nft-generator"] 11 | path = community/joke-nft-generator 12 | url = https://github.com/yurakas97/dapp 13 | [submodule "community/nba-multichain-betting"] 14 | path = community/nba-multichain-betting 15 | url = https://github.com/daningyn/bet-dapp-polymer-chain.git 16 | [submodule "community/simple-lottery-app"] 17 | path = community/simple-lottery-app 18 | url = https://github.com/daningyn/simple-lottery-ibc-app.git 19 | [submodule "community/IBC-Crosschain-Token"] 20 | path = community/IBC-Crosschain-Token 21 | url = https://github.com/GentlemenValidators/erc20-polymerlabs 22 | [submodule "community/polymer-lottery-contract"] 23 | path = community/polymer-lottery-contract 24 | url = https://github.com/tuananhht94/polymer-lottery-contract.git 25 | [submodule "community/Raffle-Proof-System"] 26 | path = community/Raffle-Proof-System 27 | url = https://github.com/yavuzkocca/Raffle-Proof-System.git 28 | [submodule "community/Asset-cross-chain-bridge"] 29 | path = community/Asset-cross-chain-bridge 30 | url = https://github.com/ziheche/Assets-cross-chain.git 31 | [submodule "community/polymer-bridge"] 32 | path = community/polymer-bridge 33 | url = https://github.com/wulingzhiyi/polymer-bridge.git 34 | [submodule "community/polymer-gift-contract"] 35 | path = community/polymer-gift-contract 36 | url = https://github.com/pot4e/polymer-gift-smartcontract.git 37 | [submodule "community/btn-gifting-with-polymer"] 38 | path = community/btn-gifting-with-polymer 39 | url = https://github.com/btuyen2606/btn-gifting-with-polymer 40 | [submodule "community/BTC-token-bridge"] 41 | path = community/BTC-token-bridge 42 | url = https://github.com/caoshanhuyi/BTC-bridge-contract.git 43 | [submodule "community/polymer-pts-nft-game"] 44 | path = community/polymer-pts-nft-game 45 | url = https://github.com/wangthing/dapp-closer-tonny 46 | [submodule "community/polymer-eth-bridge-contract"] 47 | path = community/polymer-eth-bridge-contract 48 | url = https://github.com/anhhtvip/polymer-bridge-contract.git 49 | [submodule "community/polymer-nft-point-earning-game"] 50 | path = community/polymer-nft-point-earning-game 51 | url = https://github.com/chienj1/polymer-nft-point-earning-game.git 52 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🦸🏼🦸🏾‍♂️ Community dApps for Polymer 🦸🏾‍♀️🦸🏻 2 | 3 | Welcome to the official repository for [Polymer](https://polymerlabs.org) community demo applications! This repository serves as a centralized hub for the demo dApps created by the Polymer community! 4 | 5 | We highly encourage our community to build new demos showcasing the capabilities and use cases of Polymer x [IBC](https://ibcprotocol.dev) interoperability. 6 | 7 | To help the visibility of these projects, developers can choose to add their project to his repo in several ways. 8 | 9 | ## 🤝 Contributing to the community demo dApp repo 10 | 11 | We welcome and encourage contributions from our community! Here’s how you can contribute. 12 | 13 | ## Step 1: Create a Reference to the dApp Repo in explore-apps.md 14 | 15 | Add a reference to the dApp in the **`explore-apps.md`** file located in the root of the repo. This contains curated list of community projects. It includes references to projects maintained in the `/community` directory and links to external repositories. The reference should be in the following format: 16 | 17 | Title 18 | 19 | ```markdown 20 | - Name: 21 | - GitHub url: 22 | - Documentation: 23 | - Website: 24 | - Socials: 25 | - Attribution: [@GH_handle(s)] 26 | ``` 27 | 28 | ## Step 2: Add your project to the repository 29 | 30 | Add your repository as a git submodule: 31 | 32 | 1. **Fork the Main Repository:** If you haven't already, Fork the repository and then clone your forked repository repository: 33 | 34 | ```bash 35 | gh repo fork [Main Repository URL] 36 | ``` 37 | 38 | 2. **Add Your Repository as a Submodule:** 39 | 40 | ```bash 41 | git submodule add [Your Repository URL] community/[Your Project Name] 42 | ``` 43 | 44 | 3. **Commit and Push the Changes:** 45 | 46 | ```bash 47 | git commit -m "Added [Your Project Name] as a submodule" 48 | git push 49 | ``` 50 | 51 | ## Step 3: Create a Pull Request 52 | 53 | Once you have added both a reference and project to the repository **Submit a pull request** with a detailed description of your app. 54 | 55 | ## 📚 Documentation 56 | 57 | Be sure to add clear documentation and scripts when adding a project to maximize its usefulness to the rest of the community! 58 | 59 | ## 🏅 Acknowledgments 60 | 61 | Contributors are the heartbeat of this project! We will add a contributors list soon to acknowledge the hard work and dedication of everyone who contributes. 62 | -------------------------------------------------------------------------------- /explore-apps.md: -------------------------------------------------------------------------------- 1 | # Explore community projects 2 | 3 | IBC-NFT-Vote Application: 4 | 5 | ```markdown 6 | - Name: Ken Miyachi 7 | - GitHub url: https://github.com/kenobijon/nft-vote-polymer 8 | - Documentation: https://github.com/kenobijon/nft-vote-polymer/blob/main/README.md 9 | - Website: N/A 10 | - Socials: @kenjonmiyachi 11 | - Attribution: @kenobijon 12 | ``` 13 | 14 | Bet NBA: 15 | 16 | ```markdown 17 | - Name: Bet NBA 18 | - GitHub url: https://github.com/0xVivaLabs/polymer-testnet1-nba 19 | - Documentation: https://github.com/0xVivaLabs/polymer-testnet1-nba/blob/nba/README.md 20 | - Website: https://bet-nba.vercel.app/ 21 | - Socials: @0xvivalabs 22 | - Attribution: [@script-money, @Glacier-Luo] 23 | ``` 24 | 25 | Polymension: 26 | ```markdown 27 | Name: Polymension 28 | GitHub url: https://github.com/Polymension/polymension-contracts 29 | Documentation: docs.polymension.com 30 | Website: https://polymension.com/ 31 | Socials: @polymension 32 | Attribution: [@0xCulha, @avsaryagiz, @burakinkaya, @cozfuttu, @erengulbahar] 33 | ``` 34 | 35 | Joke NFT Generator: 36 | ```markdown 37 | Name: Joke NFT Generator 38 | GitHub url: https://github.com/yurakas97/dapp 39 | Documentation: https://github.com/yurakas97/dapp/README.md 40 | Website: https://yurakas97.github.io/site/ 41 | Socials: @Yura_Kas 42 | Attribution: @yurakas97 43 | ``` 44 | 45 | Lottery Game: 46 | ```markdown 47 | Name: Lottery Game 48 | GitHub url: https://github.com/daningyn/simple-lottery-ibc-app 49 | Documentation: https://github.com/daningyn/simple-lottery-ibc-app/blob/master/README.md 50 | Website: N/A 51 | Socials: @daningyn 52 | Attribution: [@daningyn, @lyhv] 53 | ``` 54 | 55 | NBA Multichain Betting Platform: 56 | ```markdown 57 | Name: NBA Multichain Betting 58 | GitHub url: https://github.com/daningyn/bet-dapp-polymer-chain 59 | Documentation: https://github.com/daningyn/bet-dapp-polymer-chain/blob/master/README.md 60 | Website: https://polymer-bet.daningyn.xyz/ 61 | Socials: @daningyn 62 | Attribution: [@daningyn, @lyhv, @conghcbapjp] 63 | ``` 64 | 65 | IBC Crosschain Token 66 | ```markdown 67 | Name: IBC Crosschain Token 68 | GitHub url: https://github.com/GentlemenValidators/erc20-polymerlabs 69 | Documentation: https://github.com/GentlemenValidators/erc20-polymerlabs/blob/main/report.md 70 | Website: N/A 71 | Socials: @n_gentlemenvalidators 72 | Attribution: [@GentlemenValidators,@Pozzitron1337] 73 | ``` 74 | 75 | BTN Gifting with Polymer: 76 | ```markdown 77 | - Name: BTN Gifting with Polymer 78 | - GitHub url: https://github.com/btuyen2606/btn-gifting-with-polymer 79 | - Documentation: https://github.com/btuyen2606/btn-gifting-with-polymer/blob/main/README.md 80 | - Website: localhost 81 | - Socials: @btuyen 82 | - Attribution: [@btuyen2606, @khanhchuads, @conghc94] 83 | ``` 84 | 85 | Polymer Lottery Contract: 86 | ```markdown 87 | Name: Polymer Lottery Contract 88 | GitHub contract url: https://github.com/tuananhht94/polymer-lottery-contract 89 | GitHub frontend url: https://github.com/tuananhht94/polymer-lottery-app 90 | Documentation: https://github.com/tuananhht94/polymer-lottery-contract/blob/main/README.md 91 | Website: https://lottery.tuananh.xyz/ 92 | Socials: @tuananhht94 93 | Attribution: [@tuananhht94,@juusokaj] 94 | ``` 95 | 96 | Raffle Proof System 97 | ```markdown 98 | Name: Raffle Proof System 99 | GitHub url: https://github.com/yavuzkocca/Raffle-Proof-System 100 | Documentation: https://github.com/yavuzkocca/Raffle-Proof-System/blob/main/README.md 101 | Website: N/A 102 | Socials: @yvzkc , @sturec 103 | Attribution: [@yavuzkocca,@sturec5] 104 | ``` 105 | 106 | Assets Cross Chain Bridge 107 | ```markdown 108 | Name: Assets Cross Chain Bridge 109 | GitHub url: https://github.com/ziheche/Assets-cross-chain 110 | Documentation: https://github.com/ziheche/Assets-cross-chain/blob/main/README.md 111 | Website: N/A 112 | Socials: @ziheche 113 | Attribution: [@ziheche] 114 | ``` 115 | 116 | Polymer bridge: 117 | ```markdown 118 | Name: Polymer bridge 119 | GitHub url: https://github.com/wulingzhiyi/polymer-bridge 120 | Documentation: https://github.com/wulingzhiyi/polymer-bridge/blob/main/README.md 121 | Website: N/A 122 | Socials: @wulingzhi 123 | Attribution: [@wulingzhiyi] 124 | ``` 125 | 126 | Polymer Gift Contract: 127 | ```markdown 128 | Name: Polymer Gift Contract 129 | GitHub contract url: https://github.com/pot4e/polymer-gift-smartcontract 130 | GitHub frontend url: https://github.com/pot4e/polymer-staking-gift-client 131 | Documentation: https://github.com/pot4e/polymer-gift-smartcontract/blob/main/README.md 132 | Website: https://gift.tuananh.xyz/ 133 | Socials: @pot4e 134 | Attribution: [@daningyn,@batuoc263,@kushin101094,@lyhv,@ThanhTuan1695,@tuananhht94] 135 | ``` 136 | 137 | Polymer ETH Bridge Contract: 138 | ```markdown 139 | Name: Polymer ETH Bridge Contract 140 | GitHub contract url: https://github.com/anhhtvip/polymer-bridge-contract 141 | GitHub frontend url: https://github.com/anhhtvip/eth-bridge-polymer-chain 142 | Documentation: https://github.com/anhhtvip/polymer-bridge-contract/blob/main/README.md 143 | Website: https://bridge.tuananh.xyz/ 144 | Socials: @anhhtvip 145 | Attribution: [@anhhtvip,@leiz95] 146 | ``` 147 | 148 | BTC Token Bridge: 149 | ```markdown 150 | Name: BTC Token Bridge 151 | GitHub url: https://github.com/caoshanhuyi/BTC-bridge-contract 152 | Documentation: https://github.com/caoshanhuyi/BTC-bridge-contract/blob/main/README.md 153 | Website: N/A 154 | Socials: @caoshanhu0689 155 | Attribution: [@caoshanhuyi] 156 | ``` 157 | 158 | Polymer pts xchain NFT Game!: 159 | ```markdown 160 | Name: Polymer pts xchain NFT Game! 161 | GitHub contract url: https://github.com/mtroym/demo-dapps 162 | GitHub frontend url: https://github.com/wangthing/dapp-closer-tonny 163 | Documentation: https://github.com/mtroym/demo-dapps/blob/main/README.md 164 | Website: N/A 165 | DemoVideo: https://youtu.be/FukTFKlIrlM 166 | Socials: discord:0x77777, @wangthingp 167 | Attribution: [@mtroym,@wangthing] 168 | ``` 169 | 170 | Polymer NFT-Point Earning Contract: 171 | ```markdown 172 | Name: Polymer NFT-Point Earning Contract 173 | GitHub contract url: https://github.com/chienj1/polymer-nft-point-earning-game 174 | GitHub frontend url: https://github.com/chienj1/polymer-nft-point-earning-game/tree/main/frontend 175 | Documentation: https://github.com/chienj1/polymer-nft-point-earning-game/blob/main/README.md 176 | Website: to-be-deploy 177 | Socials: @motion_28 178 | Attribution: [@chienj1] 179 | ``` -------------------------------------------------------------------------------- /git-submodules.md: -------------------------------------------------------------------------------- 1 | # Git submodules best practices 2 | 3 | ## Useful commands 4 | 5 | - Add a submodule: 6 | `git submodule add [Your Repository URL] [Path]` for this repository please add to the `community` directory 7 | 8 | — Clone repository with submodules automatically: 9 | 10 | `git clone --recursive git@github.com:name/repo.git` 11 | 12 | — Initialize submodules after regular cloning: 13 | 14 | `git submodule update --init` 15 | 16 | — Make submodules to track their respective remote branches (instead of being in detached HEAD state): 17 | 18 | `git submodule foreach -q --recursive 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'` 19 | 20 | — Display status of submodules when `git status` is invoked: 21 | 22 | `git config --global status.submoduleSummary true` 23 | 24 | — Script for pulling the main repo and updating the sumodules automatically: 25 | 26 | ```bash 27 | #!/usr/bin/env bash 28 | 29 | git pull "$@" && 30 | git submodule sync --recursive && 31 | git submodule update --init --recursive 32 | ``` 33 | 34 | ## Additional reading 35 | 36 | - [Mastering Git submodules](https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407) 37 | --------------------------------------------------------------------------------