agoric 0.21.2-dev-152d3cc.0 → 0.21.2-dev-d3817fa.0

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.
Files changed (3) hide show
  1. package/README.md +0 -73
  2. package/package.json +20 -20
  3. package/src/main.js +0 -28
package/README.md CHANGED
@@ -2,79 +2,6 @@
2
2
 
3
3
  If you just want to use the Agoric CLI for your own smart contract, please see the [Getting Started website](https://agoric.com/documentation/getting-started/) for information.
4
4
 
5
- ## Relaying via IBC
6
-
7
- The CLI integrates support for the [Confio
8
- ts-relayer](https://github.com/confio/ts-relayer#quick-start) via the
9
- `agoric ibc-setup` and `agoric ibc-relayer` commands.
10
-
11
- Run `agoric start --reset -v local-chain` in a project directory. In the
12
- meantime, you can configure the relayer (note that `--registry-from .` means to use `./registry.yaml`):
13
-
14
- ```console
15
- $ agoric ibc-setup init --registry-from . --src local --dest ollinet
16
- ...
17
- $ agoric ibc-setup keys list
18
- ollinet: agoric1fwk40de0xu7gtlk8z858q2f5lfcqv33ml8qdg4
19
- local: agoric1rvyry6jqmcrrm4ay9tu23rer7que8kdj4206zk
20
- $
21
- ```
22
-
23
- Once your chain has booted, send some `uist` tokens to your `local` relayer
24
- account printed above:
25
-
26
- ```console
27
- $ agd --home=_agstate/keys tx --keyring-backend=test bank send provision agoric1rvyry6jqmcrrm4ay9tu23rer7que8kdj4206zk 20000000uist --from=provision --chain-id=agoriclocal --yes
28
- ...
29
- $
30
- ```
31
-
32
- Go to https://ollinet.faucet.agoric.net and fund your `ollinet` relayer account
33
- printed above with BLD/IBC toy tokens.
34
-
35
- Check your relayer balances. Both `local` and `ollinet` relayer accounts should
36
- show `ubld` and `uist`:
37
-
38
- ```console
39
- $ agoric ibc-setup balances
40
- CHAIN AMOUNT
41
- ollinet 74972124ubld
42
- local 20000000uist
43
- $
44
- ```
45
-
46
- Create an ICS-20 fungible token transfer channel:
47
-
48
- ```console
49
- $ agoric ibc-setup ics20 -v
50
- ...
51
- Created channel:
52
- agoriclocal: transfer/channel-0 (connection-0)
53
- agoricollinet-55: transfer/channel-33 (connection-12)
54
- $
55
- ```
56
-
57
- Now that the channel exists, you can relay packets along it just by using:
58
-
59
- ```console
60
- $ agoric ibc-relayer start -v --poll 15
61
- ```
62
-
63
- Leave this running in the background, and use the above `transfer/channel-0` or
64
- `transfer/channel-33` to send tokens back and forth. The following
65
- example uses the `tx ibc-transfer transfer` command, and then
66
- `transfer channel-0` to indicate the `transfer/channel-0` portID/channelID. It really wants you to know this is about token *transfer*.
67
-
68
- ```console
69
- $ agd --home=_agstate/keys tx ibc-transfer transfer --keyring-backend=test \
70
- transfer channel-0 \
71
- agoric1fwk40de0xu7gtlk8z858q2f5lfcqv33ml8qdg4 200uist \
72
- --from=provision --chain-id=agoriclocal --yes
73
- ...
74
- # Watch the ibc-relayer send a packet and its acknowledgement, then...
75
- $ agd query bank balances agoric1rvyry6jqmcrrm4ay9tu23rer7que8kdj4206zk
76
- ```
77
-
78
5
  ## Developing Agoric CLI
79
6
 
80
7
  **NOTE: these steps are only for modifying the Agoric CLI. See the above for using it to create your own smart contracts.**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agoric",
3
- "version": "0.21.2-dev-152d3cc.0+152d3cc",
3
+ "version": "0.21.2-dev-d3817fa.0+d3817fa",
4
4
  "description": "Manage the Agoric Javascript smart contract platform",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -30,28 +30,28 @@
30
30
  "lint:eslint": "eslint ."
31
31
  },
32
32
  "devDependencies": {
33
- "@agoric/cosmic-swingset": "0.41.4-dev-152d3cc.0+152d3cc",
34
- "@agoric/deploy-script-support": "0.10.4-dev-152d3cc.0+152d3cc",
33
+ "@agoric/cosmic-swingset": "0.41.4-dev-d3817fa.0+d3817fa",
34
+ "@agoric/deploy-script-support": "0.10.4-dev-d3817fa.0+d3817fa",
35
35
  "ava": "^5.3.0",
36
36
  "c8": "^10.1.2"
37
37
  },
38
38
  "dependencies": {
39
- "@agoric/access-token": "0.4.22-dev-152d3cc.0+152d3cc",
40
- "@agoric/cache": "0.3.3-dev-152d3cc.0+152d3cc",
41
- "@agoric/casting": "0.4.3-dev-152d3cc.0+152d3cc",
42
- "@agoric/client-utils": "0.1.1-dev-152d3cc.0+152d3cc",
43
- "@agoric/cosmic-proto": "0.4.1-dev-152d3cc.0+152d3cc",
44
- "@agoric/ertp": "0.16.3-dev-152d3cc.0+152d3cc",
45
- "@agoric/governance": "0.10.4-dev-152d3cc.0+152d3cc",
46
- "@agoric/inter-protocol": "0.16.2-dev-152d3cc.0+152d3cc",
47
- "@agoric/internal": "0.3.3-dev-152d3cc.0+152d3cc",
48
- "@agoric/network": "0.1.1-dev-152d3cc.0+152d3cc",
49
- "@agoric/smart-wallet": "0.5.4-dev-152d3cc.0+152d3cc",
50
- "@agoric/store": "0.9.3-dev-152d3cc.0+152d3cc",
51
- "@agoric/swingset-vat": "0.32.3-dev-152d3cc.0+152d3cc",
52
- "@agoric/vats": "0.15.2-dev-152d3cc.0+152d3cc",
53
- "@agoric/zoe": "0.26.3-dev-152d3cc.0+152d3cc",
54
- "@agoric/zone": "0.2.3-dev-152d3cc.0+152d3cc",
39
+ "@agoric/access-token": "0.4.22-dev-d3817fa.0+d3817fa",
40
+ "@agoric/cache": "0.3.3-dev-d3817fa.0+d3817fa",
41
+ "@agoric/casting": "0.4.3-dev-d3817fa.0+d3817fa",
42
+ "@agoric/client-utils": "0.1.1-dev-d3817fa.0+d3817fa",
43
+ "@agoric/cosmic-proto": "0.4.1-dev-d3817fa.0+d3817fa",
44
+ "@agoric/ertp": "0.16.3-dev-d3817fa.0+d3817fa",
45
+ "@agoric/governance": "0.10.4-dev-d3817fa.0+d3817fa",
46
+ "@agoric/inter-protocol": "0.16.2-dev-d3817fa.0+d3817fa",
47
+ "@agoric/internal": "0.3.3-dev-d3817fa.0+d3817fa",
48
+ "@agoric/network": "0.1.1-dev-d3817fa.0+d3817fa",
49
+ "@agoric/smart-wallet": "0.5.4-dev-d3817fa.0+d3817fa",
50
+ "@agoric/store": "0.9.3-dev-d3817fa.0+d3817fa",
51
+ "@agoric/swingset-vat": "0.32.3-dev-d3817fa.0+d3817fa",
52
+ "@agoric/vats": "0.15.2-dev-d3817fa.0+d3817fa",
53
+ "@agoric/zoe": "0.26.3-dev-d3817fa.0+d3817fa",
54
+ "@agoric/zone": "0.2.3-dev-d3817fa.0+d3817fa",
55
55
  "@cosmjs/crypto": "^0.33.0",
56
56
  "@cosmjs/encoding": "^0.33.0",
57
57
  "@cosmjs/math": "^0.33.0",
@@ -101,5 +101,5 @@
101
101
  "typeCoverage": {
102
102
  "atLeast": 78.96
103
103
  },
104
- "gitHead": "152d3ccd88d05edf90f3340dc3b9c03f85678499"
104
+ "gitHead": "d3817fa282b7ecdf03967ed818342e8b8dd38b68"
105
105
  }
package/src/main.js CHANGED
@@ -87,19 +87,6 @@ const main = async (progname, rawArgs, powers) => {
87
87
  return subMain(cosmosMain, ['cosmos', ...command], opts);
88
88
  });
89
89
 
90
- const ibcSetup = path.join(
91
- dirname,
92
- '..',
93
- 'node_modules',
94
- '.bin',
95
- 'ibc-setup',
96
- );
97
- program.command(
98
- 'ibc-setup <command...>',
99
- 'set up Inter Blockchain Communication',
100
- { executableFile: ibcSetup },
101
- );
102
-
103
90
  baseCmd('open')
104
91
  .description('launch the Agoric UI')
105
92
  .option(
@@ -184,21 +171,6 @@ const main = async (progname, rawArgs, powers) => {
184
171
  return subMain(setDefaultsMain, ['set-defaults', prog, configDir], opts);
185
172
  });
186
173
 
187
- const ibcRelayer = path.join(
188
- dirname,
189
- '..',
190
- 'node_modules',
191
- '.bin',
192
- 'ibc-relayer',
193
- );
194
- program.command(
195
- 'ibc-relayer',
196
- 'run an Inter Blockchain Communications relayer',
197
- {
198
- executableFile: ibcRelayer,
199
- },
200
- );
201
-
202
174
  baseCmd('install [force-sdk-version]')
203
175
  .description('install Dapp dependencies')
204
176
  .action(async (forceSdkVersion, _options, cmd) => {