i get this error when i want to use sendTransfere:
`
},
data: {
ok: false,
error: 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\n' +
'Cannot run message on account: inbound external message rejected by account 28C33C2EAB67FA99B41AC2177D1993E4C8D7C717F09F51D2A15B3F2B62665B32 before smart-contract execution',
code: 500
}
`
the only thing seems wrong maybe is the way i turned my secret key to Buffer:
const secretKey = Buffer.from(process.env.PRIVATE_KEY, 'hex')
my secret key is a string
and this is my seqno :
const seqno = await wallet.getSeqno()
Mar 15, 2023, 7:21 PM
looks like your wallet has no balance
and even isn’t deployed https://tonscan.org/address/EQAowzwuq2f6mbQawhd9GZPkyNfHF_CfUdKhWz8rYmZbMg5x
Mar 15, 2023, 7:27 PM
no it's on testnet
Mar 15, 2023, 7:28 PM
and still it’s not deployed
https://testnet.tonscan.org/address/EQAowzwuq2f6mbQawhd9GZPkyNfHF_CfUdKhWz8rYmZbMg5x
https://testnet.tonscan.org/address/EQAowzwuq2f6mbQawhd9GZPkyNfHF_CfUdKhWz8rYmZbMg5x
Mar 15, 2023, 7:30 PM
oh i thoght if you just transfer some ton to it, it will get deployed
Mar 15, 2023, 7:31 PM
also i don’t really know much about fees in testnet but i think 0.001 ton isn’t enough to deploy or make transaction, so i think you should top up your wallet
Mar 15, 2023, 7:33 PM
thank you 😄
Mar 15, 2023, 7:41 PM