bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 3쪽 중 3쪽
hey post dS to the Axelar blockchain.
3. The user (or an application acting on the user’s behalf) learns dS by monitoring the Axelar blockchain.
The user sends x amount of S-tokens to address dS via an ordinary S-transaction tx S using her favourite
software for chain S.
(Due to the threshold property of dS, tokens cannot be spent from dS unless a threshold number of the
validators coordinate to do so.)
4. tx S is posted on Axelar. The validators query the API of their chain S node software for existence of
tx S and, if the response is ”true”, report the answer to the Axelar chain.
5. Once > F weighted validators report ”true” for tx S at round R, Axelar asks validators to sign a
transaction aD that sends x amount of pegged- S tokens from DAxelar to wD.
6. Using threshold cryptography the validators sign aD. The signature is included in block R + 11.
7. Anyone can take the signed value aD from block R + 11 and post it to D.
8. The request has been serviced, once aD is posted on D the transfer is processed.
Now suppose a user demands to redeem x′ amount of wrapped- S tokens from chain D back to chain S, to
be deposited at a S-address wS of the user’s choice. The workflow is as follows:
1. The user initiates a transfer request ( x′, wS) by depositing x′ amount of wrapped-S tokens into cD via
an ordinary D-transaction using her favourite software for chain D.
2. ( x′, wS) is posted on Axelar. The validators query the API of their chain D node software for existence
of (x′, wS) and, if the response is ”true”, report the answer to the Axelar chain.
11
Axelar network: cross chain routing
Broadcast moduleBroadcast module Broadcast module
Threshold crypto Threshold crypto Threshold crypto
BridgesBridges Bridges
V alidator V alidator V alidator
Threshold
bridge accounts
Dapps User accounts
CTP
Threshold
bridge accounts
Dapps User accounts
CTP
External chain External chain
monitor threshold accounts
transfer assets
private p2p private p2p
execute txs execute txs execute txs
2nd layer consensus
2nd layer consensus
2nd layer consensusCGP
bridged
through Axelar
Figure 1: Component diagram
3. Once > F weighted validators report ”true” for ( x′, wS) at round R, Axelar asks validators to sign a
transaction aS that sends x′ amount of S tokens from SAxelar to wS.
4. Using threshold cryptography the validators sign aS. The signature is included in block R + 11.
5. Anyone can take the signed value aS from block R + 11 and post it to S.
6. The request has been serviced, once aS is posted on S the transfer is processed.
Additional requests supported by the CGP routing layer include locking, unlocking or transferring assets
across chains.
Achieving Atomic Cross-Chain T ransaction Flow. Depending on the cross-chain request type, Axelar
tries to ensure that the corresponding transactions are executed on multiple chains or none. Towards this,
every request can be in one of the following states in Axelar blockchain: (initialized, pending, completed,
timed out). If a timeout at the pending stage is triggered, the request returns an error code. Some timeout
events also begin a refund event: for instance, if an asset from one chain needs to be transferred into an
asset on another chain, if the receiving chain did not process the transaction, the asset is refunded back to
the original user.
7 Cross-Chain Transfer Protocol (CTP)
CTP is an application-level protocol that makes it easy for applications to leverage cross-chain features. We
explain the integration by focusing on asset transfer features (e.g., used in DeFi). These applications typically
consist of three main components: front-end GUI, smart contracts on one chain, and an intermediary node
that posts transactions between the front-end and the smart contracts. The front-ends interact with the
user’s wallets to accept deposits, process withdrawals, etc. Applications can leverage cross-chain features
12
by calling CTP queries analogous to HTTP/HTTPS GET/POST methods. These queries are subsequently
picked up by CGP layer for execution and results are returned back to the users.
• CTP Queries . Application developers can host their applications on any chain and integrate their
smart contracts with threshold bridge accounts to execute CTP queries.
• Threshold bridge accounts. Suppose an application developer builds their contracts on chain A. Then,
they would reference threshold bridge contracts to obtain cross-chain support. This contract allows
applications to:
– Register a blockchain it would like to communicate with.
– Register assets on that blockchain that it would like to leverage.
– Perform operations over the assets such as accept deposits, process withdrawals, and other func-
tions (similar to, say, ERC-20 contract calls).
Suppose a prominent DeFi application, MapleSwap, that natively resides on chain A registers with a
threshold bridge account. The Axelar validators collectively manage the contract itself on the corresponding
chain. Suppose a user wants to submit a deposit into a trading pair between assets X and Y that reside
across the two chains, respectively. Then, when a user submits such a request, it is routed via the threshold
bridge account to the Axelar network for processing. Form there, the following steps are performed:
1. Axelar network understands that this application registered for the cross-chain support across the
assets. It generates the deposits key leveraging threshold cryptography and consensus for the user on
the corresponding chains A and B.
2. The associated public keys are returned to the application and displayed to the user who can use their
favorite wallets to submit deposits. The corresponding secret key is shared across all Axelar validators.
3. When the deposits are confirmed, Axelar updates its cross-chain directory to record that the user on
the corresponding chains has deposited these assets.
4. The Axelar validators execute multi-party protocols to generate a threshold signature that allows
updating the threshold bridge account on chain A where the application resides.
5. The CTP query is then returned to the DeFi application smart contracts, which can update its state,
update its yield formulas, exchange rates, or execute other application state-related conditions.
Throughout this process, the Axelar network, on a high-level, acts as a decentralized cross-chain read/write
oracle, CGP is the routing layer in between chains, and CTP is the application protocol.
Additional Cross-Chain Requests. CTP supports more general cross-chain between applications across
blockchains such as:
• Perform Public Key Name Services (PKNS). This is a universal directory for mapping public keys
to phone numbers/twitter handles (a few projects, such as Celo, provide these features within their
platforms).
• Cross-chain application triggers. An application on chain A can update its state if some another
application on chain B satisfies a search criteria (interest rate < X ).
• Smart contract composability. Smart contract on chain A can update its state based on state of
contracts on chain B, or trigger an action to update a smart contract on chain B.
On a high-level, these requests can be processed since collectively, the protocols CTP, CGP, and Axelar
network can pass and write arbitrary verifiable state information across blockchains.
13
8 Summary
Over the next years, significant applications and assets will be built on top of multiple blockchain ecosys-
tems. Axelar network can be used to plug-in these blockchains into a uniform cross-chain communication
layer. This layer provides routing and application-level protocols that meet both platform builders and ap-
plication developers’ demands. Application developers can build on the best platforms for their needs and
leverage a simple protocol and API to access global cross-chain liquidity, users, and communicate with other
chains.
References
[1] Althea peggy. https://github.com/cosmos/peggy. [Cited on page 2.]
[2] Deterministic usage of the digital signature algorithm (dsa) and elliptic curve digital signature algorithm
(ecdsa). https://tools.ietf.org/html/rfc6979. [Cited on page 5.]
[3] Edwards-curve digital signature algorithm (eddsa). https://tools.ietf.org/html/rfc8032. [Cited on
page 5.]
[4] Eos.io technical white paper v2.
https://github.com/EOSIO/Documentation/blob/master/TechnicalWhitePaper.md. [Cited on page
1.]
[5] Ethereum: A secure decentralised generalised transaction ledger.
https://ethereum.github.io/yellowpaper/paper.pdf. [Cited on page 1.]
[6] The near white paper. https://near.org/papers/the-official-near-white-paper/ . [Cited on page
1.]
[7] Rainbow bridge. https://github.com/near/rainbow-bridge. [Cited on page 2.]
[8] Ren: A privacy preserving virtual machine powering zero-knowledge financial applications. https:
//whitepaper.io/document/419/ren-litepaper. [Cited on page 3.]
[9] tbtc: A decentralized redeemable btc-backed erc-20 token. https://docs.keep.network/tbtc/index.
pdf. [Cited on page 2.]
[10] Thorchain: A decentralized liquidity network. https://thorchain.org/. [Cited on page 3.]
[11] Kurt M. Alonso. Zero to monero. https://www.getmonero.org/library/Zero-to-Monero-1-0-0.
pdf. [Cited on page 1.]
[12] Jean-Philippe Aumasson, Adrian Hamelink, and Omer Shlomovits. A survey of ecdsa threshold signing.
Cryptology ePrint Archive, Report 2020/1390, 2020. https://eprint.iacr.org/2020/1390. [Cited on
page 6.]
[13] Ran Canetti, Nikolaos Makriyannis, and Udi Peled. Uc non-interactive, proactive, threshold ecdsa.
Cryptology ePrint Archive, Report 2020/492, 2020. https://eprint.iacr.org/2020/492. [Cited on
page 6.]
[14] cLabs Whitepapers. https://celo.org/papers. [Cited on page 1.]
[15] Ivan Damg˚ ard, Thomas Pelle Jakobsen, Jesper Buus Nielsen, Jakob Illeborg Pagter, and
Michael Bæksvang Østerg˚ ard. Fast threshold ECDSA with honest majority. In SCN, volume 12238
of Lecture Notes in Computer Science , pages 382–400. Springer, 2020. [Cited on page 6.]
[16] Manu Drijvers, Kasra Edalatnejad, Bryan Ford, Eike Kiltz, Julian Loss, Gregory Neven, and Igors
Stepanovs. On the security of two-round multi-signatures. InIEEE Symposium on Security and Privacy,
pages 1084–1101. IEEE, 2019. [Cited on page 6.]
14
[17] Cynthia Dwork, Nancy Lynch, and Larry Stockmeyer. Consensus in the presence of partial synchrony.
https://groups.csail.mit.edu/tds/papers/Lynch/jacm88.pdf. [Cited on page 5.]
[18] Rosario Gennaro and Steven Goldfeder. One round threshold ecdsa with identifiable abort. Cryptology
ePrint Archive, Report 2020/540, 2020. https://eprint.iacr.org/2020/540. [Cited on page 6.]
[19] Yossi Gilad, Rotem Hemo, Silvio Micali, Georgios Vlachos, and Nickolai Zeldovich. Algorand: Scaling
byzantine agreements for cryptocurrencies. Proceedings of the 26th Symposium on Operating Systems
Principles, 2017. https://dl.acm.org/doi/pdf/10.1145/3132747.3132757. [Cited on page 1.]
[20] Evan Kereiakes, Do Kwon, Marco Di Maggio, and Nicholas Platias. Terra money: Stability and adop-
tion.
https://terra.money/Terra_White_paper.pdf. [Cited on page 1.]
[21] Aggelos Kiayias, Alexander Russell, Bernardo David, and Roman Oliynykov. Ouroboros: A provably
secure proof-of-stake blockchain protocol. https://eprint.iacr.org/2016/889.pdf. [Cited on page 1.]
[22] Chelsea Komlo and Ian Goldberg. Frost: Flexible round-optimized schnorr threshold signatures. Cryp-
tology ePrint Archive, Report 2020/852, 2020. https://eprint.iacr.org/2020/852. [Cited on page
6.]
[23] Jae Kwon and Ethan Buchman. Cosmos: A network of distributed ledgers.
https://cosmos.network/resources/whitepaper. [Cited on pages 1 and 2.]
[24] Avalanche Team. Avalanche platform.
https://www.avalabs.org/whitepapers. [Cited on pages 1 and 2.]
[25] Gavin Wood. Polkadot: Vision for a heterogeneous multi-chain framework.
https://polkadot.network/PolkaDotPaper.pdf. [Cited on pages 1 and 2.]
15프로젝트로 돌아가기