bip44-ruby 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/lib/bip44.rb +1 -1
- data/lib/bip44/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20b3e1faefcd3bf51939350851e69098e4fe964f1fb6d51e71adbba4777e673f
|
4
|
+
data.tar.gz: c15c68805151d94d2e4dbf8a08b6efeaefb5a39dce35ec1c49cd6a8f4698c840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57781c898ba7c377bcd00b4a1fcec7e00ea259d96c6f7487ba8b5e6ef9039076f7a2323f0031ed03dd5bfb3f5620ed785cac04b0abc40b77beec3898b013a665
|
7
|
+
data.tar.gz: a079d39800a8677c4a6aea35aa69c1738e400098281c12ad737c117ba8e0d4c4fa6db9eec1e6245a2156a5f783d8bf333e6eda474934c889095760f248221ffa
|
data/README.md
CHANGED
@@ -36,6 +36,18 @@ Bip44.get_currency("0x80000000")
|
|
36
36
|
# => "btc"
|
37
37
|
```
|
38
38
|
|
39
|
+
### Check currency
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require "bip44"
|
43
|
+
|
44
|
+
Bip44.include_currency?("eth")
|
45
|
+
# => true
|
46
|
+
|
47
|
+
Bip44.include_currency?("fake_currency")
|
48
|
+
# => false
|
49
|
+
```
|
50
|
+
|
39
51
|
## Development
|
40
52
|
|
41
53
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/bip44.rb
CHANGED
data/lib/bip44/version.rb
CHANGED