Asigna bridge is based on multisig on Stacks and on Bitcoin (other networks will be added after the first launch). Multiple nodes from multiple trusted and solid projects on Stacks and Bitcoin will be set up to secure the bridging capabilities, therefore not a single project or entity will have too much control on user funds.
All source code will be presented asap to conduct internal audits and gather important feedback from all participants.
Main information about the bridging architecture:
All source code is written in Node.js.
Signer nodes have the full validation/verification logic to avoid potential issues with the main listener and could switch to the other one if that one acts maliciously. Transactions won’t be signed if at least one verification check is failing.
Asigna collects a small fee to the treasury from bridging operations (fee is to be defined).
In the first version, only Bitcoin and Stacks networks will be included in the bridging process, including Runes, Ordinals, BTC as pre-sBTC.
In a rare case of an emergency situation like someone sends to the bridge multisig a huge amount of whatever unsupported asset or a migration to a new set of nodes is needed, there’s a manual transaction flow applied. Manual transaction is presented by the listener and could be signed only directly in the terminal by the signer node after manual verification of the transaction legitimacy. In this case, the listener will be stopped until this transaction goes through to avoid potential collisions.
If a transaction is stuck in the target blockchain, it is possible to speed up the transaction and the listener will initiate the process after ~N blocks (different for each blockchain). Signer nodes verify and validate the gas amount applied, compare transactions to be exactly the same, and verify that the time passed is enough to apply the gas fee increase.
Bridging from Stacks to Bitcoin and back is done in a single operation.
Different metaprotocols from Bitcoin, standards on Stacks, other networks with any VMs can be supported by such a bridging solution since it does not rely on Smart contract proofs, but rather on a wide trusted set of node signers from multiple entities.
Deliverables
Smart contracts:
asigna-bridge-controller.clar: Allows migration of ownership to a new set of multisig signers.
asigna-bridge-fee-manager.clar: Allows configuration of bridging fees for v1.
asigna-bridge-v1.clar: Main bridging contract. ONLY bridge multisig set of signers can finalize BTC -> Stacks bridge operations.
asigna-ordinals-nft.clar: Ordinals wrapper.
asigna-bridge-ft.clar: Fungible wrapper for psBTC and Runes.
Roadmap & Timeline
Milestone 1: Initial setup and development of Node.js application for bridging operations (6 weeks).
Milestone 2: Implementation of multisig signer nodes and validation/verification logic (8 weeks).
Milestone 3: Development of smart contracts and integration with the Node.js application (10 weeks).
Milestone 4: Testing and security audits, including internal audits and feedback gathering from participants (6 weeks).
Milestone 5: Deployment and monitoring of the bridge operations, including emergency handling mechanisms (4 weeks).
Recipient: Asigna Bounty: $80k
Project Approach
Asigna bridge is based on multisig on Stacks and on Bitcoin (other networks will be added after the first launch). Multiple nodes from multiple trusted and solid projects on Stacks and Bitcoin will be set up to secure the bridging capabilities, therefore not a single project or entity will have too much control on user funds.
All source code will be presented asap to conduct internal audits and gather important feedback from all participants.
Main information about the bridging architecture:
Deliverables
asigna-bridge-controller.clar
: Allows migration of ownership to a new set of multisig signers.asigna-bridge-fee-manager.clar
: Allows configuration of bridging fees for v1.asigna-bridge-v1.clar
: Main bridging contract. ONLY bridge multisig set of signers can finalize BTC -> Stacks bridge operations.asigna-ordinals-nft.clar
: Ordinals wrapper.asigna-bridge-ft.clar
: Fungible wrapper for psBTC and Runes.Roadmap & Timeline