Spoon Supports Fantom to Build dApps on It

Spoon provides the gateway for developers to import ABIs of smart contracts and quickly build a dApp UI. It is also the way to demo any dApp on any chain with less gas fee. Fantom, one of the chains that Spoon supports now, a fast, scalable, and secure Layer-1 platform compatible with the Ethereum Virtual Machine.

Fantom Explained

Fantom is a high-performance, scalable, EVM-compatible, and secure smart-contract platform.

Fantom’s mainnet deployment—Fantom Opera—is built on Fantom’s consensus mechanism, Lachesis. Fantom is a leaderless, asynchronous, and byzantine fault-tolerant Layer 1 blockchain protocol.

Lachesis enables Fantom to deliver fast transaction speeds, low transaction costs, and deterministic finality. This is achieved while remaining permissionless, decentralized, and open-source.

Lachesis represents one layer, the consensus, of the blockchain technology stack and can be plugged into any distributed ledger. Lachesis powers Fantom’s Opera mainnet deployment, that uses the Ethereum Virtual Machine (EVM) and it’s compatible with Ethereum.

The modularity makes Fantom exceptionally flexible. Developers can port their existing Ethereum-based dApps on Fantom Opera mainnet in a matter of minutes, substantially upgrading the performance and lowering the costs.

Fantom is secured by Proof-of-Stake. Unlike Proof-of-Work, used by Bitcoin and Ethereum, Proof-of-Stake prevents centralization and saves electricity.

Lachesis can provide institutional-grade security to distributed networks. Fantom offers absolute finality, which means that transactions can never be reverted like in networks with probabilistic finality.

The consensus mechanism can also scale to hundred of nodes, increasing decentralization and therefore security.

Lastly, Lachesis is leaderless. By removing leaders, security doesn’t rely on a small set of actors.

Its in-house PoS token, FTM, forms the backbone of transactions, and allows fee collection and staking activities, along with the user rewards the latter represents. Following a $40 million raise, Fantom launched its mainnet in December 2019. Its blockchain is fast and cheap, and in 2021 proved that it could support its own decentralized finance (DeFi) industry.

What differentiates Fantom ?

Fast deterministic finality

Fantom’s consensus model is Byzantine Fault Tolerant, which means that a transaction is final as soon as two-thirds of the network has confirmed it. On average, this process takes about 2 seconds. Finalized transactions on Fantom are irreversible, and the term that describes this process is deterministic finality.

By contrast, Bitcoin and Ethereum rely on probabilistic finality: a transaction is considered irreversible only after a certain number of subsequent blocks have been added to the chain. This means that a transaction is only deemed final after some time, once the block in which it was processed sinks deeper into the chain and the transaction is further referenced.

Chains with consensus mechanisms relying on probabilistic finality cannot promise absolute immutability. As the chain grows, it becomes more difficult and expensive to revert older transactions. Though the probability that older transactions will be reverted decays with time, it is never truly zero.

On Bitcoin, it is recommended to wait until a transaction is 6 blocks deep before declaring finality. On Ethereum, the recommendation is 20-25 blocks. Finality can take up to 6 minutes on Ethereum and up to an hour on Bitcoin.

Asynchronous transaction processing

Fantom’s aBFT consensus model allows nodes in the network to confirm event blocks containing transactions simultaneously, without depending on timing assumptions.

A key component of this is the protocol’s leaderless consensus. On Fantom, no validator plays a special role, and validators can independently pick up and communicate transactions in a constant stream to the broader network.

Asynchronous transaction processing translates into greater throughput, scalability, and lower fees since users don’t have to radically overbid to accelerate transaction confirmation.

Data pruning

The recently released Snapsync solution allows nodes to quickly download a pruned version of the blockchain and begin validating transactions in a fraction of the 24 hours usually required ‒ on Testnet, full nodes were able to sync in about 7 hours using snap mode.

Snapsync addresses the persistent data bloat problem that arises in any decentralized blockchain. The issue is that as a blockchain gets longer, the data associated with the chain gets ever larger. Larger data structures require increased node capacity and longer read/write times.

Data bloat also drastically slows node sync times and frequently requires protocols to throttle network speeds to allow nodes to sync fully. In this context, Snapsync is an essential piece of the foundation that will support further upgrades and increased network throughput.

Transaction fee burning

Since its launch on December 27, 2019, the Fantom network has burned 30% of all transaction fees.

Here is how it works: on Fantom, at the moment of block processing, 100% of transaction fees are burned. Data about the amount burned is forwarded to the Special Fee Contract (SFC), which is responsible for maintaining lists of validators and distributing rewards.

The SFC contract uses this data to mint 70% of burned fees and add them to validators’ rewards. The result is that 30% of fees are burned in a trackable process in place since 2019. By reducing the overall supply, transaction fee burning on Fantom serves as a return that benefits the community.

