August 2, 2026

Capitalizations Index – B ∞/21M

Building Secure and Highly Available Bridges Between Crypto Islands

Building Secure and Highly Available Bridges Between Crypto Islands

In today’s market place, there are many different blockchain projects. Each blockchain project forms its own trusted ecosystem. Inside each ecosystem, all transactions are collaboratively validated by all its participants, the majority of its participants, or a subset of selected delegates. Most of the blockchain projects also provides high availability through built-in redundancies. Everything works well as long as the logics stays inside one particular blockchain project, or as we called it, a crypto island.

As we know, a closed system normally does not possess any significant value. In the real-world applications, logics inside one blockchain project will eventually want to talk to the outside world one way or another. Propagation the desired properties of the blockchain project to the outside world is a challenging problem that requires a lot of thoughts and many discussions. In this article, I would like to discuss one particular scenario where one blockchain project wants to talk to another blockchain project. This article provides one solution of implementing a secure and highly available bridge between two blockchain projects. Solutions for ad hoc network between different blockchain projects can easily be extended from the provided solution.

To harden the problem, let’s formulate a more concreate example. Suppose we have already built a blockchain backed crypto exchange. All order book and trade updates are validated by the selected delegates. A hacker who successfully broke into one or several delegates cannot manipulate any transaction since the majority of the delegates will invalidate it. Collusion are also unlikely since it requires the participation of the majority of the delegates to go rogue. As a result, the blockchain itself is considered secure and transparent, thus can be trusted. This is all good as long as the crypto exchange stands alone.

Let’s say the crypto exchange supports trades between Bitcoin and other cryptocurrencies. We need to support deposits and withdraws of Bitcoin. The deposits and withdraws can be seen as two-direction traffic between the Bitcoin blockchain and the crypto exchange main chain. Let’s discuss how can we build such a bridge with the properties of security and high availability.

User workflow

When a user of the crypto exchange opens an account, he/she is allocated a Bitcoin deposit address. The user can make a deposit to this address through any Bitcoin wallet or third-party tool, and the balance should be reflected in his/her account. The user can also withdraw from the crypto exchange by providing a valid Bitcoin address. On the crypto exchange side, the following three operations need to be supported:

  • Allocate a new bitcoin address.
  • Increase user account balance when a deposit is made.
  • Adjust user account balance and send bitcoin to user provided address when a withdraw request is made.

A sample service

A sample service can be built with a bitcoin full node, a bitcoin client. Now let’s implement the operations required:

Implement with getnewaddress from Original bitcoin client API calls list
  • Increase user account balance when a deposit is made to the bitcoin address
Implement with getblock from Original bitcoin client API calls list and scan transactions sending bitcoin to the bitcoin address
  • Adjust user account balance and send bitcoin to user provided address
Implement with sendtoaddress from Original bitcoin client API calls list and send bitcoin to user provided address

What can go WRONG!

Even without a hacker present, there are enough problems with this sample service:

  • The service host can go down.
  • The bitcoin full node can lag behind.
  • Private key can be leaked or lost.
  • The owner of the private key can take the bitcoin and run.

A hacker can also launch several other attacks:

  • A hacker can redirect the traffic of getnewaddress to a fake agent.
  • A hacker can act as man in the middle and replace bitcoin address with his/her address.
  • A hacker can return fake a deposit and have bitcoin balance without making any deposit.

The above scenarios either degrade the availability of the service, or result in complete security breach.

A Secure and Highly Available Service

Now, let’s discuss how can we implement a secure and highly available service that solve all the problems presented above. The backbone of the proposal is to distribute the ownership of Bitcoin address and employ the same set of delegates to validate cross blockchain operations. The distribute of the ownership of Bitcoin address is fairly straightforward, we can directly adopt the multi-signature feature supported by Bitcoin. The cross blockchain operation validations are trickier and they are discussed below.

1. Randomly select one active delegate
2. The selected delegate creates an multi-signature address with the public keys of all delegates
3. The crypto exchange receives the multi-signature address
4. The crypto exchange asks each delegate to do the following:
a. Query bitcoin blockchain to get the information of the address
b. Verify the public keys of the address matches the delegates
5. If M out of N (N/2 < M < N) delegates succeed in step 4, add address to user’s account. Otherwise, go back to step 1
  • Increase user account balance when a deposit is made to the bitcoin address
1. Each delegate maintains its own bitcoin full node and scan transactions in each block
2. If a deposit to the bitcoin address is found, send the information back to the crypto exchange
3. If M out of N (N/2 < M < N) notifications are collected for address with the same information, increase user account balance
  • Adjust user account balance and send bitcoin to user provided address
1. Randomly select one active delegate
2. The selected participant creates a proposal to send bitcoin to the user provided address
3. The crypto exchange receives the proposal
4. The crypto exchange asks each delegate to do the following:
a. Validate the user provided address is valid
b. Validate the user account has sufficient balance
c. Validate the proposal matches the record on the blockchain
d. Sign the proposal
5. If M out of N (N/2 < M < N) participants signed the proposal in step 4, adjust user account balance. The selected delegate sends out the signed multi-signature transaction. Otherwise, go back to step 1
6. The crypto exchange asks delegate to monitor the transaction
7. If M out of N (N/2 < M < N) notifications are collected for complete of the transaction, mark the complete of the withdraw

What can go WRONG!

