blocksdk 0.1.1 → 0.1.2
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/lib/blocksdk_ruby/blocksdk.rb +0 -1
- data/lib/blocksdk_ruby/main.rb +28 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac024c601b925933eeab6b6d96092d9df92091fd5360cceb2b011def0c173e32
|
4
|
+
data.tar.gz: aaf08224a50d04608bc025461a3d8f987b2fc87202ec5a0617f99c28778e3dcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f07d883af853432dacb34966ee3514e4304358e155e8d0c753f55dc356448b6d55fbd3081b74871604f7aa213db7971fd38bb60aaf63dce1f4b23b9872b35de
|
7
|
+
data.tar.gz: aefce3255cad2afb3a4b4636fac01491c1021f9e04bc44df4b20f711af2401a98ec106e237fe32c39a214cbc97df5a32e928f66ce404eca3664d464ce2d339dd
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative 'blocksdk'
|
2
|
+
|
3
|
+
blockSDK = BlockSDK.new('YOU TOKEN')
|
4
|
+
|
5
|
+
# btcClient = blockSDK.createBitcoin()
|
6
|
+
# output = btcClient.getBlockChain()
|
7
|
+
|
8
|
+
#dashClient = blockSDK.createDash()
|
9
|
+
# output = dashClient.getTransaction({ "hash" => "fa6c191a429d65552b9f0a572e24d8edbfb5e08ab4c41afc1914e60d14be14fc"})
|
10
|
+
|
11
|
+
# ethereumClient = blockSDK.createEthereum()
|
12
|
+
# output = ethereumClient.getBlockChain()
|
13
|
+
|
14
|
+
# xmrClient = blockSDK.createMonero()
|
15
|
+
# output = xmrClient.getBlockChain()
|
16
|
+
|
17
|
+
# webhookClient = blockSDK.createWebHook()
|
18
|
+
# output = webhookClient.list()
|
19
|
+
|
20
|
+
# output = blockSDK.listPrice()
|
21
|
+
|
22
|
+
# bchClient = blockSDK.createBitcoinCash()
|
23
|
+
# output = bchClient.getBlockChain()
|
24
|
+
|
25
|
+
ltcClient = blockSDK.createLitecoin()
|
26
|
+
output = ltcClient.getBlockChain()
|
27
|
+
|
28
|
+
puts output
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blocksdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BlockSDK
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: Ruby library to help you build your crypto application on BlockSDK
|
28
42
|
email: contact@blocksdk.com
|
29
43
|
executables: []
|
@@ -38,6 +52,7 @@ files:
|
|
38
52
|
- lib/blocksdk_ruby/dash.rb
|
39
53
|
- lib/blocksdk_ruby/ethereum.rb
|
40
54
|
- lib/blocksdk_ruby/litecoin.rb
|
55
|
+
- lib/blocksdk_ruby/main.rb
|
41
56
|
- lib/blocksdk_ruby/market.rb
|
42
57
|
- lib/blocksdk_ruby/monero.rb
|
43
58
|
- lib/blocksdk_ruby/price.rb
|