You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
Goal: demonstrate use of ZkVM sidechain with Stellar assets.
Import workflow:
A button "import from Stellar".
Form: select the destination account or enter Wallet ID.
UI: shows the one-time code (zkvm address?) to enter into the Memo field in the Stellar wallet.
Paste the tx id, query the horizon and check that the memo field contains the hashed or plaintext code (Keybase seems to encode text in utf8 w/o hashing).
Find in the DB the wallet ID matching the code and form a transaction. Replace the code record by the tx record, so the user cannot use the code twice. Then, build and submit the ZkVM tx that issues the mapped asset (issuance customized by the metadata containing asset ID).
Export workflow:
Detect a retire entry on ZkVM chain, followed by a log entry that specifies the Stellar asset ID, qty (u64) and destination account.
If the retired value is a non-blinded commitment with corresponding qty and flavor derived from that Stellar asset ID, then the retirement is considered a valid withdrawal request.
Each withdrawal request is strictly ordered, and ordering maps directly onto Stellar sequence numbers, so we can issue txs w/o replay attacks.
Once we detect the retirement, submit the tx to Horizon sending the corresponding asset to the desired account. The destination account receives the asset that was locked by the app.
Goal: demonstrate use of ZkVM sidechain with Stellar assets.
Import workflow:
Export workflow:
retire
entry on ZkVM chain, followed by alog
entry that specifies the Stellar asset ID, qty (u64) and destination account.Problems to solve:
Choose an SDK to connect to the public Stellar-owned Horizon instance: https://www.stellar.org/developers/reference/
The text was updated successfully, but these errors were encountered: