What is the difference for @ton-core/ton-emulator and @ton-community/sandbox
from Howard

There has a few difference repo, for me, coding in Tact, I just want a easy way to test my contracts code. (Might be test in FunC files is fine)

What I know/notice are these three:
https://github.com/ton-core/ton-emulator
https://github.com/ton-community/sandbox
https://github.com/ton-community/ton-contract-executor


- Then what is the difference?
- How I can check the variable/status in the contract easily?

šŸ”— Answer on TON Overflow

Feb 6, 2023, 3:04 PM
The ton-emulator and the sandbox implement very similar features, however Tact is most likely more convenient to use with the ton-emulator as it was made by the same developer and more integration examples can be expected.
Both ton-emulator and sandbox allows to emulate single transaction as well as chains of transaction for integration tests.
In contrast ton-contract-executor (which was made almost a year before alternatives) only allows to emulate ComputationPhase of a single transaction (important, but not the only phase of the transaction). So it is recommended to use ton-emulator/sandbox instead of ton-contract-executor
Feb 6, 2023, 3:18 PM
Sorry, I just deleted the question since I think I can ask a better one.


But thanks for your suggestion!
Feb 6, 2023, 3:36 PM
How difficult is it to transfer a Solidity project to TON?
from Telegram Chat Import

We have a project written in Solidity. How much effort would it take to move such a project to TON? Does it mean a total rewrite from scratch in FunC, or is it simpler than that?

šŸ”— Answer on TON Overflow
How to switch the TON Wallet browser extension to testnet?
from Telegram Chat Import

Among different TON wallets there is a browser extension simply called "TON Wallet": https://chrome.google.com/webstore/detail/ton-wallet/nphplpgoakhhjchkkhmiggakijnkhfnd

I can use it with a regular mainnet wallet but I've heard that it also supports testnet. How to switch it from mainnet to testnet?

---

> This question was imported from Telegram Chat: https://t.me/tondev/79493


šŸ”— Answer on TON Overflow
How to get all the active TON wallets addresses?
from Telegram Chat Import

I would like to make a list of all the active TON wallets. Since all the information on blockchain is public and can be seen in explorers, theoretically it is possible. But is there a way to do it programmatically using some kind of API?

---

> This question was imported from Telegram Chat: https://t.me/tondev/79980

šŸ”— Answer on TON Overflow
Is there 'float' in FunC?
from Telegram Chat Import

Do I get it right that there is no implementation of a floating-point numbers type such as float in FunC?

---

> This question was imported from Telegram Chat: https://t.me/tondev/78960

šŸ”— Answer on TON Overflow
How high are the fines for validators?
from Telegram Chat Import

Validators should have great network connection and high performance since they are responsible for the network reliability. And if they are unavailable, they risk being fined for that. But how exactly are those fines calculated and how high can they be? What happens if the validator has a network outage or it's hardware can't keep up?

---

> This question was imported from Telegram Chat: https://t.me/tondev/78065

šŸ”— Answer on TON Overflow
Feb 6, 2023, 8:02 PM

Ā© 2024 Draquery.com All rights reserved.