From: Steve Myers Date: Tue, 29 Mar 2022 16:55:26 +0000 (-0700) Subject: Merge bitcoindevkit/bdk#519: Add wallet creation example using RPC X-Git-Tag: v0.18.0~13 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.EncoderStringWriter.html?a=commitdiff_plain;h=ff6db18726b0ba3908c5ab21c3a5d495d235a0b7;p=bdk Merge bitcoindevkit/bdk#519: Add wallet creation example using RPC 8a98e69e788dd79d030798465fbc0dec044d86f1 Add rpc wallet creation example (rajarshimaitra) Pull request description: ### Description As mentioned in https://github.com/bitcoindevkit/bitcoindevkit.org/issues/83#issuecomment-1005190174 it would be helpful to have wallet creation example code in the `example` directory. This is an attempt to create the most simplistic bdk wallet with a RPC backend and demonstrate receiving, creating, signing and broadcasting transaction. The code is a refinement of the RPC tutorial https://bitcoindevkit.org/blog/bitcoin-core-rpc-demo/ with more elaborate doc comments. ### Notes to the reviewers To automate the background RPC process `electrsd` is used which is already a `dev-dependency` of bdk. ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing ACKs for top commit: notmandatory: tACK 8a98e69e788dd79d030798465fbc0dec044d86f1 Tree-SHA512: f00c1ce57ef91c3d3ab2ce08af3571c41bbe98f18f705c61ba4217c2f8061196e5eaf6122742293cd6fa16939bbbfacd0f8506cd4151b55f19a05325fd94a74a --- ff6db18726b0ba3908c5ab21c3a5d495d235a0b7