Energy efficiency

The Fantom Proof-of-Stake network is highly energy efficient. We addressed this in detail last year, but based on updated figures for 2022 ‒ namely average gas use per day and a total of 69 validators ‒ we estimate that transactions on the Fantom network consume 0.00003 kWh per transaction.

Taking the average number of transactions per day this year-to-date, the forecasted total network energy expenditure for 2022 is 10,061 kWh ‒ less than the average total yearly electricity consumption of a single US home, which is around 10,700 kWh.

Based on current figures, Ethereum consumes over 8 million times more energy per transaction. Bitcoin consumes a whopping 70 million times more electricity per transaction than Fantom.

Interested in taking a deeper dive? Fantom’s code is open-source, and Fantom developers regularly publish research papers on the tested solutions they develop on the Fantom network.

Spoon welcomes more developers to directly connect with Fantom at app.spoon.limo to explore more dApps and feel free to talk with the community at community.spoon.limo.

The Popular dApps on Fantom
Fantom dApp ranking at https://dappradar.com/rankings/protocol/fantom

1.Hector Finance

$TOR is the stablecoin of the Hector Finance Ecosystem. $HEC is the utility token which is supported by $TOR acting as a payment token, medium of exchange, and low-risk yield-bearing token.

$TOR is an ERC20 token which only can be minted when DAI or USDC is used to burn HEC tokens. TOR can be exchanged for newly minted HEC (redeemed) using the HEC price oracle, utilizing a Time Weighted Average Price (TWAP)

The yield will come from the rewards of the Hector Finance Treasury Investments and the emission plan of HEC. We aim to offer an APY of at least 20%, making TOR yield farms competitive in the market.

2.Beethoven X

Built on Balancer V2, Beethoven X is the first next-generation AMM protocol on Fantom Opera

3.SpookySwap

SpookySwap is an automated market-making (AMM) decentralized exchange (DEX) for the Fantom Opera network. Different from other DEXs, we’re invested in building a strong foundation with our BOO token as a governance token, diverse farms, grants to encourage a healthy ecology of other Fantom projects, and user-centered service.

Since its launch in April 2021, Spooky has:

  • Earned endorsement and support from Fantom Foundation

  • Passed 6 proposals with the community with BOO as the governance token

  • Held airdrop event with Alchemix, Alpha Finance Labs

  • Added official WOOFY sponsored farm

  • Established partnership with Popsicle

  • Maintained the lowest swap fee, and most diverse farms on the Fantom network

  • Fully audited by Certik

  • Built a bridge for Fantom - Ethereum - BSC

4.SpiritSwap

SpiritSwap is a decentralized exchange (DEX) on the Fantom Opera Chain. SpiritSwap’s design is based on the Uniswap constant-product automated market maker (AMM). In an AMM, liquidity providers simply deposit a pair of tokens and an algorithm automatically makes markets for the token pair. Traders can easily swap between tokens in the AMM and get guaranteed rates for the swaps. Each swap on SpiritSwap incurs a fee, which gets distributed to liquidity providers as their payment for work.

5.1inch Network

The 1inch Network unites decentralized protocols whose synergy enables the most lucrative, fastest and protected operations in the DeFi space.

The initial protocol of the 1inch Network is a DEX aggregator solution that searches deals across multiple liquidity sources, offering users better rates than any individual exchange. This protocol incorporates the Pathfinder algorithm which finds the best paths among different markets over 200+ liquidity sources on Ethereum, BNB Chain, Polygon, Avalanche, Optimistic Ethereum, Arbitrum, Fantom and Gnosis Chain. In just over two years the 1inch DEX aggregator has reached 1M users and surpassed $140B in overall volume on the Ethereum network alone.

The 1inch Aggregation Protocol facilitates cost-efficient and secure swap transactions across multiple liquidity sources.

The 1inch Liquidity Protocol is a next-generation automated market maker that protects users from front-running attacks and offers attractive opportunities to liquidity providers.

The 1inch Limit Order Protocol facilitates the most innovative and flexible limit order swap opportunities in DeFi. The protocol’s features, such as dynamic pricing, conditional orders and extra RFQ support, power various implementations, including stop-loss and trailing stop orders, as well as auctions.

The 1inch Wallet is a multichain mobile platform that provides an easy-to-navigate interface with secure storing, transaction and staking capabilities. This versatile wallet was built from the ground up to streamline interacting with 1inch’s features.

Build A dApp on Fantom via Spoon Now!

Spoon encourages all to connect any trending dApp on Fantom with other chains, which will empower the dApp ecosystem. For reference, we recommend you to check the tutorial of Spoon-Uniswap on ETHW.

You can directly call for any smart contract on Fantom via Spoon platform. Check here to learn more.