Comments (11)
We could add ischange label to BIP329
BullishNode/bips@master...ischange
from bullbitcoin-mobile.
FYI @i5hi we can make sure the "frozen" label we have in the wallet is exported as "spendable": "false"
from bullbitcoin-mobile.
FYI @i5hi we can make sure the "frozen" label we have in the wallet is exported as "spendable": "false"
!spendable without origin
= not your address
!spendable with origin
= your address and you've wanted it not to be spent (marked as frozen)
?
from bullbitcoin-mobile.
We could add ischange label to BIP329 BullishNode/[email protected]
We could stay by the existing spec if we add the unhardened path to the origin field as well
Something like this:
{ "type": "addr", "ref": "bc1q34aq5drpuwy3wgl9lhup9892qp6svr8ldzyy7c", "label": "Address", "origin": "wpkh([d34db33f/84'/0'/0']/0/1)]" }
This also gives the index and helps to know where to start a wallets address generation from (although in our case bdk does that).
Although BIP329 does say this:
"If present, the optional origin property must contain an abbreviated output descriptor (as defined by BIP380[3]) describing a BIP32 compatible originating wallet, including all key origin information but excluding any actual keys, any child path elements, or a checksum
. This property should be used to disambiguate transaction labels from different wallets contained in the same export, particularly when exporting multiple accounts derived from the same seed."
from bullbitcoin-mobile.
from bullbitcoin-mobile.
Doest BIP329 labelling take into account whether an address is external or internal?
from bullbitcoin-mobile.
Nope. Just whether its spendable or not. We will have to keep track separately of whether the address is change.
from bullbitcoin-mobile.
We could add ischange label to BIP329 BullishNode/[email protected]
We could stay by the existing spec if we add the unhardened path to the origin field as well
Something like this:
{ "type": "addr", "ref": "bc1q34aq5drpuwy3wgl9lhup9892qp6svr8ldzyy7c", "label": "Address", "origin": "wpkh([d34db33f/84'/0'/0']/0/1)]" }
This also gives the index and helps to know where to start a wallets address generation from (although in our case bdk does that).
from bullbitcoin-mobile.
BIP380 does define origin as just fingerprint and hardened path.
so we would need an isChange if we wanted to to know but we can always sync our wallet and know which of those addresses are change.
from bullbitcoin-mobile.
-
bip329 methods
-
implement read/writeToFile for List;
File naming convention,for now, can be ${wallet.id}.bip329
-
implement encrypt/decrypt for List (for now use a fixed key of
bullbitcoin-test
) I will later update this to use a key derived from the seed linked to the wallet. -
wallet methods
-
importBIP329
which will read through wallet.transactions,myAddressBook,externalAddressBook and update only thelabel
field based on the List. Warn the user of overwrites. -
exportBIP329
which will take all the entires of transactions,my/externalAddressBook and write them into a List -
ui
It doesnt need to have a separate page, for now, just two clickable text which opens the file manager to read/write to a fixed expected path.
from bullbitcoin-mobile.
Gents...We have arrived!
from bullbitcoin-mobile.
Related Issues (20)
- [Addresses] Liquid address link redirect to bitcoin mempool HOT 3
- [Backup] Backup warning on home should lead to backup flow instead of settings
- [Receive] When generating receive from Secure Bitcoin Wallet, default network must Bitcoin. Currently is LN
- [Tx Homepage] Liquid tx that is unconfirmed is showing up as confirmed HOT 1
- [Instant wallet Balance] Balance doesn't update when the swap is claimed HOT 1
- [Wallet Setting] Page goes blank
- [Liquid Receive] Request payment isn't updating properly
- [Send] Error paying btcpayserver HOT 1
- [Scanner Home] scan able to scan bolt11, addresses both bitcoin and liquid
- [Instant wallet] Liquid tx isn't showing in Transaction list on Home HOT 4
- [Send] Scan LN invoice has to decode case sensitive
- [SEND] Unable to chose Secure wallet to pay LN Invoice HOT 1
- [Reverse Swap] Claim in background does not update success page
- [PIN] Disable visual feedback for PIN Entry
- [Landing Page] Keeps flashing-back for certain actions
- Release on F-Droid HOT 1
- Support scanning bip21 unified qr code HOT 1
- Support for connecting to Electrum server over Tor HOT 2
- [Instanst Wallet Balance]Wallet sync in background after transaction is confirmed HOT 2
- RBF flow
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 bullbitcoin-mobile.