Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

feat: add omni lock script extension #468

Open
wants to merge 43 commits into
base: dev-0.4
Choose a base branch
from

Conversation

EthanYuan
Copy link
Collaborator

What this PR does / why we need it:

Based on the issue #458, this PR adds the omni lock script extension to Mercury, and keeps the current rpc interface definition unchanged. For users who use omni lock, Mercury's convenient transfer of CKB and UDT is now possible.

Supported Omni Lock Auth Flags:

  • 0x00: CKB (secp256k1)
  • 0x01: Ethereum

Supported Omni Lock Args:

  • OFF
  • ACP

This PR gives Mercury the ability to extend the lock script dimension, making it easier to add new lock scripts.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

@EthanYuan EthanYuan changed the title Add Omni Lock Script Extension feat: add omni lock script extension Nov 10, 2022
@EthanYuan EthanYuan requested a review from quake November 10, 2022 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant