Skip to content

Commit

Permalink
generate keys
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsuo committed Dec 13, 2014
1 parent 1611165 commit 9176b83
Show file tree
Hide file tree
Showing 16 changed files with 107 additions and 696 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.DS_Store

# Keep out code coverage files; they are generated on Travis
*.cov
*.cov
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ First, we're going to implement a thin-client wallet.

## Vault and multisig
- https://github.com/ciphrex/CoinVault
- BIP 32 HD Wallets [ref](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)

## Mining
- https://github.com/ckolivas/cgminer
Expand All @@ -51,4 +52,4 @@ First, we're going to implement a thin-client wallet.
- [TheBlueMatt tests](https://github.com/TheBlueMatt/test-scripts)
- Add to Julia pkg repo and get badge
- Split off Crypto package
- Write Struct (a la Python's `struct` module) package?
- Write Struct (a la Python's `struct` module) package?
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Coverage
Coverage
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Documentation goes here.
Documentation goes here.
30 changes: 19 additions & 11 deletions src/Coin.jl
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
module Coin

##############################################################################
##
## Dependencies
##
##############################################################################
export
# Keys.jl
generate_keys,
get_public_key,

# WIF.jl
private2wif,
wif2private,
wif_check_sum,

# TODO: move crypto into a separate package?
# Base58.jl
encode58,
decode58

##############################################################################
##
## Exported methods and types
## Dependencies
##
##############################################################################

# export sha256
using Crypto

##############################################################################
##
## Load files
##
##############################################################################

include(joinpath("Crypto", "Crypto.jl"))
include(joinpath("Wallet", "Wallet.jl"))
include(joinpath("Util", "Util.jl"))
include(joinpath("Util", "Base58.jl"))
include(joinpath("Wallet", "Keys.jl"))
include(joinpath("Wallet", "WIF.jl"))

Crypto.init()

end # module Coin
13 changes: 0 additions & 13 deletions src/Crypto/Crypto.jl

This file was deleted.

7 changes: 0 additions & 7 deletions src/Crypto/ECDSA.jl

This file was deleted.

159 changes: 0 additions & 159 deletions src/Crypto/EllipticCurves.jl

This file was deleted.

Loading

0 comments on commit 9176b83

Please sign in to comment.