aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

I created the address using python sdk, but I get an error when transferring

Open lyyzj opened this issue 2 years ago • 2 comments

I generate a new address and try to transfer to it by python sdk on devnet or testnet but failed. Then I build a transaction and submit successfully, but it returns "Move abort in 0x1:🪙 ECOIN_STORE_NOT_PUBLISHED(0x60005): Account hasn't registered CoinStore for CoinType" 微信图片_20221018202452

How do I deal with this problem?

lyyzj avatar Oct 18 '22 12:10 lyyzj

not bug

lyyzj avatar Oct 18 '22 15:10 lyyzj

Hi @lyyzj , how you handle this?

therock1404 avatar Oct 19 '22 12:10 therock1404

an account must be created first, in the case of non Aptos coins, the coin store must be registered. You can also use 0x1::aptos_account::transfer to create and transfer in a single call.

davidiw avatar Oct 20 '22 15:10 davidiw