peatio-dogecoin-gonzo 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +4 -4
- data/README.md +6 -6
- data/config/blockchains.yml +1 -1
- data/config/currencies.yml +1 -1
- data/config/wallets.yml +3 -3
- data/docs/integration.md +3 -3
- data/docs/json-rpc.md +8 -8
- data/lib/peatio/dogecoin/version.rb +1 -1
- data/{peatio-dogecoin.gemspec → peatio-dogecoin-gonzo.gemspec} +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a3e7e2019c842e13aabb56a4d23bbe852b9b971ace1c42ebbeda5ac161cde03
|
4
|
+
data.tar.gz: 657da73338f8d94b7b45583e482ce076b13266e339f9638a8c9ee7bbb8752ee6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f888eff5230cc95b0ca4b23f17d6e1fa935f750833442f7c199e0e849394a3445fe350df12a4bd532a13bb7234aedab71ea9ba0e8b53dfc8d0cc6243e9358c1
|
7
|
+
data.tar.gz: fe570cda5e6d439308b7b2b32e8a1e02943811ca21586d4edad47dcd2cd79a8e299f4204dd1a5e5915f02a5fdfe7967f1b90156f35ebb325c663a06d7d5c1b4f
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
peatio-dogecoin
|
4
|
+
peatio-dogecoin (2.6.1)
|
5
5
|
activesupport (~> 5.2.3)
|
6
6
|
better-faraday (~> 1.0.5)
|
7
7
|
faraday (~> 0.17)
|
@@ -83,7 +83,7 @@ GEM
|
|
83
83
|
mysql2 (0.5.3)
|
84
84
|
net-http-persistent (3.0.1)
|
85
85
|
connection_pool (~> 2.2)
|
86
|
-
peatio (2.6.
|
86
|
+
peatio (2.6.1)
|
87
87
|
activemodel (> 5.2, <= 6.0.0)
|
88
88
|
amqp
|
89
89
|
bunny
|
@@ -133,7 +133,7 @@ GEM
|
|
133
133
|
crack (>= 0.3.2)
|
134
134
|
hashdiff (>= 0.4.0, < 2.0.0)
|
135
135
|
websocket-driver (0.7.2)
|
136
|
-
websocket-extensions (>= 0.
|
136
|
+
websocket-extensions (>= 0.2.3)
|
137
137
|
websocket-extensions (0.1.5)
|
138
138
|
|
139
139
|
PLATFORMS
|
@@ -142,7 +142,7 @@ PLATFORMS
|
|
142
142
|
DEPENDENCIES
|
143
143
|
bundler (~> 1.16)
|
144
144
|
mocha (~> 1.8)
|
145
|
-
peatio-dogecoin
|
145
|
+
peatio-dogecoin!
|
146
146
|
pry-byebug
|
147
147
|
rake (~> 13.0)
|
148
148
|
rspec (~> 3.0)
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Peatio dogecoin plugin for Rubykube stack
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'peatio-dogecoin
|
10
|
+
gem 'peatio-dogecoin'
|
11
11
|
```
|
12
12
|
|
13
13
|
And then execute:
|
@@ -16,7 +16,7 @@ And then execute:
|
|
16
16
|
|
17
17
|
Or install it yourself as:
|
18
18
|
|
19
|
-
$ gem install peatio-dogecoin
|
19
|
+
$ gem install peatio-dogecoin
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
@@ -24,9 +24,9 @@ For Peatio Dogecoin plugin integration you need to do the following steps:
|
|
24
24
|
|
25
25
|
### Image Build.
|
26
26
|
|
27
|
-
1. Add peatio-dogecoin
|
27
|
+
1. Add peatio-dogecoin gem into your Gemfile.plugin
|
28
28
|
```ruby
|
29
|
-
gem 'peatio-dogecoin
|
29
|
+
gem 'peatio-dogecoin', '~> 0.2.3'
|
30
30
|
```
|
31
31
|
|
32
32
|
2. Run `bundle install` for updating Gemfile.lock
|
@@ -35,7 +35,7 @@ gem 'peatio-dogecoin-gonzo', '~> 0.2.0'
|
|
35
35
|
|
36
36
|
4. Push your image using `docker push`
|
37
37
|
|
38
|
-
5. Update your deployment to use image with peatio-dogecoin
|
38
|
+
5. Update your deployment to use image with peatio-dogecoin gem
|
39
39
|
|
40
40
|
### Peatio Configuration.
|
41
41
|
|
@@ -55,7 +55,7 @@ Plugin development [example](https://github.com/rubykube/peatio/blob/master/docs
|
|
55
55
|
|
56
56
|
## Contributing
|
57
57
|
|
58
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/rubykube/peatio-dogecoin
|
58
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/rubykube/peatio-dogecoin.
|
59
59
|
|
60
60
|
## License
|
61
61
|
|
data/config/blockchains.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: Dogecoin Testnet
|
3
3
|
client: dogecoin # API client name.
|
4
4
|
server: http://user:password@127.0.0.1:18332 # Public Dogecoin node endpoint.
|
5
|
-
height:
|
5
|
+
height: 3672205 # Initial block number from which sync will be started.
|
6
6
|
min_confirmations: 6 # Minimal confirmations needed for withdraw and deposit confirmation.
|
7
7
|
explorer:
|
8
8
|
address: https://chain.so/address/DOGETEST/#{address}
|
data/config/currencies.yml
CHANGED
data/config/wallets.yml
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
settings:
|
12
12
|
#
|
13
13
|
# Dogecoind gateway client settings.
|
14
|
-
uri: http://user:password@127.0.0.1:
|
14
|
+
uri: http://user:password@127.0.0.1:19332
|
15
15
|
|
16
16
|
- name: Dogecoin Hot Wallet
|
17
17
|
blockchain_key: doge-testnet
|
@@ -26,7 +26,7 @@
|
|
26
26
|
settings:
|
27
27
|
#
|
28
28
|
# Dogecoind gateway client settings.
|
29
|
-
uri: http://user:password@127.0.0.1:
|
29
|
+
uri: http://user:password@127.0.0.1:19332
|
30
30
|
|
31
31
|
- name: Dogecoin Warm Wallet
|
32
32
|
blockchain_key: doge-testnet
|
@@ -41,4 +41,4 @@
|
|
41
41
|
settings:
|
42
42
|
#
|
43
43
|
# Dogecoind gateway client settings.
|
44
|
-
uri: http://user:password@127.0.0.1:
|
44
|
+
uri: http://user:password@127.0.0.1:19332
|
data/docs/integration.md
CHANGED
@@ -4,9 +4,9 @@ For Peatio Dogecoin plugin integration you need to do the following steps:
|
|
4
4
|
|
5
5
|
## Image Build.
|
6
6
|
|
7
|
-
1. Add peatio-dogecoin
|
7
|
+
1. Add peatio-dogecoin gem into your Gemfile.plugin
|
8
8
|
```ruby
|
9
|
-
gem 'peatio-dogecoin
|
9
|
+
gem 'peatio-dogecoin', '~> 0.2.3'
|
10
10
|
```
|
11
11
|
|
12
12
|
2. Run `bundle install` for updating Gemfile.lock
|
@@ -15,7 +15,7 @@ gem 'peatio-dogecoin-gonzo', '~> 0.1.0'
|
|
15
15
|
|
16
16
|
4. Push your image using `docker push`
|
17
17
|
|
18
|
-
5. Update your deployment to use image with peatio-dogecoin
|
18
|
+
5. Update your deployment to use image with peatio-dogecoin gem
|
19
19
|
|
20
20
|
## Peatio Configuration.
|
21
21
|
|
data/docs/json-rpc.md
CHANGED
@@ -5,25 +5,25 @@ For response examples see spec/resources:
|
|
5
5
|
|
6
6
|
* getbalance
|
7
7
|
|
8
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
8
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332`
|
9
9
|
* getblock
|
10
10
|
|
11
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["5a471d4fd13d8bc3351e4d3a618fa55993326014b925346d8e9272e271e97c4e", 2] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
11
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["5a471d4fd13d8bc3351e4d3a618fa55993326014b925346d8e9272e271e97c4e", 2] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332`
|
12
12
|
* getblockcount
|
13
13
|
|
14
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
14
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332`
|
15
15
|
* getblockhash
|
16
16
|
|
17
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [40500] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
17
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [40500] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332 `
|
18
18
|
* getnewaddress
|
19
19
|
|
20
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
20
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332 `
|
21
21
|
* listaddressgroupings
|
22
22
|
|
23
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
23
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332`
|
24
24
|
* sendtoaddress
|
25
25
|
|
26
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["QRnrwkUBQ2E4ZJ3bj8jvn4Nwx4nJ2U7wXF", 0.11] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
26
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["QRnrwkUBQ2E4ZJ3bj8jvn4Nwx4nJ2U7wXF", 0.11] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332`
|
27
27
|
* methodnotfound
|
28
28
|
|
29
|
-
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "methodnotfound", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:
|
29
|
+
`curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "methodnotfound", "params": [] }' -H 'content-type: text/plain;' http://user:password@127.0.0.1:19332`
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["therealcryptocoin@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Gem for extending Peatio plugable system with Dogecoin implementation.}
|
13
|
-
spec.description = %q{Dogecoin Peatio gem which implements Peatio::Blockchain::Abstract & Peatio::Wallet::Abstract.}
|
13
|
+
spec.description = %q{Dogecoin Peatio (2.6) gem which implements Peatio::Blockchain::Abstract & Peatio::Wallet::Abstract.}
|
14
14
|
spec.homepage = "https://openware.com/"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peatio-dogecoin-gonzo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Gonzo Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -178,7 +178,8 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '3.5'
|
181
|
-
description: Dogecoin Peatio gem which implements Peatio::Blockchain::Abstract
|
181
|
+
description: Dogecoin Peatio (2.6) gem which implements Peatio::Blockchain::Abstract
|
182
|
+
& Peatio::Wallet::Abstract.
|
182
183
|
email:
|
183
184
|
- therealcryptocoin@gmail.com
|
184
185
|
executables: []
|
@@ -209,7 +210,7 @@ files:
|
|
209
210
|
- lib/peatio/dogecoin/railtie.rb
|
210
211
|
- lib/peatio/dogecoin/version.rb
|
211
212
|
- lib/peatio/dogecoin/wallet.rb
|
212
|
-
- peatio-dogecoin.gemspec
|
213
|
+
- peatio-dogecoin-gonzo.gemspec
|
213
214
|
homepage: https://openware.com/
|
214
215
|
licenses:
|
215
216
|
- MIT
|
@@ -229,8 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
230
|
- !ruby/object:Gem::Version
|
230
231
|
version: '0'
|
231
232
|
requirements: []
|
232
|
-
|
233
|
-
rubygems_version: 2.7.6
|
233
|
+
rubygems_version: 3.0.8
|
234
234
|
signing_key:
|
235
235
|
specification_version: 4
|
236
236
|
summary: Gem for extending Peatio plugable system with Dogecoin implementation.
|