{"id":26749383,"url":"https://github.com/ask-lang/ask","last_synced_at":"2025-04-14T23:14:49.318Z","repository":{"id":37013986,"uuid":"470004708","full_name":"ask-lang/ask","owner":"ask-lang","description":"The framework to write WASM smart contracts for Substrate Frame Pallet-Contracts in AssemblyScript.","archived":false,"fork":false,"pushed_at":"2024-05-16T19:39:47.000Z","size":1165,"stargazers_count":32,"open_issues_count":13,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T23:14:36.765Z","etag":null,"topics":["assemblyscript","pallet-contract","polkadot","sdk","smart-contracts","substrate","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://ask-lang.github.io/ask-docs/","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/ask-lang.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":"2022-03-15T04:25:30.000Z","updated_at":"2024-12-30T08:24:21.000Z","dependencies_parsed_at":"2023-11-17T09:50:02.328Z","dependency_job_id":"7ef94e8a-dc06-4542-81af-36de0e5ee7bd","html_url":"https://github.com/ask-lang/ask","commit_stats":{"total_commits":262,"total_committers":7,"mean_commits":37.42857142857143,"dds":"0.16412213740458015","last_synced_commit":"9a44e07f7d4e4e47c3ce257022bd866304b55c6f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ask-lang%2Fask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ask-lang%2Fask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ask-lang%2Fask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ask-lang%2Fask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ask-lang","download_url":"https://codeload.github.com/ask-lang/ask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975329,"owners_count":21192210,"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":["assemblyscript","pallet-contract","polkadot","sdk","smart-contracts","substrate","wasm","webassembly"],"created_at":"2025-03-28T11:19:09.731Z","updated_at":"2025-04-14T23:14:49.293Z","avatar_url":"https://github.com/ask-lang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ask!\n\n[![ga-svg]][ga-url]\n[![line-svg]][line-url]\n\n[ga-svg]: https://github.com/ask-lang/ask/workflows/CI/badge.svg\n[ga-url]: https://github.com/ask-lang/ask/actions\n[line-svg]: https://tokei.rs/b1/github/ask-lang/ask\n[line-url]: https://github.com/ask-lang/ask\n\n**Ask!** is a framework for AssemblyScript developers to write WASM smart contracts on [Substrate](https://github.com/paritytech/substrate) FRAME [pallet-contracts](https://github.com/paritytech/substrate/tree/master/frame/contracts).\n\n## Usage\n\n### Quick Start\n\nThere is a simple [template](https://github.com/ask-lang/ask-template) for creating an Ask! contract project.\n\n```bash\ngit clone https://github.com/ask-lang/ask-template.git\ncd ask-template\n\n# Install dependencies and Build the template contract\nyarn \u0026\u0026 yarn build flipper.ts\n```\n\nThe above command will generate wasm code and metadata file of the contract.\nAfter that you need to deploy them to the substrate-based blockchain containing the [pallet-contracts](https://github.com/paritytech/substrate/tree/master/frame/contracts), like:\n\n- [substrate-contracts-node](https://github.com/paritytech/substrate-contracts-node)\n- [Contracts on Rococo](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-contracts-rpc.polkadot.io#/contracts)\n- Others\n\nYou can refer to the [deployment section](https://ask-lang.github.io/ask-docs/getting-started/deploy-your-contract) in our [documentation](https://ask-lang.github.io/ask-docs/).\n\n### Examples\n\nYou can run the following simple command to try some examples:\n\n```bash\ncd ask\n\nyarn \u0026\u0026 yarn build\nyarn example examples/flipper/index.ts\n```\n\nHere is a list of examples:\n\n- [flipper](https://github.com/ask-lang/ask/tree/main/examples/flipper)\n- [inherent-flipper](https://github.com/ask-lang/ask/tree/main/examples/inherent-flipper)\n- [erc20](https://github.com/ask-lang/ask/tree/main/examples/erc20)\n- [crypto](https://github.com/ask-lang/ask/tree/main/examples/crypto)\n- [lazy](https://github.com/ask-lang/ask/tree/main/examples/lazy)\n- [mapping](https://github.com/ask-lang/ask/tree/main/examples/mapping)\n- [vector](https://github.com/ask-lang/ask/tree/main/examples/vector)\n- ...\n\nFeel free to open a PR to add your interesting ones into the list.\n\n## License\n\nAsk! is licensed under [MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fask-lang%2Fask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fask-lang%2Fask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fask-lang%2Fask/lists"}