{"id":21490839,"url":"https://github.com/logvik/ton-ico-on-func","last_synced_at":"2025-04-23T12:28:07.953Z","repository":{"id":191585084,"uuid":"684960931","full_name":"logvik/ton-ico-on-func","owner":"logvik","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-13T16:16:38.000Z","size":245,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T23:41:12.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/logvik.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,"publiccode":null,"codemeta":null}},"created_at":"2023-08-30T08:00:32.000Z","updated_at":"2024-09-07T05:08:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b75a7e89-cb19-4af8-b6fb-fec69c7fa7a5","html_url":"https://github.com/logvik/ton-ico-on-func","commit_stats":null,"previous_names":["logvik/ton-ico-on-func"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logvik%2Fton-ico-on-func","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logvik%2Fton-ico-on-func/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logvik%2Fton-ico-on-func/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logvik%2Fton-ico-on-func/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logvik","download_url":"https://codeload.github.com/logvik/ton-ico-on-func/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250433355,"owners_count":21429856,"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":[],"created_at":"2024-11-23T14:46:27.721Z","updated_at":"2025-04-23T12:28:07.928Z","avatar_url":"https://github.com/logvik.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TON ICO repository\n\n\u003cp style=\"text-align:center;\"\u003e\u003cimg src=\"./docs/images/ton-ico.png\" width=\"256\" alt=\"TON ICO\" title=\"TON ICO\"/\u003e\u003c/p\u003e\n\nThis repository is dedicated to the development of code that will facilitate the conduction of an Initial Coin Offering (ICO) on the Telegram Open Network (TON) blockchain. The ICO will be conducted for the purpose of launching a new jetton, the TEP-89, which will be fully compatible with the TEP-74 standard. The code contained in this repository will enable the smooth and secure operation of the ICO, providing investors with a reliable and transparent platform to participate in the launch of this exciting new jetton. Furthermore, the TEP-89 jetton will be designed to offer a range of benefits and functionalities that will make it an attractive investment opportunity for both experienced and novice cryptocurrency investors alike.\n\nThe ICO platform offers a range of features to ensure a successful fundraising campaign. These include:\n\n1. Custom pricing: Tailor your ICO to your needs by setting a rate for issuing jettons based on TON amounts sent to the smart contract.\n2. Cap: Set a maximum amount for issuance during the ICO, giving you greater control over your fundraising efforts.\n3. Start time: Choose the date after which your ICO will be opened to the public, allowing you to plan your launch accordingly.\n4. End time: Select the date after which your ICO will be closed, providing investors with a clear deadline to participate in your campaign.\n5. Presale compatibility: With the ICO platform, you can premint jettons before the ICO goes live, giving early investors a chance to get in on the ground floor.\n6. Pause/Resume logic: The platform allows you to split your ICO into multiple stages, giving you greater flexibility in managing your fundraising efforts.\n\nBy utilizing these features, you can create a robust and effective fundraising campaign that meets your needs and attracts investors.\n\n# How to use for own ICO\n\n1. Clone this repository\n2. Install all dependencies ```yarn```\n3. Rename `_.env` to `.env`\n\nFill out the values in `.env`:\n\n```\nJETTON_ADMIN=\"\" # adress from which will be managed this ICO\nJETTON_CONTENT_URI=\"\" # URI for metadata by standard https://github.com/ton-blockchain/TEPs/blob/master/text/0064-token-data-standard.md\nJETTON_STATE=0 # 0 - active, 1 - paused\nJETTON_PRICE=2000000000 #1 TON = 2 jetton, if set 100000000 {- 1e8 -}, then 1 TON = 0.1 jetton, etc.\nJETTON_CAP=77777000000000 # 77777 jetton maximum\nJETTON_ICO_START_DATE=0 # right after deploy, but can be used unixtime\nJETTON_ICO_END_DATE=0 # never, but can be used unixtime\n```\n\n# Tests\n\nBefore launching ICO on mainnet, you have to want to test it. For this aim you must to fill out `.env` and run\n\n```js\nyarn test\n```\n\nWhen you will test start/end dates be aware that many other tests will be failed, check only those tests that affected this feature.\n\n# Deployment\n\nWhen all tests will be finished, just run\n\n```js\nyarn deploy\n```\n\nand follow by the instructions\n\n# Smart contract control\n\n1. Changing admin (owner)\n2. Changing jetton content\n3. Pause/Resume feature to split on several steps\n4. Withdrawal a balance from the minter smart contract after ICO\n\n# UI for interaction with the ICO\n\n```js\nyarn controller\n```\n\nKeep in mind that you can use ton:// link to spread your ICO. Just choice \"Buy\" to obtain the link and don't pay. A user will be able to select its own amount if you will remove amount=1000000000 from the link.\n\nFor example:\n\n```\nton://transfer/EQAHM3Xc_djTLCCEudIgAknu6ypK0zzdLTpTejhd3sebCzm7?amount=1000000000\u0026bin=te6cckEBAQEADgAAGEAu_wsAAAAAAAAAAPnjyqo\n```\n\nAnd spread [ton://transfer/EQAHM3Xc_djTLCCEudIgAknu6ypK0zzdLTpTejhd3sebCzm7?bin=te6cckEBAQEADgAAGEAu_wsAAAAAAAAAAPnjyqo](ton://transfer/EQAHM3Xc_djTLCCEudIgAknu6ypK0zzdLTpTejhd3sebCzm7?bin=te6cckEBAQEADgAAGEAu_wsAAAAAAAAAAPnjyqo)\n\n# Sources\n\nhttps://docs.ton.org/develop/func/cookbook\n\nhttps://github.com/ton-org/blueprint/\n\nhttps://github.com/EmelyanenkoK/modern_jetton\n\nhttps://github.com/ton-blockchain/TEPs/blob/master/text/0064-token-data-standard.md\n\nhttps://base64.guru/converter/encode/image\n\n# Licence\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogvik%2Fton-ico-on-func","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogvik%2Fton-ico-on-func","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogvik%2Fton-ico-on-func/lists"}