juno-network 0.1.4 → 0.1.7
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.
- package/README.md +23 -16
- package/package.json +2 -2
package/README.md
CHANGED
@@ -18,6 +18,8 @@ TS library with Cosmos SDK and JunoSwap smart contracts.
|
|
18
18
|
npm install juno-network
|
19
19
|
```
|
20
20
|
|
21
|
+
### Cosmos SDK clients
|
22
|
+
|
21
23
|
```js
|
22
24
|
import { juno } from 'juno-network';
|
23
25
|
|
@@ -29,6 +31,27 @@ const main = async () => {
|
|
29
31
|
};
|
30
32
|
```
|
31
33
|
|
34
|
+
### JunoSwap contracts
|
35
|
+
|
36
|
+
```js
|
37
|
+
import { contracts } from 'juno-network';
|
38
|
+
```
|
39
|
+
|
40
|
+
### CosmWasm Messages
|
41
|
+
|
42
|
+
```js
|
43
|
+
import { cosmwasm } from "juno-network";
|
44
|
+
|
45
|
+
const {
|
46
|
+
clearAdmin,
|
47
|
+
executeContract,
|
48
|
+
instantiateContract,
|
49
|
+
migrateContract,
|
50
|
+
storeCode,
|
51
|
+
updateAdmin
|
52
|
+
} = cosmwasm.wasm.v1.MessageComposer.withTypeUrl;
|
53
|
+
```
|
54
|
+
|
32
55
|
### IBC Messages
|
33
56
|
|
34
57
|
```js
|
@@ -71,22 +94,6 @@ const {
|
|
71
94
|
voteWeighted
|
72
95
|
} = cosmos.gov.v1beta1.MessageComposer.fromPartial;
|
73
96
|
```
|
74
|
-
|
75
|
-
### CosmWasm Messages
|
76
|
-
|
77
|
-
```js
|
78
|
-
import { cosmwasm } from "osmojs";
|
79
|
-
|
80
|
-
const {
|
81
|
-
clearAdmin,
|
82
|
-
executeContract,
|
83
|
-
instantiateContract,
|
84
|
-
migrateContract,
|
85
|
-
storeCode,
|
86
|
-
updateAdmin
|
87
|
-
} = cosmwasm.wasm.v1.MessageComposer.withTypeUrl;
|
88
|
-
```
|
89
|
-
|
90
97
|
## Credits
|
91
98
|
|
92
99
|
Code built with the help of these related projects:
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "juno-network",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.7",
|
4
4
|
"description": "juno",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/CosmosContracts/typescript#readme",
|
@@ -90,5 +90,5 @@
|
|
90
90
|
"@tanstack/react-query": "^4.1.3",
|
91
91
|
"protobufjs": "^6.11.2"
|
92
92
|
},
|
93
|
-
"gitHead": "
|
93
|
+
"gitHead": "a8ee78125dfc382061a3edecf135af5362d7ee1a"
|
94
94
|
}
|