You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
move wallet_file_path field from this struct to WalletStore ( as it is more related to backend portion)
Add all fields same as BDK wallet one with some tweaks:
Use HashMap to relate each Arc<SignersContainer> to its corresponding KeychainKind instead of having seperate field for each keychainkind as done in BDK wallet as ( signers= HashMap<KeychainKind, Arc<SignersContainer>> )
This wallet has all the general-purpose features of regular wallets like BDK wallets, but it is also compatible with the CoinSwap protocol.
Upon initializing the wallet, we can't judge if it will be used for CoinSwap ; it can also function as a regular wallet. However, the main objective of creating this wallet is to support CoinSwap in addition to regular features.
For now, I haven't considered the idea of not using a descriptor for Coinswap, as discussed in the previous dev sync. I believe it needs more discussion.
Here is the approach for working on this project idea #122 ->
Task List:
SoB/BDKWallet
: RemoveDisplayAddressType
struct and its impl #157SoB/BDKWallet
: Segregate whole wallet related code into twoBDK_Wallet
&SwapCoin
#156bdk.rs
module containing all wallet module code for working onBDK project
.SoB/BDKWallet
: AddFidelity
,SwapCoin
variants toKeychainKind
enum #155Fidelity
= 2 (FIDELITY_DERIVATION_PATH: &str = m/84'/0'/0'/2
)SwapCoin
= 3SoB/BDKWallet
: ModifyWalletStore
struct and implement certain more traits #154master_key
field from struct -> can raise security issueswallet_file_path
field here fromWallet
( as it is more related to backend portion)PersistentBackend
trait:Use the
KeyChainTxOutIndex
struct from BDKSoB/BDKWallet
: Modify Wallet Struct #163rpc
&store
fieldwallet_file_path
field from this struct toWalletStore
( as it is more related to backend portion)Arc<SignersContainer>
to its correspondingKeychainKind
instead of having seperate field for each keychainkind as done in BDK wallet as (signers= HashMap<KeychainKind, Arc<SignersContainer>>
)SoB/BDKWallet
: Reconstructinit
wallet function #179internal
&external
discriptorsSoB/BDKWallet
: Explore on BDKsigners
(make it compatible for Swapcoin kind.) #173create_signers
fnadd_signers
which will add an external signer to a particular keychainSoB/BDKWallet
: Rebuildload
wallet function #180modify
create_and_import_coinswap_address
apiSoB/BDK
: RPC Sync Support in the new wallet #201Sync variant
command ofRpcCommands
enum inexample_bitcoind_rpc_polling
example given in BDKSoB/BDK:
Modularize thebdk
module code #203The text was updated successfully, but these errors were encountered: