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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e5e05c922b116b9ee3d1365caa7cba479192b959a3f72174fb3880d5b1a5103
4
- data.tar.gz: 0b5468d5d76aa3dd6f213fa3e3d3c38da7a3a43ddc57f8f2d1960aa43193b47a
3
+ metadata.gz: ac024c601b925933eeab6b6d96092d9df92091fd5360cceb2b011def0c173e32
4
+ data.tar.gz: aaf08224a50d04608bc025461a3d8f987b2fc87202ec5a0617f99c28778e3dcc
5
5
  SHA512:
6
- metadata.gz: 704a5e33c8e94b87348d43a3f1d2eb9094205b2bddd08142a9f596aa0e8f586fe2423fbad5a3d2cf39ecb24fd3bd0a1ef8b4722c2ae5dcf8abb14f275974e0bc
7
- data.tar.gz: 5cc1dc15f2b3fd5d150de7c898705d01a8bdce0ea074f5a0a98ea05b6f8f039e59b421b89caf1d8a1b574fcf662dd3e06676df7de02ed4235104583e0c21f093
6
+ metadata.gz: 6f07d883af853432dacb34966ee3514e4304358e155e8d0c753f55dc356448b6d55fbd3081b74871604f7aa213db7971fd38bb60aaf63dce1f4b23b9872b35de
7
+ data.tar.gz: aefce3255cad2afb3a4b4636fac01491c1021f9e04bc44df4b20f711af2401a98ec106e237fe32c39a214cbc97df5a32e928f66ce404eca3664d464ce2d339dd
@@ -7,7 +7,6 @@ require_relative 'monero'
7
7
  require_relative 'webhook'
8
8
  require_relative 'litecoin'
9
9
  require_relative 'market'
10
- require_relative 'token'
11
10
  require_relative 'tool'
12
11
 
13
12
  class BlockSDK < Base
@@ -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.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-01-19 00:00:00.000000000 Z
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