Bitcoin Forum
August 08, 2020, 03:58:21 AM *
News: Latest Bitcoin Core release: 0.20.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need some answers.  (Read 179 times)
saraschoudhary
Member
**
Offline Offline

Activity: 70
Merit: 23


View Profile
March 26, 2019, 01:02:55 PM
 #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.
1596859101
Hero Member
*
Offline Offline

Posts: 1596859101

View Profile Personal Message (Offline)

Ignore
1596859101
Reply with quote  #2

1596859101
Report to moderator
1596859101
Hero Member
*
Offline Offline

Posts: 1596859101

View Profile Personal Message (Offline)

Ignore
1596859101
Reply with quote  #2

1596859101
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1596859101
Hero Member
*
Offline Offline

Posts: 1596859101

View Profile Personal Message (Offline)

Ignore
1596859101
Reply with quote  #2

1596859101
Report to moderator
1596859101
Hero Member
*
Offline Offline

Posts: 1596859101

View Profile Personal Message (Offline)

Ignore
1596859101
Reply with quote  #2

1596859101
Report to moderator
HeRetiK
Legendary
*
Offline Offline

Activity: 1554
Merit: 1354


the forkings will continue until morale improves


View Profile
March 26, 2019, 01:55:59 PM
Merited by OgNasty (1), ETFbitcoin (1), BitcoinGirl.Club (1), mk4 (1), o_e_l_e_o (1), TheBeardedBaby (1), Heisenberg_Hunter (1), DdmrDdmr (1)
 #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/

hulla
Hero Member
*****
Offline Offline

Activity: 1512
Merit: 544


View Profile
March 26, 2019, 01:58:14 PM
 #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.
nc50lc
Legendary
*
Online Online

Activity: 1036
Merit: 1365


Self-proclaimed Genius ㊙️


View Profile WWW
March 27, 2019, 04:01:21 AM
 #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.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!