epm 0.3.12 → 0.3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/epm +5 -10
- data/lib/epm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07376fe94512302f5215b0ce7503d1375fcf2da2
|
4
|
+
data.tar.gz: 20810050fa8b49a431ad26a6a96698e33b282544
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e85fd5264e1ef41c367cacae5c369f85c8416ab43f6cb9af7a407e64061851719d49979993248d21633a11d11a557b4cc2342d2257dd894846a487952d05e59f
|
7
|
+
data.tar.gz: d1672a7a2599c4ffbe57b24e99c0a909945260767da3f8372efa27041636a50a6da9b233abea9a4e737fd7b87fd0e52432a2153f4115484fb6e6f5dfa2b75c9d
|
data/bin/epm
CHANGED
@@ -10,12 +10,11 @@ program :description, 'Ethereum Package Manager assists in the management of Eth
|
|
10
10
|
## Package Workflow Commands
|
11
11
|
##
|
12
12
|
command :compile do |c|
|
13
|
-
c.syntax = 'epm compile'
|
13
|
+
c.syntax = 'epm compile [Contract File]'
|
14
14
|
# summary is displayed on --help
|
15
15
|
c.summary = 'Compile an ethereum contract and return the byte code array.'
|
16
16
|
# description is deplayed on subcommand --help
|
17
17
|
c.description = 'Compile an ethereum contract and return the byte code array. Compile does not send to the blockchain, it only returns the byte code array.'
|
18
|
-
c.example = 'epm compile TheContract.lll'
|
19
18
|
c.action do |args|
|
20
19
|
result = EPM.compile(args)
|
21
20
|
result.each{|l| print l + "\n"}
|
@@ -23,12 +22,11 @@ command :compile do |c|
|
|
23
22
|
end
|
24
23
|
|
25
24
|
command :create do |c|
|
26
|
-
c.syntax = 'epm create'
|
25
|
+
c.syntax = 'epm create [Contract File]'
|
27
26
|
# summary is displayed on --help
|
28
27
|
c.summary = 'Compile an ethereum contract and deploy to the blockchain.'
|
29
28
|
# description is deplayed on subcommand --help
|
30
29
|
c.description = 'Compile an ethereum contract and deploy to the blockchain. Create is used only for single contracts rather than packages of contracts. Use epm deploy to send packages of contracts to the blockchain.'
|
31
|
-
c.example = 'epm create TheContract.lll'
|
32
30
|
c.action do |args|
|
33
31
|
result = EPM.create(args)
|
34
32
|
result.each{|l| print l + "\n"}
|
@@ -36,12 +34,11 @@ command :create do |c|
|
|
36
34
|
end
|
37
35
|
|
38
36
|
command :deploy do |c|
|
39
|
-
c.syntax = 'epm deploy'
|
37
|
+
c.syntax = 'epm deploy [Package Definition File from Local or Remote]'
|
40
38
|
# summary is displayed on --help
|
41
39
|
c.summary = 'Compile and deploy a system of contracts to the blockchain.'
|
42
40
|
# description is deplayed on subcommand --help
|
43
41
|
c.description = 'Compile and deploy a system of contracts to the blockchain. It is a wrapper for the remainder of the EPM functionality which works in an automated way to deploy as many contracts and send as many transactions as the developer needs to set up a system of contracts. Deploy will work either with local package-definition files or with package-definition files located on any remote git server which the user has access to. See gem README for EPM package-definition file syntax.'
|
44
|
-
c.example = 'epm deploy https://github.com/project-douglas/eris'
|
45
42
|
c.action do |args|
|
46
43
|
EPM.deploy(args)
|
47
44
|
end
|
@@ -51,12 +48,11 @@ end
|
|
51
48
|
## EPM Tools
|
52
49
|
##
|
53
50
|
command :transact do |c|
|
54
|
-
c.syntax = 'epm transact'
|
51
|
+
c.syntax = 'epm transact [Recipient] [Data]'
|
55
52
|
# summary is displayed on --help
|
56
53
|
c.summary = 'Send a transaction to a contract.'
|
57
54
|
# description is deplayed on subcommand --help
|
58
55
|
c.description = 'Send a transaction to a contract. By definition this will be a 0 value call. The account sending the transaction will need ether, but only to provide the gas for the individual call. The first argument sent to the command line will be the recipient and the remaining arguments sent to the command line will be the data with each of the data slots separated by a space on the command line (or a new element in the array if calling programmatically). Arguments which are prefixed by `0x` will be treated as hex values and arguments which are not will be treated as strings. EPM will compile all of the arguments into a single RPC call which is correctly formated for all of the clients.'
|
59
|
-
c.example = 'epm transact 0xd6e96ee6661367735c15894193bdca276bae27ba newthread 0x0 0x0 0x65ef13e5f4515ee346e5372c4021baa7a723f25a'
|
60
56
|
c.action do |args|
|
61
57
|
EPM.transact(args)
|
62
58
|
print "Transaction Sent.\n"
|
@@ -64,12 +60,11 @@ command :transact do |c|
|
|
64
60
|
end
|
65
61
|
|
66
62
|
command :query do |c|
|
67
|
-
c.syntax = 'epm query'
|
63
|
+
c.syntax = 'epm query [Contract Address] [Storage Location]'
|
68
64
|
# summary is displayed on --help
|
69
65
|
c.summary = 'Query a storage position of a contract currently on the blockchain.'
|
70
66
|
# description is deplayed on subcommand --help
|
71
67
|
c.description = 'Query a storage position of a contract currently on the blockchain. Accepts two arguments, the first argument is the contract to be queried, and the second argument is the storage location to be queried.'
|
72
|
-
c.example = 'epm query 0x65ef13e5f4515ee346e5372c4021baa7a723f25a 0xd6e96ee6661367735c15894193bdca276bae27ba'
|
73
68
|
c.action do |args|
|
74
69
|
print EPM.query(args) + "\n"
|
75
70
|
end
|
data/lib/epm/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION ||= "0.3.
|
1
|
+
VERSION ||= "0.3.13"
|