Comments (2)
In designing a next-generation Omni architecture, I think there are three related issues we need to address:
- Mechanisms for on-chain and off-chain data storage.
Note that Omni from the beginning has used off-chain storage: the (unfortunately, non-updatable) URL links for each Smart Property. On chain storage has migrated from Class A to Class B to Class C/OP_RETURN.
We may want to take advantage of TapRoot scripts like Ordinals, but I believe we should be better Blockchain citizens and limit the usage of on-chain storage by providing a standard/supported/recommended option for storing larger data items off-chain.
- Mechanisms for on-chain and off-chain transactions.
Lightning is the obvious choice here, but new technologies like Ark sound promising and should be considered. Changes to the core protocol to better support off-chain transactions are likely needed.
- Scripted smart contracts with on-chain and/or off-chain storage.
Any contracts used by Omni Core to determine a global "Omni consensus" would need to be on-chain, but off-chain contracts could be used for settling off-chain transactions, with the necessary information being published on-chain as part of finalization.
In addition, of course, we must choose a scripting language/VM. I would recommend we look at the Bitcoin-centric solutions here as a first step.
from spec.
We could introduce a self-validating transactions. It's a transaction which includes, after OP_RETURN zero knowledge proof, which means it will be a self-proving entity a transaction data + hash of changes.
- To prevent miner to select transactions in unwanted order, all transactions related to specific address needs to reuse outputs of its ancestor one, so if a parent tx is somehow invalidated all descendants will be invalid by bitcoin. So it will prevent nuances in transaction processing
- A ZK proof is merkle root hash of corresponding data structure which tx will affect enters the Omni layer
- Off-chain data will be validated by applying the tx and verify the zk proof to match actual merkle root hash of the data structure
- On-chain data will limited to zk proof + omni layer payload after OP_RETURN or if needed witness script
- On-chain consensus (a monolithic distributed consensus) could offer stateless parsing/validating omni transactions based on client input. (optional)
from spec.
Related Issues (20)
- Update specification for 0.0.10 changes HOT 4
- Best solutions to list USDT on an exchange? HOT 2
- A transaction send USDT(version:0.13) to BTC(version:0.16) address,How to transfer out from BTC address? HOT 8
- is there any qrcode spec like bip21? HOT 2
- TetherUS - USDT guide ? HOT 1
- Where could I find a detailed description of the freezing tokens and unfreezing tokens ?
- why omni do not support p2pk input as a sender in Class C? HOT 1
- Endianness is unspecified HOT 1
- Failed to load freeze state from levelDB. It is unsafe to continue. HOT 1
- [Question] Is there any risk by using the same address for toadress and feeaddress in omni_funded_send/omni_funded_sendall API? HOT 1
- Why are 32 bits of Property ID enough? HOT 1
- Convert Specification to AsciiDoc from Markdown HOT 3
- Start work on revised specification in file name OmniSpecification -- move spec out of README file HOT 4
- New Tx Types: Send with Receipt Request, Send with Receipt (to prevent loss of misdirected funds, and other uses) HOT 11
- Update include images that still say Mastercoin or MSC. HOT 3
- #345 HOT 1
- Еду домой HOT 1
- taproot support
- Clarify and/or Improve Dev OMNI section in the specification
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spec.