-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Currently protocol layer embed data via fake address (Class A), multi-sig transaction (Class B) or payload after OP_RETURN. The business logic is in omnicored which impacts mass adoption in well-known wallets. To accelerate decentralization including 3rd party adoption protocol may expose a bitcoin like script (similar to K lang) instead of payload after OP_RETURN. It potentially exposes a contract between couple of parties, set of rules/activations/consensus hash (restricted to exodus address). It means protocol upgrades is deployed by protocol owner, to prevent bad interpretation business logic needs to deployed on-chain as well.
- WebAssembly compiled library could be incorporated in witness script (ordinals like) and live on-chain.
- Limitation: if it doesn't run in the browser it needs a VM. The easy integration will be a shared library which is platform specific.
- JS library (compressed) like new Ordinals feature.
- Limitation: js interpreter could be vulnerable
Either way interpreter needs to be stateless, that could lead to consensus vulnerability.
Metadata
Metadata
Assignees
Labels
No labels