In the first part, we introduced the network, detailed our experience of the contest, and explained how synchronous and asynchronous smart contracts work.
To deploy a smart contract, you need to write a deploy script in Fift and compile it to a.boc file.
To make a function call, write a script that will send an external message to the deployed smart contract.
Boc is compiled, a specific amount of GRAMs need to be sent to the smart contract address.
The amount of GRAMs depends on the size and volume of calculations of the deployed smart contract's external message cell.
The smart contract checks the signature of each internal message that will be received through the recv internal function.
Keep in mind that we need to pay fees from the P2P channel smart contract each time we successfully call recv internal or recv external functions.
It is important that TON is a sharded blockchain, so implementing smart contracts on it is more challenging.
Ethereum's contracts run synchronously and do not require handling situations such as waiting for an answer from another contract.
The asynchronous way of smart contract communication is the only option to make it scalable, and TON has these options.
Behind the Scenes of TON: Lessons Learned on Deploying Smart Contracts, Part 2
Published on Feb 14, 2020
by Cointele | Published on Coinage
Bitcoin in precarious position as Dow Jones enters correction territory on Coronavirus fears
The global markets have been caught within extreme turmoil over the past several days, with the rapid spread of the Coronavirus striking fear into the heart of investors.
Adam Back slams Vitalik Buterin, defends Bitcoin's bullish stock-to-flow model
Bitcoin bulls have long been looking towards its stock-to-flow model as an accurate pricing model that forecasts that the crypto will see a tremendous near-term upside, with the model suggesting that a movement towards $100,000 could be looming on the horizon.
In a Doge-Eat-Doge World, Can Every Altcoin Survive?
A few experts in this area took the stage at CoinSummit San Francisco on Wednesday 26th March in a talk that included litecoin creator Charlie Lee, dogecoin founder Jackson Palmer and Paul Vernon of the altcoin exchange Cryptsy.
Dogecoin's Jackson Palmer on Fast Transactions and Many Tips
Dogecoin is an unlikely cryptocoin experiment that, against the odds, has taken off - mainly as a digital tipping tool for sending tiny amounts of value.