{"id":13338198,"url":"https://github.com/button-tech/ton-delegation-pool","last_synced_at":"2026-02-10T12:02:47.660Z","repository":{"id":36687016,"uuid":"226935608","full_name":"button-tech/ton-delegation-pool","owner":"button-tech","description":"Dapp for TON that allows to delegate GRAMs to validators in non-custodial way","archived":false,"fork":false,"pushed_at":"2023-01-05T03:30:19.000Z","size":4425,"stargazers_count":6,"open_issues_count":43,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T08:38:09.339Z","etag":null,"topics":["button-tech","contest","telegram","ton"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/button-tech.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}},"created_at":"2019-12-09T18:04:34.000Z","updated_at":"2025-02-01T05:03:33.000Z","dependencies_parsed_at":"2023-01-17T04:15:58.020Z","dependency_job_id":null,"html_url":"https://github.com/button-tech/ton-delegation-pool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/button-tech/ton-delegation-pool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/button-tech%2Fton-delegation-pool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/button-tech%2Fton-delegation-pool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/button-tech%2Fton-delegation-pool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/button-tech%2Fton-delegation-pool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/button-tech","download_url":"https://codeload.github.com/button-tech/ton-delegation-pool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/button-tech%2Fton-delegation-pool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29298525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T10:40:02.018Z","status":"ssl_error","status_checked_at":"2026-02-10T10:38:28.459Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["button-tech","contest","telegram","ton"],"created_at":"2024-07-29T19:15:37.282Z","updated_at":"2026-02-10T12:02:47.642Z","avatar_url":"https://github.com/button-tech.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TON Delegation Pool Platform \n[Try here](https://contest.buttonwallet.com)\n![Image of Pool](https://github.com/button-tech/ton-delegation-pool/raw/master/docs/delegation.png)\n\n\n## Answers on Telegram Contest Key points\n\n#### Describes your project and how users will interact with it \n\nThis project allows anyone to create delegation pool and become validator. Also it allows anyone to earn interest by delegating Grams to potential Validators. (Risks will be handled by reputation system and security deposits). It is non-custodial solution, it is web based solution (all private keys and operations with it are on client side). \n It is WEB platform features like:\n 1. Cross-platform client side wallet\n 2. Integrated Dapp that allows to delegate and withdraw funds without CLI\n\nUsers will interact with it in two ways. Delegators will just use web based platform or any compatible wallet. They just need to find a delegation pool and send funds to it. They can track statuses of pool via Web platform or can subscribe to the bot notification. Validators can deploy delegation pool via WEB platform. However, to ensure that everything is ok, they will need to use terminal to sign all neccesary data to stake funds from delegation pool to elector pool.\n\n#### Explains how your code should be used to deploy and use your smart contract.\n\n\nTHE BEST WAY to run everything locally is use docker compose\n\n```\ndocker-compose up\n```\n\nWe assume that anyone who is going to run this project from scratch is familiar with: C++, Python, Angular, JS, Fift, Func, Go Bash and Zsh as well as MongDB. To run from scracth you will need light client, that will be used by contracts and by api folder. Also you need to have npm installed to build frontend.\n\nTo deploy smart contract go to: https://github.com/button-tech/ton-delegation-pool/contracts \n\nTo run backend go to: https://github.com/button-tech/ton-delegation-pool/api\n\nTo run frontend go to: https://github.com/button-tech/ton-delegation-pool/front\n\nIt is possible to deploy smart contract via WEB frontend only. We use our own backend wrappers over light client to send Boc and run some methods.\n\n# Video \n### Interaction with production elector smart contract (from web)\n**Deposits and stake to elect**\n\n[![Alt text](https://img.youtube.com/vi/AKCNmtSnO6E/0.jpg)](https://www.youtube.com/watch?v=AKCNmtSnO6E)\n\n**Recover stake and withdrawals**\n\n[![Alt text](https://img.youtube.com/vi/5a4wN8XpcMI/0.jpg)](https://www.youtube.com/watch?v=5a4wN8XpcMI)\n\n### Interaction with production elector smart contract (from terminal) \n[![Alt text](https://img.youtube.com/vi/gZh2N2zzxHg/0.jpg)](https://www.youtube.com/watch?v=gZh2N2zzxHg)\n\n### Interaction with elector smart contract (mocked for fast tests)\n[![Alt text](https://img.youtube.com/vi/y9RfvadfX2c/0.jpg)](https://www.youtube.com/watch?v=y9RfvadfX2c)\n\n# Presentation\n\n### Availible [here](https://t.me/ton2Contest/2)\n\nTelegram: https://t.me/ton2Contest/2\n\nLocal: [GitHub](https://github.com/button-tech/ton-delegation-pool/raw/master/docs/Delegation_dapp.pdf)\n\n# Demo\n### Try it [here](https://contest.buttonwallet.com) \n \n1. Create account, use short address and send funds on it\n2. Go to Defi =\u003e Delegation \n\nIf you have Validator Node - you can create Delegation Pool \n\nIf you do not have it - you can delegate funds by going to Delegate \n\nEach Delegation pool have multiple statuses for user:\n\n✳️ Raising - open to send funds on it. Later Validator will send funds to elector \n\n🔴 Fail - If deadline will be exceeded or something went wrong. You can withdraw your funds\n\n🕔 Waiting - Wait for your funds to be unfrozen\n\n💸 Withdraw - Get your funds back with rewards\n\nWe assume that the real commission fees will be significantly lower than right now\n\n# Run and Build\n\nfast way (use our image for run api):\n```\n# docker-compose up\n```\n\nfull build:\n```\n# docker-compose -f docker-compose-full-build.yml build\n# docker-compose -f docker-compose-full-build.yml up\n```\n\nOpen your browser at http://127.0.0.1 - front\nOpen your browser at http://127.0.0.1:3000/docs - API(Swagger)\n\n# ToDo:\n\n- [ ] Validator fee commission\n- [ ] Security deposit\n- [ ] Sub delegation Charity pool and ICO pool\n\n# 3rd party libs:\n\nThanks to https://github.com/EmelyanenkoK\n\nWith https://github.com/EmelyanenkoK/ValeriTon that was used as a base for web version.\n\nWe customized these library to deploy our contract and run functions on it\n\n\n# Authors \n\nNick Kozlov - CTO and Co-founder of BUTTON Wallet (@enormousrage, nk@buttonwallet.com)\n\nKirill Kuznecov - Co-founder of BUTTON Wallet (@krboktv, kk@buttonwallet.com)\n\nAlexey Prazdnikov - Fullstack developer at BUTTON Wallet (@noprazd, ap@buttonwallet.com)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutton-tech%2Fton-delegation-pool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutton-tech%2Fton-delegation-pool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutton-tech%2Fton-delegation-pool/lists"}