multichain 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: bdc59d7e8aa4bf178934c8854a2f28768e6c29d3
4
- data.tar.gz: a790c515466ca0acfb7474439c9a5f349cc59cb8
3
+ metadata.gz: 85be7901843838c12fe1f90fb711d27ea0c0185a
4
+ data.tar.gz: 9a1f8e5f38caecd1548866e09b2cb259ebc43080
5
5
  SHA512:
6
- metadata.gz: 5ab164d174ce1c9a77c9d0cfb508942e66c0ed936f7e0438be622009190daef15de5cc0fecb881c4342cc56282f37e7ce3277c4483477dc713529c0d6cc0521a
7
- data.tar.gz: cb8aa02f1a3a19abe68f4c1056b83e813840a5b74314c0dafe1af4c72d5430b5a95823557aeb2d024fb16ca8b622607d22e9dd6ce38cd4b2f4c930f08e24545b
6
+ metadata.gz: f442bd0cf4978873ee21c8dc67dd86290faa544dc0ccfa77788223e0a43f3fab2038bf7b3fa0a295ff6249f621d61c748a502472ba2573bdc73562f63136c960
7
+ data.tar.gz: f183a548724c097faa28a6b063aa4ef9808d4376f7c0e248bed60a1331993b9b9d73eb6e973ea3d7142f0ed47128ce5d79c544bbb1479ecd2278ea17e65af1e5
data/README.md CHANGED
@@ -4,3 +4,42 @@
4
4
  [![Code Climate](http://img.shields.io/codeclimate/github/theodi/multichain-client.svg?style=flat-square)](https://codeclimate.com/github/theodi/multichain-client)
5
5
  [![Gem Version](http://img.shields.io/gem/v/multichain.svg?style=flat-square)](https://rubygems.org/gems/multichain)
6
6
  [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://theodi.mit-license.org)
7
+
8
+ # Blockchains
9
+
10
+ ## Blockchains everywhere
11
+
12
+ Every problem can be solved if you just rub enough blockchain on it
13
+
14
+ ### A Ruby client for [Multichain](http://www.multichain.com/)
15
+
16
+ In the beginning (2008) there was Bitcoin, and that was OK (except for maybe the polar bears). But 2015 decided that Bitcoin was just a garnish on top of the _really_ exciting technology, _blockchains_. Now, at the beginning of 2016, it is impossible to step out onto any London street without falling over blockchains, just laying all around. People want to put *everything* into a blockchain
17
+
18
+ ## How to use
19
+
20
+ gem install multichain
21
+ mkdir ~/.multichain
22
+
23
+ Then create 2 files:
24
+
25
+ #### ~/.multichain/config.yml
26
+
27
+ asset: your-coin
28
+ rpc:
29
+ user: multichainrpc
30
+ password: some_long_password
31
+ host: multicoin.host
32
+ port: 1234
33
+
34
+ #### ~/.multichain/wallets.yml
35
+
36
+ foo:
37
+ primary: wallet_id
38
+ bar:
39
+ primary: other_wallet_id
40
+
41
+ ### Send a URL
42
+
43
+ Try something like
44
+
45
+ multichain send_url foo http://uncleclive.herokuapp.com/multichain
@@ -108,7 +108,7 @@ module Multichain
108
108
  {
109
109
  method: method,
110
110
  params: params,
111
- id: SecureRandom.uuid
111
+ id: ::SecureRandom.uuid
112
112
  }.to_json
113
113
  end
114
114
 
@@ -1,3 +1,3 @@
1
1
  module Multichain
2
- VERSION = "0.1.3"
2
+ VERSION = '0.1.4'
3
3
  end
@@ -6,12 +6,12 @@ require 'multichain/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'multichain'
8
8
  spec.version = Multichain::VERSION
9
- spec.authors = ['pikesley']
9
+ spec.authors = ['pikesley', 'pezholio']
10
10
  spec.email = ['ops@theodi.org']
11
11
 
12
- spec.summary = 'multichain client'
13
- spec.description = 'multichain client'
14
- spec.homepage = 'http://github.com/theodi'
12
+ spec.summary = 'Multichain client'
13
+ spec.description = 'Client for Multichain'
14
+ spec.homepage = 'https://github.com/theodi/multichain-client'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -0,0 +1,13 @@
1
+ Things we could try:
2
+
3
+ # Issue a new currency
4
+
5
+ With _zero_ units, maybe? Could we then let each player have a wallet with no units in it, and could they still participate? And what does this mean for mining?
6
+
7
+ # Work out the issue with the Master Node
8
+
9
+ Why does taking out the primary node stop transactions completing?
10
+
11
+ # Fix up the Vagrant box
12
+
13
+ To install the gem
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multichain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley
8
+ - pezholio
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2016-01-06 00:00:00.000000000 Z
12
+ date: 2016-01-07 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: httparty
@@ -206,7 +207,7 @@ dependencies:
206
207
  - - ">="
207
208
  - !ruby/object:Gem::Version
208
209
  version: '0'
209
- description: multichain client
210
+ description: Client for Multichain
210
211
  email:
211
212
  - ops@theodi.org
212
213
  executables:
@@ -225,7 +226,6 @@ files:
225
226
  - Rakefile
226
227
  - bin/console
227
228
  - bin/setup
228
- - command_fetcher.rb
229
229
  - config/commands.yml
230
230
  - exe/multichain
231
231
  - lib/multichain.rb
@@ -235,7 +235,8 @@ files:
235
235
  - lib/multichain/version.rb
236
236
  - lib/multichain/wallets.rb
237
237
  - multichain.gemspec
238
- homepage: http://github.com/theodi
238
+ - next_steps.md
239
+ homepage: https://github.com/theodi/multichain-client
239
240
  licenses:
240
241
  - MIT
241
242
  metadata: {}
@@ -258,5 +259,5 @@ rubyforge_project:
258
259
  rubygems_version: 2.5.1
259
260
  signing_key:
260
261
  specification_version: 4
261
- summary: multichain client
262
+ summary: Multichain client
262
263
  test_files: []
@@ -1,7 +0,0 @@
1
- require 'multichain'
2
-
3
- c = Multichain::Client.new 'multichainrpc', '55nGoc9SbM6Usz3EcWfG8iXYNNqA1Y5MFGNt2d4VpT8V', 'chain.theodi.org'
4
-
5
- mess = c.help['result'].split "\n"
6
-
7
- puts mess