警告:您可能成为了企图假冒本网站内容的目标。 我们检测到该网站被IFRAME包裹,这意味着与EOS Canada无关的人试图向您展示他们的内容与我们的内容相关,可能为了让您相信他们与EOS Canada有关。 我们与任何试图这样做的组织都没有联系,它也没有受到我们的认可



WARNING: you may have been the target of an attempt to misrepresent the content of this site. We detected that the site was wrapped in an IFRAME, which means that someone else, not associated with EOS Canada, attempted to show you their content combined in some way with ours, possibly to make you believe they are associated with EOS Canada. We are not associated with, and do not endorse, any organization attempting to do this.
background-flotant-top-right-01

Blog: EOS Block Producer Tips & News

background-flotant-top-left-01

Q&A - How Inter-Blockchain Communication Works on EOS

May 01, 2018 / by Alexandre Bourget

In our Q&A series, we gather the questions most asked on Telegram, Reddit, Twitter, Steemit, etc... and try to provide the community with succinct, precise, and technically accurate answers. In this episode, Alexandre Bourget - Co-Founder at EOS Canada, walks us through how inter-blockchain communication works on the EOS network.

Transcription:

Hello everyone. I wanted to clear a few things up about inter-blockchain communication. There's been a lot of questions asked around, and I want to clarify a few things. especially regarding the mainnet, or a main net -- some people have been debating about that word.

So I want to explain how inter- blockchain communication works, and how it can interact with side chains.

Okay, so let's imagine we launched a mainnet which has the ERC 20 tokens. So a lot of people have a lot of tokens on there and someone launches another sidechain, which does not have the snapshot. There's no money issued over there. And then what we could do is with a pair of contracts, let's call that one here the "source network." Okay, where all the money is. And we'll call that one the "sidechain." And with the contract in here, and in here, you are able to send money to the contract in here. So the money's going to be sort of locked into that contract, right? The contract will not spend it. It'll keep it there, and with the proof of that transaction you can bring it on the other chain. And the other chain has a paired contract. It knows that it's coming from over there, and it's going to honour a transaction, and recognize this was really a transaction that happened on the "source network." It's going to take that transaction, and then you have all the information to unpack it.

So you know the source and destination, you know the amount of EOS that was transferred to that account - or even other currencies - and a contract to do many things. It could say I'm going to also give you, or print that contract, with "print EOS." And then you could transfer it to some other place, right? And so you could start using that money over there. But if you want to go back to the main network, or "the source network," you need to go back through the same contract, saying “okay I'm now going to burn those tokens.” So the contract will give you a proof that it has burnt the token, destroyed them, and you're going to bring that proof to the other smart contract. And the other smart contract has the block headers. They're constantly exchanging through some third party. They're like putting in there the block headers for one of the other chains, and that one will be able to say, "okay you really destroyed the the tokens on the other chain. I'm going to give you back those EOS that are locked in the contract."

So there's only one monetary base. Eventually block producers could be producing for the whole ecosystem, for many sidechains if it starts being worth it, but there would not be inflation on that other chain. Because it doesn't control the monetary base. Only the source chain would. So perhaps the block producer would be rewarded because the EOS ecosystem is growing and growing, also in number of chains. So that would still mean that you need to run servers to support the other chains, but I think that would make sense to have it all be paid off by those who are running the main chain, or the "source network" where the EOS token reigns supreme.

Topics: Video, EOS, Q&A, Inter-Blockchain Communication, EOS network, Education

Alexandre Bourget

Written by Alexandre Bourget

Alexandre lives through technology. He wrote his first botnet at 12, later graduated in classical piano and went on to a prolific career in software engineering, with notable open source contributions. Alexandre co-founded two startups, including Bitcredits (a bitcoin payments processor, FounderFuel 2014 Spring Cohort). He then helped PasswordBox (acquired by Intel) craft their data stack and ended up as a lead Data Scientist in the Intel Security Consumer division. Today, Alexandre is very active in the blockchain space, advising several early stage companies. Alexandre taught programming for many years. He does live-coding presentations like no one else (Confoo, PyCon conferences) and is the lead organizer of Golang Montréal. You’ll often find him on Telegram, working through lines of code and bugs with others, doing what he can to help build the EOS community.

cubes-solid

ABCs of EOS

A glossary of terms that every EOS user should know.

MORE

Apply to Access Our Newsletter

Get exclusive insights into EOS blockchain technology