Author

Topic: Need some answers. (Read 278 times)

newbie
Activity: 5
Merit: 0
April 15, 2019, 01:50:37 PM
#5
hi.. actually i dont know about onchain and sidechain but i can define what is blockchain.

Blockchain: Blockchain is a distributed ledger, a type of database stored on many computers
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
March 26, 2019, 11:01:21 PM
#4
Layman terms again (requested to be moved to Beginners' Board).

In the simplest terms:
  • Mainchain - When forks happen, two or more blockchains will/might be created by different set of nodes, the longest continued chain that has been abiding by the network rules is what is called "the Mainchain".
    Fork(s): Another blockchain(s) that became the result of nodes having different network rules or "settings" that produces different set of blocks, intentionally (fork coins) or accidentally (invalid mined block(s)).
  • Onchain - As stated by HeRetiK, the term is widely used in Lightning Network primarily when stating about regular bitcoin transactions and opening and closing channel transactions.
  • Sidechain - Any other blockchain that isn't related to Bitcoin's blockchain but benefits from it through different methods.
hero member
Activity: 1834
Merit: 566
March 26, 2019, 08:58:14 AM
#3
I believe is either you dont do the research properly or dont know how to use google search engine to get the require answer. For on chain will find everything you need to know about it on investopedia and for the rest googling mainchain meaning etc.
legendary
Activity: 3122
Merit: 2178
Playgram - The Telegram Casino
March 26, 2019, 08:55:59 AM
#2
On-chain transactions are transactions that get recorded on the blockchain (ie. the distributed ledger storing all transactions of Bitcoin or the cryptocurrency of your choice). The opposite of these are off-chain transactions, which refer to either (a) the internal transactions as handled by exchanges and custodial wallets (ie. you send an on-chain transaction to an exchange, when you sell your coins to another person the exchange creates an internal off-chain transaction which is essentially a simple database entry subtracting the sold coins from your exchange account and crediting it to the account of your counterparty) or (b) decentralized 2nd layer solutions (eg. akin to telecommunication protocol layers) that handle transactions on a higher level protocol layer while using the blockchain and its on-chain transactions for settlement only (eg. akin to how credit cards will debit your bank account at the end of the month, but not for every single transaction). A typical example for (b) being Lightning Network [1].

Sidechains are usually smaller blockchains that rely on more established blockchains for their security via merge mining or similar means (which would in this case be the mainchain). Not all coins that are merge mined are necessarily sidechains though (eg. Namecoin [2] is merged mined with Bitcoin but not a sidechain) and to be honest I'm not sure whether all sidechains are actually merge mined either; but the gist is that a sidechain's security is handled by its corresponding mainchain. Tokens as issued by the sidechain are then usually pegged to the mainchain's native currency in one way or another, with the sidechain usually serving a purpose that goes beyond what the mainchain can provide. An example for such a sidechain would be RSK [3], which intends to provide Ethereum-style smart contracts for Bitcoin by going beyond Bitcoin's native scripting capabilities.

Using sidechains has also been proposed as a possible scaling approach by moving certain types of transactions off the mainchain and onto a sidechain (or federated sidechains) and I'm sure other use cases have been suggested as well; however I haven't looked into sidechains all that deeply.

[1] https://lightning.network/
[2] https://namecoin.org/
[3] https://www.rsk.co/
member
Activity: 72
Merit: 27
March 26, 2019, 08:02:55 AM
#1
What is the main difference between Mainchain, Onchain and sidechain? I did some google search but was not able to find the answers in easy layman terms.
Jump to: