Skip to content

Latest commit

 

History

History

hello-exp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Run 'hello' demo

//mac
npm install -g js4eos
//ubuntu
sudo npm install -g js4eos
js4eos wallet create
js4eos wallet import your_private_key
js4eos compile -o hello/hello.wasm hello/hello.cpp
js4eos compile -g hello/hello.abi hello/hello.cpp
js4eos set contract youraccount hello
js4eos push action youraccount hi '["youraccount"]' -p youraccount

如果使用cleos程序,只需将上面的js4eos替换为cleos即可

如果你在linux/mac下且有本地nodeos可以使用run.sh脚本一键执行

#install js4eos if not
sudo npm install -g js4eos
#run if in linux
./run.sh

details(详情)

https://blog.csdn.net/ITleaks/article/details/80461917