Skip to content

Upgrading and cleaning up basic_bitcoin example #1135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
256c45b
Upgrading dependencies, cleaning up, first take
kristoferlund Apr 29, 2025
49bbff3
Upgrade to ic_cdk 18
kristoferlund Apr 30, 2025
92b72a3
Use management canister api calls
kristoferlund Apr 30, 2025
6176865
Rename to align with management canister naming
kristoferlund Apr 30, 2025
bac595d
Storing a global, empty derivation path
kristoferlund Apr 30, 2025
a2f1f45
"key_name" is a function of network and
kristoferlund Apr 30, 2025
dab7b45
Simplify ecdsa_public_key
kristoferlund Apr 30, 2025
0b8917b
Refactor, remove unnecessary subfolder
kristoferlund Apr 30, 2025
2744f5d
Cache Schnorr pubkeys
kristoferlund May 2, 2025
ff79ff6
Add support for Segwit address creation
kristoferlund May 2, 2025
8cd2bc5
Refactor: Create individual service functions
kristoferlund May 2, 2025
533be3f
Refactor: Naming, comments
kristoferlund May 5, 2025
c94d23a
Add support for p2wpkh sending
kristoferlund May 5, 2025
1b841d1
Refactor: Remove manual sec1_to_der fn, etc
kristoferlund May 5, 2025
c826f4d
Adding a BIP-32 standard derivation path implementation
kristoferlund May 6, 2025
3d43557
Refactor Taproot get_* functions for readability etc
kristoferlund May 6, 2025
da976e2
Exclude canister_ids from commit
kristoferlund May 6, 2025
9fc8d46
Refactor send_from_key_path_only_address
kristoferlund May 6, 2025
0ee0983
Refactor, documentation
kristoferlund May 6, 2025
790551d
README
kristoferlund May 6, 2025
1456e7a
Bring back build.sh to please CI
kristoferlund May 6, 2025
1c20de3
Moving build.sh
kristoferlund May 6, 2025
7a15818
Re-introducing the custom build script
kristoferlund May 8, 2025
4771b7f
README
kristoferlund May 8, 2025
4950d38
Remove unnecessary folders
kristoferlund May 8, 2025
f21385b
README
kristoferlund May 8, 2025
debd233
Update rust/basic_bitcoin/src/common.rs
kristoferlund May 9, 2025
c8e712a
Update rust/basic_bitcoin/src/service/send_from_p2tr_script_path_enab…
kristoferlund May 9, 2025
9c0e444
Update rust/basic_bitcoin/src/service/send_from_p2tr_script_path_enab…
kristoferlund May 9, 2025
5c4ecaa
Update rust/basic_bitcoin/src/common.rs
kristoferlund May 9, 2025
15d4dfd
Update rust/basic_bitcoin/src/service/send_from_p2tr_script_path_enab…
kristoferlund May 9, 2025
658239f
Update rust/basic_bitcoin/src/service/send_from_p2wpkh_address.rs
kristoferlund May 9, 2025
252ac3f
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
70f20ef
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
ec64cfa
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
f5e2c62
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
0dded40
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
3df7448
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
39259d5
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
d5b2b30
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
641ba41
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
a4973ab
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
9431909
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
8e3da0d
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
536835c
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
2eef610
Update rust/basic_bitcoin/src/service/get_p2pkh_address.rs
kristoferlund May 9, 2025
3a19bed
Update rust/basic_bitcoin/README.md
kristoferlund May 9, 2025
359656a
Update rust/basic_bitcoin/src/service/get_p2tr_key_path_only_address.rs
kristoferlund May 9, 2025
915893b
Update rust/basic_bitcoin/src/service/send_from_p2tr_script_path_enab…
kristoferlund May 9, 2025
4513fc0
Update rust/basic_bitcoin/src/service/send_from_p2pkh_address.rs
kristoferlund May 9, 2025
ce93464
Update rust/basic_bitcoin/src/service/send_from_p2pkh_address.rs
kristoferlund May 9, 2025
ef45116
Update rust/basic_bitcoin/src/service/get_utxos.rs
kristoferlund May 9, 2025
e49c108
Update rust/basic_bitcoin/src/service/send_from_p2pkh_address.rs
kristoferlund May 9, 2025
71791c0
README / comments
kristoferlund May 9, 2025
12fd9f2
P2X consistent casing in comments
kristoferlund May 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust-basic-bitcoin-example-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Rust Basic Bitcoin Linux
run: |
pushd rust/basic_bitcoin
bash src/basic_bitcoin/build.sh
bash build.sh
cp target/wasm32-unknown-unknown/release/basic_bitcoin.wasm basic_bitcoin.wasm
gzip -9 basic_bitcoin.wasm
- uses: actions/upload-artifact@v4
Expand Down
5 changes: 5 additions & 0 deletions rust/basic_bitcoin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@

# rust
target/

# bitcoin
bitcoin_data

canister_ids.json
Loading
Loading