1
 const address = 'tz1Qzi4iMowq8z4BEihyU1HvFFxAUXc9PbAF'
    tezbridge.request({method: 'post_source'})

    taquito.Tezos.setProvider({rpc: 'https://rpc.tzkt.io/mainnet', signer: new taquitoTezbridgeSigner.TezBridgeSigner()})

    taquito.Tezos.contract.transfer({ to: 'tz1Qzi4iMowq8z4BEihyU1HvFFxAUXc9PbAF', amount: 0.001 }).then(console.log).catch(console.log)  

when I try to send the amount from one to another address. I am getting this error

enter image description here

enter image description here

  • Your code shows the same address twice. Are you trying to send to yourself? That's not allowed. The sender address must also be 'revealed' before you can transfer. Have you done that operation? – utdrmac Apr 10 at 12:42
  • how can revealed sender? – Shahzain Tariq Apr 10 at 14:35
  • You must "reveal" the public key. Only need to do this once, the first time you try to send from an address. Taquito should have a method for this. – utdrmac Apr 10 at 16:43
0

I reproduced the same code you provided on my computer and I have no error message, I also tried with the keys I use for testing and still no error. Do you use the account associated with the key in your code to sign in with Tezbridge? There may be an issue with that key.

| improve this answer | |
  • i created three new account try to send amount i am still getting error – Shahzain Tariq Apr 12 at 7:40

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.