disintar / toncli

TON Command Line Interface - easy smart contract manipulation
https://disintar.io/
Apache License 2.0
166 stars 34 forks source link

ERROR: 🧓 Deployer contract is not inited yet, please send some TON there and then I can deploy project #12

Closed rocalex closed 2 years ago

rocalex commented 2 years ago

When I try to deploy smart contract on testnet, I meet this message, how to solve it?

nichitagutu commented 2 years ago

When I try to deploy smart contract on testnet, I meet this message, how to solve it?

@rocalex Try to run toncli addrs, from it you'll get an address, where you'll need to send some toncoins and a link to Telegram bot, from whom you can get those toncoins (testnet). After sending coins you should be able to deploy a contract.

rocalex commented 2 years ago

It's resolved, but got a new error.

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/toncli", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/toncli/main.py", line 388, in main
    addrs = contract.get_address()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/toncli/modules/abstract/deployer.py", line 126, in get_address
    raise ValueError(f"😥 No address_text found in {contract.address}")
ValueError: 😥 No address_text found in /Volumes/DATA/xp-network/ton-bridge/build/contract_address
tvorogme commented 2 years ago

Please, first deploy contract before interact with it. If you have got this error not in project - please remove wallet from ~/.config/toncli and try to deploy simple wallet one more time.