On-chain refers to any activity, transaction, or data directly recorded on a blockchain. When an event happens “on-chain,” it is included in the everlasting history of the blockchain, and it can be seen by anyone as well as being protected by the consensus rules of the network. Such kinds of activities include sending coins and tokens, engaging with a smart contract, generating NFTs, participating in a DAO, or confirming a block.

The reason for on-chain actions being included by the blockchain is that they receive the main features of the network: openness, unalterability, and security. A transaction cannot be modified or deleted once it is confirmed. Anyone can check it using a block explorer, which gives users the ability to monitor the distribution, engage in contract activities, and the flow of funds without depending on a single authority.

Normally, on-chain transactions come with the cost of a fee, frequently termed “gas”, because the computers of the network have to handle, confirm, and keep the data. As a result, on-chain operations are seen as very reliable but at the same time being the most costly or slowest, particularly when the network traffic is high.

However, many of the latest protocols now opt for “off-chain” processing to enhance the speed factor, submitting only the final results back to the blockchain. Nevertheless, the on-chain layer still holds the truth.

Join our newsletter

Disclaimer: Coin Medium is not responsible for any losses or damages resulting from reliance on any content, products, or services mentioned in our articles or content belonging to the Coin Medium brand, including but not limited to its social media, newsletters, or posts related to Coin Medium team members.

Related Terms

WBTC

The Wrapped Bitcoin token operates as an ERC-20 token on the Ethereum blockchain which maintains a one-to-one value relationship with Bitcoin. One WBTC token receives backing from one Bitcoin which a custodian keeps in secure storage. WBTC enables Bitcoin holders to access their cryptocurrency through Ethereum-based applications which use their Bitcoin holdings. The two cryptocurrencies Bitcoin and Ethereum function on different blockchain networks which do not enable their users to perform transactions between both systems. The WBTC system operates by

Slippage

Slippage describes the discrepancy between the anticipated trading price and the actual trading price which results from executing a trade. Slippage occurs in cryptocurrency markets when there are two conditions which create high volatility and low liquidity because prices experience rapid changes from order placement until actual order completion. A trader attempts to purchase Bitcoin at a specific price, but by the time his order reaches execution, the market price has moved upward. The trade is completed, but at a

Vyper

Vyper enables programmers to create smart contracts which operate on the Ethereum blockchain through its dedicated programming system. The system serves as a replacement for Solidity programming because its designers built it to create secure and accessible code which users can easily understand. The creation of Vyper emerged as a solution to simplify smart contract development because developers considered Solidity to be the most popular programming language for that purpose which included features that created security risks. Vyper uses Python-based