error code: 0 , message: cannot apply external message to current state : External message was not accepted
Cannot run message on account: inbound external message rejected by transaction
Nov 3, 2022, 9:46 AM
Why does sending transaction return this error
What causes it
Nov 3, 2022, 9:46 AM
Are you trying to interact with regular wallet?
Nov 3, 2022, 9:46 AM
Nov 3, 2022, 9:47 AM
Your contact is not deployed
Nov 3, 2022, 9:48 AM
ton can be received, this error occurred when sending ton
Nov 3, 2022, 9:48 AM
Because your contact isn't deployed
Any address can receive coins. But to send them the contact on that address must be deployed
Which tool do you use to send transaction?
Nov 3, 2022, 9:49 AM
The address I created with code
https://github.com/startfellows/tongo/blob/master/wallet/wallet.go
how do i deploy
Nov 3, 2022, 9:54 AM
As I see that thing doesn't deploy, it just generates address and wallet object
Nov 3, 2022, 9:59 AM
Can you give me some information, how to deploy after generating the address?
Nov 3, 2022, 10:01 AM
Sorry but I've never used the tongo library and I don't know Go so I can't help you
I hope someone who worked with it will help you here
Nov 3, 2022, 10:05 AM
@xssnik Hi,I have some problems developing ton wallet, can you help me
Nov 3, 2022, 11:19 AM
Hi, my golang lib is https://github.com/xssnick/tonutils-go, tongo belongs to @subden
https://github.com/xssnick/tonutils-go/blob/master/example/wallet/main.go wallet example
Nov 3, 2022, 11:21 AM
How to deploy the newly generated wallet
Nov 3, 2022, 11:24 AM
it will be deployed automatically, when you send first transaction
lib will do it under the hood
just generate a seed, top up some coins and do transfer as in example
Nov 3, 2022, 11:26 AM
ok, thanks
@subden can you help me
tongo how to deploy
I called this method but it didn't work
Nov 3, 2022, 12:02 PM
That only generates deploy message, doesn't send it to the network.
Nov 3, 2022, 12:04 PM
After generating the deployment message, I call SendRawMessage, which returns an error message
error code: 0 , message: cannot apply external message to current state : External message was not accepted
Cannot run message on account: inbound external message rejected by transaction
Cannot run message on account: inbound external message rejected by transaction
Nov 3, 2022, 12:09 PM