Comments (9)
The addresses page is a carry over from the old .org site and is potentially the one out of date. I will look into it and update accordingly. Thanks @dgpv . Also - noted your comments on multi-sig CT addresses.
from elementsproject.github.io.
The correct prefix for an unblinded address is 2.
You can validate this by creating a new address using getnewaddress and then passing that into validateaddress. That will return data similar to:
"isvalid": true,
"address": "CTEoaMTWgfUKoST1fkitVWuHHueqiL4EcUjrwJXuZW9RWKbSzYNq8ttd8KzJr3KBMzxh6HC83CgroNLR",
"scriptPubKey": "76a914f5b3992c73d1bee5844d840bbb30fe00f989c1fc88ac",
"confidential_key": "028fafda60c741b4735c9b14fc768dbda05762f0355a09ceb8fcdd4da114c415bd",
"unconfidential": "2dwpu6ECUS2NHMwwAmqCGJ6uNESr6tUmAS9",
The 'unconfidential' address is the unblinded one. I will raise aPR to change the address page and close this shortly. Thanks for spotting @dgpv
from elementsproject.github.io.
Fixed with PR #52
from elementsproject.github.io.
By the way @dgpv you can create a multi-sig using the 'createmultisig' command. This is detailed in the 'Block Signing' tutorial section. Something like:
MULTISIG=$(e1-cli createmultisig 2 '''["'''$PUBKEY1'''", "'''$PUBKEY2'''"]''')
REDEEMSCRIPT=$(echo $MULTISIG | jq '.redeemScript' | tr -d '"')
from elementsproject.github.io.
Maybe it would be worth to mention that unblinded multisig addresses start with X, and blinded start with 'Azp'
Not sure if it would be suitable info for basic introduction pages, but maybe just as a footnote...
elements-cli createmultisig 2 '["0222c31615e457119c2cb33821c150585c8b6a571a511d3cd07d27e7571e02c76e", "039bac374a8cd040ed137d0ce837708864e70012ad5766030aee1eb2f067b43d7f"]'
{
"address": "XCSVzf6jD4p3GUg1XLxTYkzZvH1CHrjvDA",
"redeemScript": "52210222c31615e457119c2cb33821c150585c8b6a571a511d3cd07d27e7571e02c76e21039bac374a8cd040ed137d0ce837708864e70012ad5766030aee1eb2f067b43d7f52ae"
}
elements-cli createblindedaddress XCSVzf6jD4p3GUg1XLxTYkzZvH1CHrjvDA 02b0d67f275cc93ca2ac507375a1112982e8b50a627c3becb66a2ff27bc4fad0ac
Azpom1jJ3mGZzLwiB1bqkvAiRn1givCZ8WhWuY2BmUQMqqjq4uzbF9SNWy5icEq2yqsQCUd8u2epStKL
elements-cli createblindedaddress XRPehBAMuGCxDTFPiJkYgrEvQXYhT7iv2x 03dfeca24e0f901639db81afbb0c1e23b0911e3cb339237ad8eb034463fb6b9e58
Azpwy5Rp2ZxwmhidtpfJstdjGwmxjJ9rDJNB3WcGXzno5iicBh7wyetjtA6GGuFizPaXPtwZabAn5i2k
from elementsproject.github.io.
PR with info on multisig blinded addrs added to confidential addresses page: #54
from elementsproject.github.io.
A little offtopic, but is the bech32 prefixes and format for blinded and unblinded addresses already decided ?
(in 0.17.0 elements branch chainparams.cpp is still not changed, and googling for "elements sidechain bech32" does not give anything useful)
from elementsproject.github.io.
they have not been decided, no.
from elementsproject.github.io.
Closing - addressed with PR #54
from elementsproject.github.io.
Related Issues (20)
- signblock fails with dynamic blocks missing witnessScript error HOT 2
- Disable dynafed: con_dyna_deploy_start should not be zero but a very high number HOT 1
- Can we license the website source under MIT? HOT 1
- Merge header items and reinstate community menu link HOT 1
- RPC Docs menu item cause page shift HOT 2
- Update to new berkely db version (if needed) and refer to using binaries in tutorial build steps HOT 1
- features/confidential-transactions shows values for CT_BITS=32, but now CT_BITS is 52 HOT 4
- community page slack links HOT 2
- CTE prefix is not used any more I think
- Challenges following the tutorial HOT 1
- con_dyna_deploy_start is deprecated
- Elements-qt title correction of network name (v21.99.0) HOT 2
- mentions installing jq but that has moved now
- link to CT video by Greg Maxwell broken HOT 1
- Bitcoin core 0.17 rebase has broken some tutorial commands, getinfo, getwalletinfo, sendtoaddress etc HOT 2
- Tidy dependancies HOT 1
- Address prefix is not CTE any more HOT 2
- make install but then refer to non-installed binaries
- generate depreciated in v0.18 HOT 2
- When run alone 'Raw Issue Asset' of advanced examples fails. HOT 2
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 elementsproject.github.io.