zyl34389
zyl34389
when i run this "node install_chaincode.js" Error: Cannot find module '/home/zyl/marbles/config/[object Object]' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at module.exports (/home/zyl/marbles/utils/connection_profile_lib/index.js:22:14) at Object. (/home/zyl/marbles/scripts/install_chaincode.js:35:84)...
thanks for your response. I really want to create it and use a pay-to-script-hash. As you said I must have a script to put in method . But I can...
or Do you have other method to produce it ? And after i create it ,how can i use it in the wallet or dcrctl to make a transaction?
Thanks very much ,you are very kind people. That help commond help me very much . As you said it require a public key . How can i get it...
I have create a script address but I can not spent money in it . can not find a tool or a better method .
 
can close this ,I find commod in ctl to create and use it. thanks!