injectivejs 0.6.0 → 0.8.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 (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -37,6 +37,7 @@ npm install injectivejs
37
37
  - [Creating Signers](#creating-signers)
38
38
  - [Broadcasting Messages](#broadcasting-messages)
39
39
  - [Advanced Usage](#advanced-usage)
40
+ - [Developing](#developing)
40
41
  - [Credits](#credits)
41
42
 
42
43
  ## Usage
@@ -343,6 +344,7 @@ const response = await stargateClient.signAndBroadcast(address, [msg], fee);
343
344
 
344
345
  ## Advanced Usage
345
346
 
347
+
346
348
  If you want to manually construct a stargate client
347
349
 
348
350
  ```js
@@ -388,6 +390,24 @@ const stargateClient = await SigningStargateClient.connectWithSigner(rpcEndpoint
388
390
  });
389
391
  ```
390
392
 
393
+ ## Developing
394
+
395
+ When first cloning the repo, first `bootstrap` + `build`:
396
+
397
+ ```
398
+ yarn
399
+ yarn bootstrap
400
+ yarn build
401
+ ```
402
+
403
+ ### Codegen
404
+
405
+ Look inside of `scripts/codegen.js` and configure the settings for bundling your SDK and contracts into `injectivejs`:
406
+
407
+ ```
408
+ yarn codegen
409
+ ```
410
+
391
411
  ## Credits
392
412
 
393
413
  🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator)
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "injectivejs",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "injective",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
- "homepage": "https://github.com/pyramation/injectivejs#readme",
6
+ "homepage": "https://github.com/cosmology-tech/injectivejs#readme",
7
7
  "license": "SEE LICENSE IN LICENSE",
8
8
  "main": "main/index.js",
9
9
  "typings": "types/index.d.ts",
@@ -33,11 +33,11 @@
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
36
- "url": "https://github.com/pyramation/injectivejs"
36
+ "url": "https://github.com/cosmology-tech/injectivejs"
37
37
  },
38
38
  "keywords": [],
39
39
  "bugs": {
40
- "url": "https://github.com/pyramation/injectivejs/issues"
40
+ "url": "https://github.com/cosmology-tech/injectivejs/issues"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/cli": "7.18.10",