-
Notifications
You must be signed in to change notification settings - Fork 70
Labels
enhancementNew feature or requestNew feature or request
Description
Background
Morph aims to build a payment settlement layer. To better support payment use cases, we plan to introduce a Reference Key at the chain level.
The native transaction structure does not currently support carrying additional fields for a reference. We need to introduce this field so that off-chain systems can directly query on-chain transaction information using it. The following requirements must be met:
- Indexing: Support indexed queries based on the Reference Key, either alone or in combination with other fields.
- Performance: No degradation to chain performance.
- Readability & Usability: The key should be easy for merchants to generate and use.
Approach
We will rename the existing AltFeeTx to MorphTx and add Reference Key related fields to support the inclusion and indexing of this field.
A new RPC query interface will also be introduced to allow querying transaction information based on the Reference Key.
Reference
https://larkfive.sg.larksuite.com/wiki/K3j8wYaFyiNYGmkrU5DlQ2nOgXc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request