Developers
About
Ecosystem
November 4, 2021
·
By Axelar team

Axelar Open-Sources Multi-Party Cryptography Libraries

Axelar is pleased to announce the release of the source code for two Rust-language crates for multi-party cryptography under a permissive and conventional dual Apache2/MIT license.

TECHNOLOGY
cover image

Axelar is pleased to announce the release of the source code for two Rust-language crates for multi-party cryptography under a permissive and conventional dual Apache2/MIT license. The newly released crates are called tofn and tofnd. They provide implementations for multi-party cryptography protocols used in the Axelar network.

The Axelar network runs various multi-party protocols to process cross-chain requests. Multi-party protocols are critical in building decentralized interoperability protocols across blockchains. They enable a group of validators to reach collective decisions on which transactions should be processed. Multi-party key-generation and signing are two of the core primitives needed to process such requests. These primitives can be achieved by several methods, including:

  • Basic multi-signatures (where appropriate), and

  • Cryptographic threshold protocols (to save on gas costs or translation sizes).

At present, Axelar utilizes both these methods via tofn and tofnd with more to come in the future.

tofn

tofn (t-of-n) is a pure-Rust library that provides:

  • An implementation of the

    GG20 protocol for threshold-ECDSA

    .

  • Exposure to the ECDSA primitives needed for basic multi-signatures.

  • A general-purpose SDK (software development kit) to facilitate the development and use of multi-party cryptography protocols such as GG20.

Learn more at the tofn git repository.

tofnd

tofnd (tofn-daemon) is a pure-Rust executable that provides:

  • A gRPC server that exposes the multi-party cryptography functionality of the tofn library.

  • Encrypted storage of cryptographic secret keys.

Learn more at the tofnd git repository.

The road ahead

Both tofn and tofnd are currently under active and ongoing development. Both repos were audited by NCC Group Cryptography Services on 2021-aug-10 and by Adrian Hamelink and Lúcás Meier on 2021-oct-29. Open-sourcing these libraries is an important milestone for the Axelar ecosystem and community. Our core mission is to build a secure and robust cross-chain interoperability network, and we always welcome contributions and feedback from the community.


Axelar Open-Sources Multi-Party Cryptography Libraries was originally published in Axelar on Medium, where people are continuing the conversation by highlighting and responding to this story.


Bio
Axelar delivers secure cross-chain communication for Web3. Axelar is a universal overlay network that supports General Message Passing and composability of programs via a proof-of-stake transport layer.
August 15, 2022
·
By Axelar team
blog cover

How to Stake the AXL Token on the Axelar Network

Step-by-step on staking the AXL token to contribute to the security of cross-chain communication on the Axelar network.

Read more
August 9, 2022
·
By Axelar team
blog cover

Axelar, Aurigami, and Trisolaris Join Forces to Bring Secure Cross-Chain Lending and Liquidity to NEAR Protocol’s Aurora

Axelar’s interoperability protocol will power a new cross-chain DEX and money market, unlocking new capabilities for AURORA, NEAR, and USN holders.

Read more
August 3, 2022
·
By Sergey Gorbunov
blog cover

How to Build a Cross-Chain DApp: Interop Architecture 101

How to go about designing cross-chain architecture.

Read more
Axelar powers the cross-chain future.