All Projects → patractlabs → ask

patractlabs / ask

Licence: MIT license
Ask! is a framework to write Wasm smart contracts for Substrate Frame Pallet-Contracts in AssemblyScript

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ask

jupiter
Wasm smart contract networks powered by Substrate FRAME Contracts pallet in Polkadot ecosystem.
Stars: ✭ 49 (+11.36%)
Mutual labels:  ink, frame-contracts-pallet, patract
pallet-contracts-waterfall
Collection of simple Substrate smart contract examples written in Rust, AssemblyScript, Solang and the smart contract language ink! to test substrates pallet-contracts module
Stars: ✭ 28 (-36.36%)
Mutual labels:  ink, assemblyscript
python-paginate
Pagination support for python web frameworks (study from will_paginate).
Stars: ✭ 17 (-61.36%)
Mutual labels:  ink
klisp
A Lisp written in about 200 lines of Ink, featuring an interactive literate programming notebook
Stars: ✭ 28 (-36.36%)
Mutual labels:  ink
ink-box
Styled box component for Ink
Stars: ✭ 113 (+156.82%)
Mutual labels:  ink
narrator
The Ink language parser and runtime implementation in Lua.
Stars: ✭ 78 (+77.27%)
Mutual labels:  ink
wasm4
Build retro games using WebAssembly for a fantasy console.
Stars: ✭ 711 (+1515.91%)
Mutual labels:  assemblyscript
MeeInk
Material Design click effect
Stars: ✭ 33 (-25%)
Mutual labels:  ink
as-bignum
Fixed length big numbers for AssemblyScript 🚀
Stars: ✭ 49 (+11.36%)
Mutual labels:  assemblyscript
maverick
Web IDE and REPL for the Ink programming language, written in pure Ink on a self-hosted compiler toolchain
Stars: ✭ 26 (-40.91%)
Mutual labels:  ink
ink-library
A collection of ink samples, tools and a list of projects that use ink
Stars: ✭ 171 (+288.64%)
Mutual labels:  ink
easegress-assemblyscript-sdk
AssemblyScript SDK for Easegress
Stars: ✭ 15 (-65.91%)
Mutual labels:  assemblyscript
blurhash-as
Blurhash implementation in AssemblyScript
Stars: ✭ 26 (-40.91%)
Mutual labels:  assemblyscript
ioBroker.epson stylus px830
Zustand Druckerpatronen im EPSON Stylus PX830 für ioBroker auslesen
Stars: ✭ 18 (-59.09%)
Mutual labels:  ink
ink-tab
Tab component for Ink 🌈
Stars: ✭ 87 (+97.73%)
Mutual labels:  ink
website
AssemblyScript's website and documentation.
Stars: ✭ 47 (+6.82%)
Mutual labels:  assemblyscript
metis
A library for secure ink! Wasm smart contract development.
Stars: ✭ 29 (-34.09%)
Mutual labels:  ink
assemblyscript-regex
A regex engine for AssemblyScript
Stars: ✭ 81 (+84.09%)
Mutual labels:  assemblyscript
libgen-downloader
A simple tool to search and download ebooks from libgen via terminal user interface.
Stars: ✭ 98 (+122.73%)
Mutual labels:  ink
as-string-sink
An efficient dynamically sized string buffer (aka String Builder) for AssemblyScript
Stars: ✭ 23 (-47.73%)
Mutual labels:  assemblyscript

Ask!

Ask!

Ask! is a smart contract language designed based on AssemblyScript and running on Substrate FRAME Contracts. Ask! uses the similar way to ink! of designing the procedural macro in the form of eDSL, to write contracts by providing annotation type in AssemblyScript (aka AS). This way can hide the implementation details of the contract, and reduces the difficulty of writing contract. Ask! will be similar to ink!’s existing implementation, and the final product will maintain maximum compatibility with ink!’s existing standards. The WASM and metadata files compiled by Ask! can be deployed on the Substrate chain and run normally.

For example: ink! describe the contract's external call interface through #[ink(constructor)], #[ink(message)].

In Ask!, it will describe the interface through @constructor, @message or other similar annotation.

Riot Group for disscusion: https://app.element.io/#/room/#PatractLabsDev:matrix.org

Overview

Although AS is a new language that uses TS syntax, there are a wide range of developers who use TS as a development language, so the cost of learning AS for these developers is very low. Therefore, we think the Ask! project has a very good application development prospect. Compared with Rust-based ink!, we believe that AS-based Ask! can effectively lower the threshold for contract developers and enrich the contract development ecosystem.

Current proposal for this repo is Patract's proposal for Ask! v0.2, and the report is Post #639

Example

We have some examples under the examples directory. See examples/readme.

Usage

See our document for a quick start.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].