Closed gpmn closed 6 years ago
https://github.com/EOSIO/eosjs/blob/v14.1.1/dist/index.html#L4
Eos.modules.format.encodeName('alice')
Notice the E in Eos
is capitol .. encodeName is static and does not need a configured instance of eos ..
solved, Haha! Thank you!
asking for help! I build eosjs as instruction : npm run build_browser but my code got such error when call encodeName, I tried these: eos.format.encodeName format.encodeName encodeName how to use encodeName in browser versoin?