I am using


but meeting a issue

" Property 'personal' does not exist on type 'Web3'."

what is the problem?

  • 2
    Can you send more details: geth or parity setup, Web3 initialisation. Thanks – Greg Jeanmart Nov 24 '17 at 8:38
  • Which version of web3 do you use? You can find it out with console.log(web3.version.api) – Bumblebee Nov 24 '17 at 8:47

It should be..

| improve this answer | |

If you are using Geth, you should start it with personal api. geth --testnet --rpc --rpcport 8545 --rpcaddr --rpccorsdomain "*" --rpcapi "admin,db,debug,eth,miner,net,personal,shh,txpool,web3" console. Be careful with what you are going to expose otherwise you may make your node vulnerable for attacks. If it is for tests only, don´t worry, but if it is for production and you are dealing with serious amount of money, use it with a lot of careful.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.