-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart Contracts #14
Comments
Smart contracts instructions list ( example ) : Functions : FUNC name <==> C++ int / double / float / string -- create a new function with the value specified DEL() <==> C++ func = 0 -- set the value of a function from it's value to 0 Internet : CNCT() <==> C++ socket.socket.connect("server address"); DWLD() <==> C++ socket.socket.connect("server address"); socket.socket.send("{'datas': 'dwld', 'options': {'command': 'download command', 'hash': 'optional'}}") INTERNET.recvdDatas = socket.socket.recv() -- download a specific file with some options Mathematics : CALC() <==> Calcul something with some given datas ADD <==> C++ + -- something + something SMALR() <==> C++ < -- something smaller than something VEQUAL() <==> C++ = -- variable = something PEQUAL() <==> C++ += -- variable += something, variable = variable + something ISEQUAL() <==> C++ == -- in the instruction if something equal to something Network : STOR() <==> Store some datas inside the NFC Chain -- create a new nfc inside the nfc chain Wallet : ATOK() <==> Ask tokens to a specific address |
Create a solution to enable Smart Contracts on the Marscoin blockchain.
The text was updated successfully, but these errors were encountered: