Skip to content

Instantly share code, notes, and snippets.

@bytemaster
Created April 5, 2018 21:13
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bytemaster/58d45d13dbf8732c8d467b6415a44df9 to your computer and use it in GitHub Desktop.
Save bytemaster/58d45d13dbf8732c8d467b6415a44df9 to your computer and use it in GitHub Desktop.
Hello World Contract for EOSIO
#include <eosiolib/eosio.hpp>
#include <eosiolib/print.hpp>
using namespace eosio;
struct hello : public contract {
using contract::contract;
void hi( name user ) {
print( “Hello, “, user );
}
};
EOSIO_ABI( hello, (hi) )
@delneg
Copy link

delneg commented Apr 6, 2018

Please provide additional example of the new contract interface, looking forward for it!
Thumbs up for dawn 3.0 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment