Explore-Beyond-Innovations / Explore-Beyond-Innovations/ZeroXBridge_Frontend

✅ Issue 3: Integrate unlockFundsWithProof – Withdraw bridged funds on L1

Open
#149 6 comments 0 reactions 1 assignee Claimed by @stephanniegb View on GitHub
Dominant language
TypeScript
Stars
32
Forks
70
PR merge metrics
No merged PRs in 30d

Description

# ✅ Issue 3: Integrate unlockFundsWithProof – Withdraw bridged funds on L1
## Summary:
Connect the UI to allow users to unlock their bridged assets on L1 once their proof has been verified on L2.
Tasks:
Get proof data and signature from backend or allow user to input placeholder values during testing.

Format proofdata as:

uint256 starknetPubKey = proofdata[0];
uint256 usd_amount = proofdata[1];
uint256 nonce = proofdata[2];
uint256 timestamp = proofdata[3];

Call:

unlockFundsWithProof(assetType, tokenAddress, proofdata, commitmentHash, starknetSig)

Contract Info:
📍 L1 Bridge (Sepolia):[ 0x8F25bFe32269632dfd8D223D51FF145414d8107b](https://sepolia.etherscan.io/address/0x8F25bFe32269632dfd8D223D51FF145414d8107b#code)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.