

Share Dialog
Share Dialog

Subscribe to Joshun

Subscribe to Joshun
<100 subscribers
<100 subscribers
When a user (staker) sends a call to the pricing API to calculate the exchange rate, the system initiates the process by referencing a predefined genesis price, typically set at a 1:1 ratio. This genesis price serves as the initial benchmark for determining the value exchange between two assets or tokens. The pricing API then computes the current exchange rate by factoring in market conditions, supply and demand dynamics, and any other relevant parameters that might influence the price since the genesis. The calculated rate is then returned to the user, providing an updated valuation based on real-time data.
Then a user generates and signs an order for asset transfer, they initiate a process that involves creating a formal request to move a specified quantity of an asset — such as cryptocurrency or tokens — from one account to another. The generation of the order includes specifying details like the amount, destination address, and any conditions or fees associated with the transfer. Once the order is generated, the user signs it using their private key, a cryptographic tool that verifies the authenticity and integrity of the transaction. This digital signature ensures that the order is secure and has been authorized by the rightful owner of the assets, preventing unauthorized transfers. Once signed, the order is ready to be submitted to the network or blockchain for processing and execution.
Next is when a user transfers or stakes Bitcoin assets to an MPC (Multi-Party Computation)-secured custodial address or staking contract, they are utilizing a highly secure method to safeguard their assets. MPC technology distributes the control of private keys across multiple parties, ensuring that no single entity has full access, thereby enhancing security against breaches. Once the Bitcoin is securely staked or transferred, the user initiates a mint request on the destination chain, which is typically a different blockchain or layer where the staked Bitcoin can be represented as a wrapped or tokenized asset. This minting process involves creating a new token on the destination chain that mirrors the value and properties of the staked Bitcoin, allowing the user to utilize their assets within the ecosystem of the destination blockchain while the original Bitcoin remains secured.
Then Photon system plays a critical role in overseeing and managing deposit transactions by continuously monitoring the movement of Bitcoin assets into its custodial address or staking contract. It communicates these transactions to the relevant systems to ensure that the process is synchronized and prepares for the incoming mint request. Based on the amount of staked Bitcoin assets, the system calculates and determines the equivalent amount of PBTC (a wrapped or tokenized version of Bitcoin) to be issued, ensuring that the value of the minted tokens accurately reflects the staked Bitcoin.
After the order passes all checks and validation, the PBTC tokens are minted using an atomic mint function, which ensures that the process is executed in a single, indivisible step. This function guarantees that the tokens are created and transferred to the user’s wallet on the destination chain seamlessly, without any intermediary steps. The atomic nature of the function also ensures that the minting process is both secure and reliable, minimizing the risk of errors or inconsistencies.
Atomic mint refers to a process where both the user’s asset transfer to the custodial address or staking contract and the minting of PBTC are completed within a single, indivisible transaction. This means that the asset transfer and PBTC minting occur simultaneously, ensuring that both actions are executed together without any intermediate steps. If any part of this process encounters an issue or fails, the entire transaction is reverted to prevent partial or incomplete operations, thereby maintaining the integrity and consistency of the asset transfer and token minting.
When a user (staker) sends a call to the pricing API to calculate the exchange rate, the system initiates the process by referencing a predefined genesis price, typically set at a 1:1 ratio. This genesis price serves as the initial benchmark for determining the value exchange between two assets or tokens. The pricing API then computes the current exchange rate by factoring in market conditions, supply and demand dynamics, and any other relevant parameters that might influence the price since the genesis. The calculated rate is then returned to the user, providing an updated valuation based on real-time data.
Then a user generates and signs an order for asset transfer, they initiate a process that involves creating a formal request to move a specified quantity of an asset — such as cryptocurrency or tokens — from one account to another. The generation of the order includes specifying details like the amount, destination address, and any conditions or fees associated with the transfer. Once the order is generated, the user signs it using their private key, a cryptographic tool that verifies the authenticity and integrity of the transaction. This digital signature ensures that the order is secure and has been authorized by the rightful owner of the assets, preventing unauthorized transfers. Once signed, the order is ready to be submitted to the network or blockchain for processing and execution.
Next is when a user transfers or stakes Bitcoin assets to an MPC (Multi-Party Computation)-secured custodial address or staking contract, they are utilizing a highly secure method to safeguard their assets. MPC technology distributes the control of private keys across multiple parties, ensuring that no single entity has full access, thereby enhancing security against breaches. Once the Bitcoin is securely staked or transferred, the user initiates a mint request on the destination chain, which is typically a different blockchain or layer where the staked Bitcoin can be represented as a wrapped or tokenized asset. This minting process involves creating a new token on the destination chain that mirrors the value and properties of the staked Bitcoin, allowing the user to utilize their assets within the ecosystem of the destination blockchain while the original Bitcoin remains secured.
Then Photon system plays a critical role in overseeing and managing deposit transactions by continuously monitoring the movement of Bitcoin assets into its custodial address or staking contract. It communicates these transactions to the relevant systems to ensure that the process is synchronized and prepares for the incoming mint request. Based on the amount of staked Bitcoin assets, the system calculates and determines the equivalent amount of PBTC (a wrapped or tokenized version of Bitcoin) to be issued, ensuring that the value of the minted tokens accurately reflects the staked Bitcoin.
After the order passes all checks and validation, the PBTC tokens are minted using an atomic mint function, which ensures that the process is executed in a single, indivisible step. This function guarantees that the tokens are created and transferred to the user’s wallet on the destination chain seamlessly, without any intermediary steps. The atomic nature of the function also ensures that the minting process is both secure and reliable, minimizing the risk of errors or inconsistencies.
Atomic mint refers to a process where both the user’s asset transfer to the custodial address or staking contract and the minting of PBTC are completed within a single, indivisible transaction. This means that the asset transfer and PBTC minting occur simultaneously, ensuring that both actions are executed together without any intermediate steps. If any part of this process encounters an issue or fails, the entire transaction is reverted to prevent partial or incomplete operations, thereby maintaining the integrity and consistency of the asset transfer and token minting.
No activity yet