Skip to content

thunderbiscuit/bdk-rust-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This repo hosts a collection of scripts that make use of the Bitcoin Development Kit and some of its language bindings.

Total number of scripts: 34

Rust Scripts

To run Rust scripts, you'll the need the rust-script tool installed. From there, simply use

rust-script 1.balance.rs

File Task
1.balance.rs Query an Electrum server for the balance of a wallet.
2.descriptor-templates.rs Create public descriptors using the descriptor templates.
3.balance-from-rpc.rs Query a full node through RPC for the balance of a descriptor.
4.bdk-policy.rs Print the BDK policy for a non-trivial descriptor.
5.miniscript-compilation.rs Build a BDK wallet starting from a miniscript policy.
6.fee-estimation.rs Estimate the fee rate required to confirm a transaction in a given target of blocks.
7.miniscript-policy-parser.rs Take a list of pubkeys and a miniscript policy in a json file and spit out another json file with tons of useful information.

About

A whole lot of scripts that use the Bitcoin Development Kit in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages