Comments (11)
Hey @alexqrid! Nice find, normally pegins have explicit (unblinded) outputs.
I'm wondering why its amount is confidential, if the output of BTC transaction is not confidential?
The output on the liquid side can be blinded, but obviously not on the bitcoin side.
so why the node is not returning amount of this peg-in input, if we can get it from the BTC output?
Only the wallet that created the output has the blinding keys (unless they get exported and shared), and the output asset/amount can't be unblinded without the blinding keys.
from elements.
The transaction has two confidential outputs, so in principle, the pegin amount could be split in any way between the two, and there's no way to tell :).
In practice because one output is OP_RETURN, I think we can assume that its value is 0 and the entire pegin went to the other output.
I think that the Elements wallet will do this if you do a peg-in to a confidential address.
from elements.
Related Issues (20)
- Increase block size HOT 4
- Can sendmany be used to send assets? HOT 2
- Green wallet seed import can't compatible with sideswap wallet HOT 3
- Elements/Liquidv1 package for StartOS HOT 1
- How to use with bitcoinlib-js HOT 7
- Message signing only works with legacy addresses HOT 4
- Block proof invalid after block 431 HOT 16
- issueasset: issuance is always blinded HOT 2
- RPC example or tutorial opcodes enabled by liquid HOT 1
- Write and sign custom transaction code HOT 2
- Can´t mint tokens HOT 1
- Can't enable coin control features HOT 5
- Given claim_script does not match the given Bitcoin transaction. HOT 9
- signmessage HOT 1
- Wallet migration fails with confidential transactions HOT 8
- wallet managed by elements-cli receives tx with tokens but doesn't process them (not in the locally parsed TX, not in the balance) HOT 2
- Received funds appear in listreceivedbyaddress, but are not taken into account for the wallet balance and cannot be transferred
- Support for Jade hardware wallet HOT 3
- Sending transactions with 0.01 instead of 0.1 sats/vbyte
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 elements.