ATScript - simple language for AT (Smart Contracts) development
-
I have idea of ATScript which will be programming language similar to JavaScript for BURST AT (Smart Contracts) development. The main goal is to have language that is known by everybody with standard API for Automated Transactions (Smart Contracts) for BurstCoin. Project covers creation of language, AT standard API and compiler that produces AT byte code.
See more at http://atscript.net
Do you think it is good idea?
-
Looks great..
Can you educate us more on.. what are existing programing languages and tools for AT development.. and some views on how new ATScript will look like..
-
Hello,
Thank you for your comment.
For AT development all information available are at http://ciyam.org/at/ and in source code of BURS wallet in at directory: https://github.com/PoC-Consortium/burstcoin/tree/master/src/brs/at
However all that information are quite low-level. For example: here you can find AT low level code for crowdfunding contract: http://ciyam.org/at/at_crowdfund.html
Currently development of ATs is done in assembler of AT virtual machine. To deploy AT to the blockchain now you can use your BURST wallet: Transactions -> ATs (Smart Contracts) -> Create AT. However to do that you need to provide machine AT byte code (assembler machine code).
Main goal for ATScript is to make development of AT easy for everybody.
Everybody that knows JavaScript will be able to understand and write ATScripts. Here you can find sample ATScript for crowdfunding Smart Contract: https://github.com/ATScriptDev/ATScript/blob/master/samples/crowdfund.atsMoreover - now it is hard to analyze what AT, that you are interacting with, is doing because you need to know how to read AT byte code.
ATScript.net will have online compiler and verifier so you will be able to paste ATScript and AT address and verify if machine code of Smart Contract on blockchain match to compiled version of provided ATScript.
-
@atscriptdev I like it! Having a javascript language rather than assembler will make ATs much more accessible, and would be a great boot to Burst.
-
@atscriptdev Thanks for detailed response. Need some time to digest this..
-
@haitch Thank you for support! Indeed sample lottery is much simpler in ATScript than in AT assembler: https://github.com/ATScriptDev/ATScript/blob/master/samples/lottery.ats
-
@ozone No problem. See sample files to see how ATScript can be used: https://github.com/ATScriptDev/ATScript/tree/master/samples
-
@atscriptdev I like very much the idea... Hoping the project gets developped?!