rgb-archive / rust-rgb-2019 Goto Github PK
View Code? Open in Web Editor NEWLibrary for working with assets issued on top of Bitcoin and Lightning Network using RGB protocol
Home Page: https://rgb.network
License: MIT License
Library for working with assets issued on top of Bitcoin and Lightning Network using RGB protocol
Home Page: https://rgb.network
License: MIT License
Depends on rgb-archive/spec#57 once it will be included into the spec
When implementing some RGB proofs, it seems the txid
has a circular dependence when the pay-to-contract scheme is used. The proof references the on chain Tx to which it is bound in the bind_to
field
My understanding:
->bind_to
references original_txid
in proof
-> proof used to tweak public keys of some outputs
-> Tx output public keys have changed, therefore SHA256d(Tx) = new_txid
!= original_txid
-> bind_to
is changed to now reference new_txid
-> etc.
As far as I can tell, the current behaviour is not explicitly defined. Should the bind_to
field be omitted when tweaking the keys and verifying commitments?
According to the specification https://github.com/rgb-org/spec/blob/master/01-rgb.md#transfer-proofs
By using an MMR (Merkle Mountain Range) or a sparse Merkle Tree it should be possible to obfuscate which assets are being moved in a proof, without making the validation checks too hard.
According to the spec: https://github.com/rgb-org/spec/blob/master/01-rgb.md#address-based-vs-utxo-based
In order to simplify their usage by Bifrost, Kaleidoscope and other dependent services
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.