Hi, can anyone tell me how to deploy contract on mainnet?
Oct 3, 2022, 8:50 AM
https://ton.org/docs/#/howto/step-by-step
This does not work
This does not work
I used send file but account is still account_uninit
sendfile test-query.boc
[ 1][t 2][2022-10-03 08:54:55.020132][lite-client.cpp:1153][!testnode] sending query from file test-query.boc
[ 3][t 2][2022-10-03 08:54:55.378497][lite-client.cpp:1163][!testnode] external message status is 1
[ 1][t 2][2022-10-03 08:54:55.020132][lite-client.cpp:1153][!testnode] sending query from file test-query.boc
[ 3][t 2][2022-10-03 08:54:55.378497][lite-client.cpp:1163][!testnode] external message status is 1
getaccount EQBMZutX4Q0TNYHMLWGIfrsJ6uyAebaYX4i6nzLk3UKCMd2C
[ 3][t 2][2022-10-03 08:57:06.242067][lite-client.cpp:1196][!testnode] requesting account state for 0:4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231 with respect to (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 with savefile `` and mode -1
[ 3][t 1][2022-10-03 08:57:06.864257][lite-client.cpp:1905][!testnode] got account state for 0:4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231 with respect to blocks (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 and (0,8000000000000000,29434307):7857B454F1D54E29D8AEA4F636741067EA4BB1825758C76C37FBCA359C70A192:E735910280C84210AAEEE6C0FBBF1E1F7EA78F1B9CD980BCAB15F59B23AAB8AE
account state is (account
addr:(addr_std
anycast:nothing workchain_id:0 address:x4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231)
storage_stat:(storage_info
used:(storage_used
cells:(var_uint len:1 value:1)
bits:(var_uint len:1 value:103)
public_cells:(var_uint len:0 value:0)) last_paid:1664786907
due_payment:nothing)
storage:(account_storage last_trans_lt:31707894000004
balance:(currencies
grams:(nanograms
amount:(var_uint len:4 value:19999996))
other:(extra_currencies
dict:hme_empty))
state:account_uninit))
x{C004C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD42823120259C319D50ED80000735A4708A611004C4B3F04_}
last transaction lt = 31707894000003 hash = 13EBAEF2C9F83AE8FFEED2EC353338AEE6BF221D0F6B202AB7BFCCE4119A30BE
account balance is 19999996ng
[ 3][t 2][2022-10-03 08:57:06.242067][lite-client.cpp:1196][!testnode] requesting account state for 0:4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231 with respect to (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 with savefile `` and mode -1
[ 3][t 1][2022-10-03 08:57:06.864257][lite-client.cpp:1905][!testnode] got account state for 0:4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231 with respect to blocks (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 and (0,8000000000000000,29434307):7857B454F1D54E29D8AEA4F636741067EA4BB1825758C76C37FBCA359C70A192:E735910280C84210AAEEE6C0FBBF1E1F7EA78F1B9CD980BCAB15F59B23AAB8AE
account state is (account
addr:(addr_std
anycast:nothing workchain_id:0 address:x4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231)
storage_stat:(storage_info
used:(storage_used
cells:(var_uint len:1 value:1)
bits:(var_uint len:1 value:103)
public_cells:(var_uint len:0 value:0)) last_paid:1664786907
due_payment:nothing)
storage:(account_storage last_trans_lt:31707894000004
balance:(currencies
grams:(nanograms
amount:(var_uint len:4 value:19999996))
other:(extra_currencies
dict:hme_empty))
state:account_uninit))
x{C004C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD42823120259C319D50ED80000735A4708A611004C4B3F04_}
last transaction lt = 31707894000003 hash = 13EBAEF2C9F83AE8FFEED2EC353338AEE6BF221D0F6B202AB7BFCCE4119A30BE
account balance is 19999996ng
I have send 0.02 ton to this address, so I guess it should work
Oh
Seems it worked after I restarted lite-client
No I restarted lite-client and it works
I think the last server I connected to was not working properly
I know this, but I did send file again and received a different output
sendfile test-query.boc
[ 1][t 2][2022-10-03 08:56:51.627659][lite-client.cpp:1153][!testnode] sending query from file test-query.boc
[ 3][t 1][2022-10-03 08:56:53.204627][lite-client.cpp:1163][!testnode] external message status is 1
[ 3][t 1][2022-10-03 08:56:53.204933][lite-client.cpp:483][!testnode] obtained block (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 from server
[ 3][t 1][2022-10-03 08:56:53.205094][lite-client.cpp:521][!testnode] obtained 12783 data bytes for block (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38
[ 1][t 2][2022-10-03 08:56:51.627659][lite-client.cpp:1153][!testnode] sending query from file test-query.boc
[ 3][t 1][2022-10-03 08:56:53.204627][lite-client.cpp:1163][!testnode] external message status is 1
[ 3][t 1][2022-10-03 08:56:53.204933][lite-client.cpp:483][!testnode] obtained block (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 from server
[ 3][t 1][2022-10-03 08:56:53.205094][lite-client.cpp:521][!testnode] obtained 12783 data bytes for block (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38
And then it worked
🫡
Oct 3, 2022, 9:01 AM