nano-wallet 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nano/wallet.rb +2 -1
- data/lib/nano/wallet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f92f89224944101698c3a4cad696e56e83df44e416ae3fee74bd77457805fc38
|
4
|
+
data.tar.gz: f2c46f9057762237b90c6a349ff227c5a91f0cf833cdd5cb977c7933da4d9c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7faf9689afc233c709cb5b5dff9e9d685beb1072c1b52494817a032b8eebecbfaa20bb74b234f6bce64553931396bd2f7f8b868d7247e495650e91af9cc8991c
|
7
|
+
data.tar.gz: 7fbef421fd918d14b3268c891ed7b7dcf4833f741a1138dd6939c4d38c7db2ac5a9ed83cad90f8479f87eb8168b56e1adeb18eacd3461c68c4c81d04fafe3973
|
data/lib/nano/wallet.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require "securerandom"
|
1
2
|
require_relative "wallet/version"
|
2
3
|
require_relative "wallet/account"
|
3
4
|
|
@@ -7,7 +8,7 @@ module Nano
|
|
7
8
|
self.new(SecureRandom.hex(32))
|
8
9
|
end
|
9
10
|
|
10
|
-
attr_reader :accounts
|
11
|
+
attr_reader :seed, :accounts
|
11
12
|
|
12
13
|
def initialize(seed)
|
13
14
|
@seed = seed
|
data/lib/nano/wallet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nano-wallet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan LeFevre
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blake2b
|