Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.

0100 Quickstart

Anton Yip edited this page Mar 8, 2017 · 12 revisions

If you're here, you're probably either interested in whatever this is. So let me just do a quick "Hello World" Example graphically first, then you get to try it yourself if you want. Trying it yourself will cost you BURSTCOIN, but think of it as a donation to me for writing all these walls of text.

Here we have a script. https://github.com/antonyip/BurstAT/blob/master/at/SimpleAT.txt Read through it if you want to. But it is really of no major consequence. This code was compiled using the compiler at http://burst.lexitoshi.uk/smartcontractor.html#atassembler and generated a code that is

0100000000bd595fe2e8784e6e010700000000f2052a010000000101000000005ed0b200000000010200000000943577000000003033040303000000352501040000001b040000002d3507030300000035060305000000220500000001000000de320a03330204020000001a350000003500040600000022060000000700000018331601000000003302040200000028

NOTE: AT's only work on Local Wallets

This code is then fed to the online wallet where the details are filled in as such. CreateAT

Wait for the AT to get confirmed and then you can get the AT Account at the LocalWallet ViewAT

We fund the account with some burst, so that the code can start running.
Funding

And the AT is ready to run.

Now all you need to do is send 50 BURST to the BURST account at
BURST-8QQN-3UEC-C7AM-4FLGJ
and it will return you 20 BURST automatically! If you send it anymore, it will still return you 20. However, if you send it less than 50, it will ignore you based on the code.

That is the basics of AT in BURST.

Clone this wiki locally