monacoin_trader_tool 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +62 -0
- data/Rakefile +1 -0
- data/cert_file +4665 -0
- data/lib/monacoin_trader_tool/monacoin_tickers/etwings.rb +9 -0
- data/lib/monacoin_trader_tool/monacoin_tickers/monatr.rb +9 -0
- data/lib/monacoin_trader_tool/monacoin_tickers/monax.rb +13 -0
- data/lib/monacoin_trader_tool/monacoin_tickers.rb +24 -0
- data/lib/monacoin_trader_tool/version.rb +3 -0
- data/lib/monacoin_trader_tool.rb +5 -0
- data/monacoin_trader_tool.gemspec +25 -0
- metadata +85 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: abc83f0de01db533320aee6612a60f3e2c6dea61
|
4
|
+
data.tar.gz: 57fe1f3ba95c09f626ba1823354831c2423fd04a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5ad59a034673dc413afea3f84c341e9d1fd322f13609cf986fd97e2ed5c433e50a9c211ca2989fd53970056ccb3571b43ca5dcd8be4776132f3be80a9ec3a3e9
|
7
|
+
data.tar.gz: 2cd1ed6e67baa936f666b89b4f975fec23f2ba11b44882611deec5ad5838004dd3d985c347bf6b163841d59b6cbf81d49f1ef7d594863c29075295fbd89d9a6c
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Bart Koopmans
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
# MonacoinClient
|
2
|
+
|
3
|
+
client for monacoin.
|
4
|
+
|
5
|
+
It includes:
|
6
|
+
|
7
|
+
- Monacoin RPC
|
8
|
+
|
9
|
+
Todo:
|
10
|
+
|
11
|
+
- Other userfull monacoin tools, ideas?
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
$ gem install monacoin_client
|
16
|
+
|
17
|
+
or
|
18
|
+
|
19
|
+
$ rake build
|
20
|
+
$ gem install pkg/monacoin_client-X.X.X.gem
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
Example for the RPC:
|
25
|
+
|
26
|
+
```
|
27
|
+
require 'monacoin_client'
|
28
|
+
|
29
|
+
lt = MonacoinRPC.new('http://user:password@127.0.0.1:9332')
|
30
|
+
p lt.getbalance # this outputs the balance
|
31
|
+
```
|
32
|
+
|
33
|
+
Example for Ticker from etwings
|
34
|
+
|
35
|
+
```
|
36
|
+
require 'monacoin_client'
|
37
|
+
|
38
|
+
p MonacoinTickers::Etwings.ticker
|
39
|
+
```
|
40
|
+
|
41
|
+
Example for Ticker from monatr
|
42
|
+
|
43
|
+
```
|
44
|
+
require 'monacoin_client'
|
45
|
+
|
46
|
+
p MonacoinTickers::Monatr.ticker("BTC_MONA")
|
47
|
+
`
|
48
|
+
## Contributing
|
49
|
+
|
50
|
+
1. Fork it
|
51
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
52
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
53
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
54
|
+
5. Create new Pull Request
|
55
|
+
|
56
|
+
Please join our community. https://www.facebook.com/groups/849211301755891/
|
57
|
+
|
58
|
+
If someone has some suggestions for this gem let me know.
|
59
|
+
|
60
|
+
## Donations
|
61
|
+
|
62
|
+
Monacoin address : MMhwb8rehZt2iFH87USvJmi6WHKLPfSdS2
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|