Let’s reinstate the failing scenarios for the simple service and see what happens:

  • The service host can go down — not a problem, as long as more than M services are still up and running.
  • The bitcoin full node can lag behind — not a problem, as long as more than M services are still up and running.
  • Private key can be leaked or lost — not a problem, as long as M private keys are not leaked or lost.
  • The owner of the private key can take the bitcoin and run — not a problem, as long as less than M delegates go rogue.

What about hackers:

  • A hacker can redirect the traffic of getnewaddress to a fake agent — not a problem, as long as the traffic is redirected to less than M fake agents.
  • A hacker can act as man in the middle and replace bitcoin address with his/her address — not a problem, as long as less than M man in the middle attacks succeeded.
  • A hacker can return fake a deposit and have bitcoin balance without making any deposit — not a problem, as long as less than M delegates are hacked.

Hooray! That is the secure and highly available service we promised to build. With it acting as a crypto bridge between the Bitcoin blockchain and the crypto exchange main chain, the composite system is the secure, highly available, and can be trusted.

Published at Wed, 20 Feb 2019 22:03:21 +0000

Previous Article

Prediction market protocol Gnosis launches new DutchX smart contracts

Next Article

Ethereum Price Resumes Bullish Trend as $150 Remains in Sight

You might be interested in …

NextBlock CEO Alex Tapscott Cancels Plans to Go Public and Will Return Money to Investors

Tapscott

Alex Tapscott, CEO of NextBlock Global, a venture capital company investing in blockchain technologies, announced in a press release yesterday that he is canceling their plans to go public through a reverse takeover (RTO) of Nobelium Tech Corp., a company listed on the Toronto Stock Exchange (TSX).

Tapscott said the young company had “stumbled” in falsely listing some crypto and blockchain experts as members of the firm’s advisory board. He is currently talking to NextBlock investors to work out how to return their original investments and to “rebuild the trust of those [they] have disappointed.”

NextBlock Global raised $20 million in their initial oversubscribed fundraising in July 2017 and had hoped to raise $100 million in the public offering. They planned to invest in digital currencies, blockchain hosting platforms and blockchain-based applications.

CIBC and investment bank Canaccord Genuity (a former employer of Tapscott’s) were underwriters on the deal, but CIBC pulled its support from the young venture capital firm amid the allegations.

According to BNN, clients of CIBC received an email saying, “CIBC has withdrawn as an agent from the NextBlock Global Limited private placement.” CIBC was not available for comment.

Sources have told BNN that Canaccord Genuity remained in the deal.

An article in Forbes last week detailed complaints from Kathryn Haun, Vinny Lingham, Dmitry Buterin and Karen Gifford that Tapscott had circulated an investor deck that incorrectly listed them as members of the NextBlock advisory board.

Dmitry Buterin, co-founder of Blockgeeks and father of Ethereum co-founder Vitalik Buterin, was included in at least one draft of the investor deck. He told bitcoin Magazine in a recent interview what had happened. He recounted:

“It’s pretty simple. Alex asked me to be an advisor, I declined. Then I got a deck forwarded to me which listed me as an advisor. It was forwarded to me by investors who received it from Alex.”

Buterin said he had met with Tapscott to let him know he wouldn’t be on the advisory board:

“We had a meeting and I was not convinced that they have the right resources to pull this off.”

When Is an Advisory Board Not an Advisory Board?

A thread on Twitter about NextBlock recently included some comments about how advisory boards have become routine and are often used as window dressing for making ICO pitches and, therefore, they aren’t really “advising” as such.

One user commented that likely only 50 to 60 percent of advisory boards are legitimate anymore, and put the NextBlock situation in a different light, implying that it’s become common practice to dress up a proposal with photos of known experts.

Amber D. Scott, CEO of Outlier Solutions, told bitcoin Magazine that she gets several requests a week to sit on ICO advisory boards. Scott explained that the conversation often goes like this:

ICO rep: “We saw you speak at an event and would love to add you as an advisor.”

Scott: “I’ve looked at your website/white paper and I’m not sure where you need compliance advice. Could you please elaborate on that?”


ICO rep: “You don’t actually have to do anything. We’ll just put your picture and bio on the website. You have a great name in the community.”


Andreas Antonopoulos, well-known author of “Mastering bitcoin,” says on his website that he does not accept invitations to sit on advisory boards and that he will not discuss projects publicly if he does work as an advisor.


Vitalik Buterin has also had to make it clear several times on Twitter that he is not an advisor for a number of firms that have touted his advice.


What could have been a major scandal for both the Tapscotts (father Don and son Alex) has been averted by this move, but how much long-term damage both NextBlock and the Blockchain Research Institute will sustain to their reputation remains to be seen.


The father-son Tapscott team co-founded the Toronto-based think tank Blockchain Research Institute, and co-authored the book “Blockchain Revolution: How the Technology Behind bitcoin Is Changing Money, Business and the World,” which has been translated into more than 20 languages.

The Blockchain Research Institute is holding a Members Summit this week in Toronto. Members of the think tank include CIBC, Microsoft, IBM, Fujitsu, Accenture, Tencent, Bell, Nasdaq, FedEx, Interac and the Governments of Canada and Ontario.

The post NextBlock CEO Alex Tapscott Cancels Plans to Go Public and Will Return Money to Investors appeared first on Bitcoin Magazine.

Проверка / joincoin. Win

ПРОВЕРКА / Joincoin.win

ПРОВЕРКА / Joincoin.win я в вк https://vk.com/mrshahidd группа https://vk.com/mrshahid бабло отсюда https://youpartnerwsp.com/join?60234