Fenguoz / tron-php

Support TRON's TRX and TRC20, which include functions such as address creation, balance query, transaction transfer, query the latest blockchain, query information based on the blockchain, and query information based on the transaction hash
MIT License
194 stars 65 forks source link

Validate Transfer Contract Error when using $trxWallet->transfer($from,$to,$amount) method. #20

Closed Hateem76 closed 2 years ago

Hateem76 commented 2 years ago

class org.tron.core.exception.ContractValidateException : Validate TransferContract error, no OwnerAccount.

cqjdcheng commented 2 years ago

我也同样报了这个错 是交易TRX的时候 用测试的PRIVATE_KEY没有问题 但是如果换成自己的或者床架你的就会报这个错

hinego commented 2 years ago

原因找到了 卡了我两个小时 出现这个问题是因为此地址尚未激活

只需要转任意一点点trx给这个地址激活就行了

Hateem76 commented 2 years ago

Activate the addresses before sending any amounts. Activation is done by sending a transaction using your wallet.

xiezh1010 commented 7 months ago

我也同样报了这个错 是交易TRX的时候 用测试的PRIVATE_KEY没有问题 但是如果换成自己的或者床架你的就会报这个错

兄弟,找到原因了吗,我用官方测试地址也不行

Hateem76 commented 5 months ago

have you solved it?

On Wed, Apr 17, 2024 at 10:45 AM ShaikhGaffar @.***> wrote:

How can I Activate Account

— Reply to this email directly, view it on GitHub https://github.com/Fenguoz/tron-php/issues/20#issuecomment-2060422954, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQT2C7FDGXYDX7FSGM4RRUDY5YEAPAVCNFSM5PYAL6YKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBWGA2DEMRZGU2A . You are receiving this because you modified the open/close state.Message ID: @.***>