Skip to content
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

Basic bitcoin example (rust) #280

Merged
merged 35 commits into from Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d4433ec
created example
ielashi Jul 4, 2022
366dbe5
cleanups + fee percentiles endpoint
ielashi Jul 4, 2022
91b972c
more refactoring
ielashi Jul 4, 2022
bb730b1
move ecdsa into its own module
ielashi Jul 4, 2022
4920ef7
const for derivation path
ielashi Jul 4, 2022
cef9b42
more refactoring
ielashi Jul 4, 2022
6ad6e2f
Remove dead code. Add makefile
ielashi Jul 4, 2022
9bbec78
refactor sec1 to der
ielashi Jul 4, 2022
bf9405c
refactor into wallet + use fees api
ielashi Jul 4, 2022
9027467
cleanup
ielashi Jul 4, 2022
98d67ba
cleanup
ielashi Jul 4, 2022
56fb782
refactor bitcoin wallet
ielashi Jul 4, 2022
b7a98b5
updates to bitcoin api
ielashi Jul 4, 2022
04d4dbc
Remove util file
ielashi Jul 4, 2022
aba23b4
minor cleanup
ielashi Jul 4, 2022
c5b6731
remove unused enum from candid
ielashi Jul 4, 2022
f67cfaf
code comments
ielashi Jul 5, 2022
536b1ca
more code comments
ielashi Jul 5, 2022
abeef95
.
ielashi Jul 5, 2022
dcd723d
fix fees
ielashi Jul 5, 2022
a7f222f
clippy
ielashi Jul 5, 2022
36b940c
update derivation path
ielashi Jul 5, 2022
e249598
.
ielashi Jul 7, 2022
2ea4470
updates
ielashi Jul 11, 2022
bf3ad1c
update to dfx 0.11.0
ielashi Jul 15, 2022
7f9bd13
Use ECDSA API + make the network configurable.
ielashi Jul 21, 2022
55620dd
Properly save the network parameter across upgrades.
ielashi Jul 25, 2022
b490be6
Update README
ielashi Jul 25, 2022
e4eb2a2
Merge branch 'master' into ielashi/bitcoin-rust
ielashi Jul 28, 2022
7953d27
Add CI file
ielashi Jul 28, 2022
9a48760
update rust workflow
ielashi Jul 28, 2022
cd364f6
update workflow
ielashi Jul 28, 2022
975e7ad
fix env
ielashi Jul 28, 2022
dcddd1b
simpler rust workflow
ielashi Jul 28, 2022
c96c3ce
Merge branch 'master' into ielashi/bitcoin-rust
ielashi Jul 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/rust-basic-bitcoin-example.yml
@@ -0,0 +1,29 @@
name: rust-basic-bitcoin
on:
push:
branches:
- master
pull_request:
jobs:
rust-basic-bitcoin-darwin:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Rust Basic Bitcoin Darwin
run: |
pushd rust/basic_bitcoin
make
popd
rust-basic-bitcoin-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Rust Basic Bitcoin Linux
run: |
pushd rust/basic_bitcoin
make
popd
14 changes: 14 additions & 0 deletions rust/basic_bitcoin/.gitignore
@@ -0,0 +1,14 @@
# Various IDEs and Editors
.vscode/
.idea/
**/*~

# Mac OSX temporary files
.DS_Store
**/.DS_Store

# dfx temporary files
.dfx/

# rust
target/