smart contract list
-
Hi there,
is there a complete list of mart contracts issued or in progress, like it exist with ETH?
Thank you
-
You can get all 'running' AT ids from wallet:
http://localhost:8125/burst?requestType=getATIds
and check single ATs via:
http://localhost:8125/burst?requestType=getAT&at=4722687283147421361There are wallet plugins for ACCT, Crowdfund and Lottery (Crowdfund is included in 1.2.6)
ACCT:
https://forums.burst-team.us/topic/1700/burstcoin-qora-acct-wallet-add-on
Lottery:
https://www.mediafire.com/folder/95mo1rlhgqdxs/Burstcoin (lottery.html)
Docs: https://bitcointalk.org/index.php?topic=949438.msg10408276#msg10408276Other examples are here:
http://ciyam.org/at/Burstdev provided tools to implement ATs:
AT-Debugger
https://github.com/BurstProject/ATDebugger
AT-Assembler
https://github.com/BurstProject/ATAssemblerAlso interesting (ACCT between BURST<->BTC):
http://forum.burst-team.us:4567/topic/8/decentralized-exchange-btc-burst-qora
https://bitcointalk.org/index.php?topic=1316199
CIYAM is looking for someone to implement his proof of concept.
-
@luxe thank you today you gave me a lot of material to study on ;)
-
Moved to Development
-
@luxe I'd like to know why you are not hosting a lottery since the code is already there? / You wrote it?
-
@msgAnton good question :-)
-
@msgAnton No, @luxe didn't wrote it... that lottery code was written by vcbs and the rest of the CIYAM Team. I know that code runned for some time and i think it was the first AT ever deployed in BURST... I'm not sure why the code is not running anymore but i remember i heared about some bug in there, so i think this code can be used as base but probably need some tweeks in there ;D
-
@gpedro yes theres a bug somewhere, the last lottery test ended up dumping all the funds in the original wallet that created it when the lottery was finished instead of picking a winner and going through the logic that was wrote.
i have the javascript hosted on my site and can host the lottery.html if you want
-
@Lexicon What is your site man? xD
I have been looking for that javascript for some time now xDEDIT: by your site you mean lexitoshi.uk or burst.lexitoshi.uk? I can't open any of these right now... Is it down or is my FF getting me pranked? xP
-
-
@Lexicon thanks, are sources for smartcontractor somewhere, to contribute and contain development?!
-
@luxe i have the java-script source for it however its been heavily obfuscated and was done in the beginning of burst which is unfortunate.
-
I get scared by obfuscated code. There's only two reasons to do it. 1) Your trying to lie steal and cheat from someone or 2) You don't want people to see what you did because it's either shitty or incomplete.
I have read the AT code values, it's a version ASM. I believe we might be better off starting our own from the ground and building up using GitHub and a combination of J/S and HTML.
-IceBurst
-
@IceBurst you forget thwre are diferent reasons as well :) but i guess thats different :)
Example, code minification and uglifying (web devs should know). And i think i personaly would pull obfuscation if someone would start blatantly stealing code :)
-
@IceBurst exactly. as soon as i saw the code for it i told crow that yeah i could reverse engineer it tracing through the code. however that would take an inordinate amount of time. i might as well just relearn assembly that i was taught in college and rewrite it would totally be faster.
@LithStud people generally dont like their code being stolen and im guessing that was the main reason for obfuscating it however i havnt a clue why someone would want to do it to something so bespoke
-
We don't exactly have a testnet... I'm afraid that once we start doing this, we're gonna be spending couple of dollars running and testing our AT's and you can't even profit off it.. Honestly i feel that we should adapt DASH's ecosystem to give the developers some motivation to work on the wallet / Interfaces.
Regarding http://burst.lexitoshi.uk/smartcontractor.html...
The webpage doesn't work? I tried to "Examine AT" but it didn't give be back anything.. ID used was 9192603983782913483Even the AT Assembler fails to compile 01 00000000 00000001 which is set value at address 0 to 1.
I have also compiled a few source codes on the ciyam.cpp file located at http://ciyam.org/at/_at.cpp.html. but yea.. How can i confirm that the opcodes at CIYAM and BURST are the exact same implementation?
-
@Lexicon Thanks for that... ;D
-
@msgAnton works for me
-
@Lexicon Oh. you're supposed to use the text instead of the hex. thats good. and here i was coding in hex..
-
@msgAnton ;) makes it much easier doesnt it lol





