Jump to content
Enumivo Community
Sign in to follow this  
fish

How to migrate eos contract to enu contract

Recommended Posts

1.    replace some name

eosiolib  ->  enulib
eosio.hpp -> enu.hpp
eosio:: -> enumivo::
EOSIO_ABI -> ENUMIVO_ABI
EOSLIB_SERIALIZE -> ENULIB_SERIALIZE
EOS -> ENU

2.    setup contract to enu mainnet

enumivocpp -g xxx.abi xxx.cpp

enumivocpp -o xxx.wast xxx.cpp

enucli -u {{rpc endpoint}} --wallet-url {{wallet endpoint}} set contract {{your account}} ./  ./xxx.wast ./xxx.abi  -p {{your account}}

  • Like 3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×