@chain-registry/juno 1.38.0 → 1.40.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.
package/package.json CHANGED
@@ -1,78 +1,47 @@
1
1
  {
2
2
  "name": "@chain-registry/juno",
3
- "version": "1.38.0",
3
+ "version": "1.40.0",
4
4
  "description": "Chain Registry info for Juno",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/cosmology-tech/chain-registry",
7
7
  "license": "SEE LICENSE IN LICENSE",
8
- "main": "main/index.js",
9
- "typings": "types/index.d.ts",
10
- "directories": {
11
- "lib": "src",
12
- "test": "__tests__"
13
- },
14
- "files": [
15
- "types",
16
- "main"
17
- ],
18
- "scripts": {
19
- "build": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"",
20
- "build:ts": "tsc --project ./tsconfig.json",
21
- "buidl": "npm run build && npm run build:ts",
22
- "build:pkg": "babel-node ./scripts/build.js",
23
- "codegen": "npm run build:pkg && npm run format",
24
- "prepare": "npm run build",
25
- "lint": "eslint --ext .ts,.tsx,.js .",
26
- "format": "eslint --fix . --ext .ts,.tsx,.js",
27
- "test": "jest",
28
- "test:watch": "jest --watch",
29
- "test:debug": "node --inspect node_modules/.bin/jest --runInBand"
30
- },
8
+ "main": "index.js",
9
+ "module": "esm/index.js",
10
+ "types": "index.d.ts",
31
11
  "publishConfig": {
32
- "access": "public"
12
+ "access": "public",
13
+ "directory": "dist"
33
14
  },
34
15
  "repository": {
35
16
  "type": "git",
36
17
  "url": "https://github.com/cosmology-tech/chain-registry"
37
18
  },
38
- "keywords": [],
39
19
  "bugs": {
40
20
  "url": "https://github.com/cosmology-tech/chain-registry/issues"
41
21
  },
22
+ "scripts": {
23
+ "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
24
+ "clean": "del dist/**",
25
+ "prepare": "npm run build",
26
+ "codegen": "ts-node ./scripts/build.ts",
27
+ "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
28
+ "test": "jest",
29
+ "test:watch": "jest --watch"
30
+ },
42
31
  "devDependencies": {
43
- "@babel/cli": "7.21.0",
44
- "@babel/core": "7.21.4",
45
- "@babel/eslint-parser": "^7.21.3",
46
- "@babel/node": "^7.20.7",
47
- "@babel/plugin-proposal-class-properties": "7.18.6",
48
- "@babel/plugin-proposal-export-default-from": "7.18.10",
49
- "@babel/plugin-proposal-object-rest-spread": "7.20.7",
50
- "@babel/plugin-transform-runtime": "7.21.4",
51
- "@babel/preset-env": "7.21.4",
52
- "@babel/preset-typescript": "^7.21.4",
53
- "@chain-registry/utils": "^1.22.1",
54
- "@types/jest": "^29.5.1",
55
- "@typescript-eslint/eslint-plugin": "5.59.0",
56
- "@typescript-eslint/parser": "5.59.0",
57
- "babel-core": "7.0.0-bridge.0",
58
- "babel-jest": "29.5.0",
59
- "babel-watch": "^7.7.2",
60
- "chain-registry": "^1.37.0",
61
- "cross-env": "^7.0.2",
62
- "eslint": "8.38.0",
63
- "eslint-config-prettier": "^8.8.0",
64
- "eslint-plugin-prettier": "^4.0.0",
65
- "eslint-plugin-simple-import-sort": "8.0.0",
66
- "eslint-plugin-unused-imports": "2.0.0",
67
- "jest": "^29.5.0",
68
- "prettier": "^2.8.7",
69
- "regenerator-runtime": "^0.13.11",
70
- "ts-jest": "^29.1.0",
71
- "typescript": "^5.0.4"
32
+ "chain-registry": "^1.39.0"
72
33
  },
73
34
  "dependencies": {
74
- "@babel/runtime": "^7.21.0",
75
- "@chain-registry/types": "^0.21.1"
35
+ "@chain-registry/types": "^0.23.0"
76
36
  },
77
- "gitHead": "aa84d71a622fb004c4238aecd37770ab9382c23d"
37
+ "keywords": [
38
+ "chain-registry",
39
+ "web3",
40
+ "cosmos",
41
+ "cosmos-sdk",
42
+ "interchain",
43
+ "tokens",
44
+ "juno"
45
+ ],
46
+ "gitHead": "796f4aef739279d4d8d35b89394afd004c29513e"
78
47
  }
package/testnet.js ADDED
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const testnet = {
4
+ $schema: '../../chain.schema.json',
5
+ chain_name: 'junotestnet',
6
+ status: 'live',
7
+ network_type: 'testnet',
8
+ pretty_name: 'Juno Testnet',
9
+ chain_id: 'uni-6',
10
+ bech32_prefix: 'juno',
11
+ daemon_name: 'junod',
12
+ node_home: '$HOME/.juno',
13
+ key_algos: ['secp256k1'],
14
+ slip44: 118,
15
+ fees: {
16
+ fee_tokens: [{
17
+ denom: 'ujunox',
18
+ low_gas_price: 0.003,
19
+ average_gas_price: 0.0045,
20
+ high_gas_price: 0.006
21
+ }]
22
+ },
23
+ staking: {
24
+ staking_tokens: [{
25
+ denom: 'ujunox'
26
+ }]
27
+ },
28
+ codebase: {
29
+ cosmos_sdk_version: '0.45',
30
+ cosmwasm_enabled: true,
31
+ cosmwasm_version: '0.31'
32
+ },
33
+ apis: {
34
+ rpc: [
35
+ {
36
+ address: 'https://rpc.uni.junonetwork.io',
37
+ provider: 'Juno'
38
+ },
39
+ {
40
+ address: 'https://juno-testnet-rpc.polkachu.com',
41
+ provider: 'Polkachu'
42
+ },
43
+ {
44
+ address: 'https://uni-rpc.reece.sh',
45
+ provider: 'Reecepbcups'
46
+ }
47
+ ],
48
+ rest: [
49
+ {
50
+ address: 'https://api.uni.junonetwork.io',
51
+ provider: 'Juno'
52
+ },
53
+ {
54
+ address: 'https://juno-testnet-api.polkachu.com',
55
+ provider: 'Polkachu'
56
+ },
57
+ {
58
+ address: 'https://juno.api.t.stavr.tech',
59
+ provider: '🔥STAVR🔥'
60
+ },
61
+ {
62
+ address: 'https://uni-api.reece.sh',
63
+ provider: 'Reecepbcups'
64
+ }
65
+ ],
66
+ grpc: [{
67
+ address: 'juno-testnet-grpc.polkachu.com:12690',
68
+ provider: 'Polkachu'
69
+ }]
70
+ },
71
+ explorers: [
72
+ {
73
+ kind: 'ezstaking',
74
+ url: 'https://testnet.app.ezstaking.io/juno-testnet',
75
+ tx_page: 'https://testnet.app.ezstaking.io/juno-testnet/txs/${txHash}',
76
+ account_page: 'https://testnet.app.ezstaking.io/juno-testnet/account/${accountAddress}'
77
+ },
78
+ {
79
+ kind: '🔥STAVR🔥',
80
+ url: 'https://explorer.stavr.tech/Juno-Testnet',
81
+ tx_page: 'https://explorer.stavr.tech/Juno-Testnet/txs/${txHash}',
82
+ account_page: 'https://explorer.stavr.tech/Juno-Testnet/account/${accountAddress}'
83
+ },
84
+ {
85
+ kind: 'Mintscan',
86
+ url: 'https://testnet.mintscan.io/juno-testnet',
87
+ tx_page: 'https://testnet.mintscan.io/juno-testnet/txs/${txHash}'
88
+ },
89
+ {
90
+ kind: 'NodesGuru',
91
+ url: 'https://testnet.juno.explorers.guru/',
92
+ tx_page: 'https://testnet.juno.explorers.guru/transaction/${txHash}'
93
+ }
94
+ ]
95
+ };
96
+ exports.default = testnet;
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const testnet_assets = {
4
+ $schema: '../../assetlist.schema.json',
5
+ chain_name: 'junotestnet',
6
+ assets: [
7
+ {
8
+ description: 'The native token of JUNO Chain',
9
+ denom_units: [{
10
+ denom: 'ujunox',
11
+ exponent: 0
12
+ }, {
13
+ denom: 'junox',
14
+ exponent: 6
15
+ }],
16
+ base: 'ujunox',
17
+ name: 'Juno Testnet',
18
+ display: 'junox',
19
+ symbol: 'JUNOX',
20
+ logo_URIs: {
21
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.png',
22
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.svg'
23
+ },
24
+ coingecko_id: 'juno-network',
25
+ images: [{
26
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.png',
27
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/juno.svg'
28
+ }]
29
+ },
30
+ {
31
+ description: 'The native token of NEXX GEN AI',
32
+ denom_units: [{
33
+ denom: 'factory/juno12klaltyqvg2j6v034jwdxrk5n4242ttse4sdpt/NEXX',
34
+ exponent: 0
35
+ }, {
36
+ denom: 'nexx',
37
+ exponent: 6
38
+ }],
39
+ base: 'factory/juno12klaltyqvg2j6v034jwdxrk5n4242ttse4sdpt/NEXX',
40
+ name: 'NEXX GEN AI',
41
+ display: 'nexx',
42
+ symbol: 'NEXX',
43
+ logo_URIs: {
44
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/nexx.png'
45
+ },
46
+ images: [{
47
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/junotestnet/images/nexx.png'
48
+ }]
49
+ },
50
+ {
51
+ type_asset: 'sdk.coin',
52
+ denom_units: [{
53
+ denom: 'factory/juno12dgadj3wwv5jn0ec7tw5cgvq526nn4gnt2tujlmd57p2ra6k87esl36r9k/ARENA',
54
+ exponent: 0
55
+ }, {
56
+ denom: 'arena',
57
+ exponent: 6
58
+ }],
59
+ address: 'juno12dgadj3wwv5jn0ec7tw5cgvq526nn4gnt2tujlmd57p2ra6k87esl36r9k',
60
+ base: 'factory/juno12dgadj3wwv5jn0ec7tw5cgvq526nn4gnt2tujlmd57p2ra6k87esl36r9k/ARENA',
61
+ name: 'Arena Token',
62
+ description: 'The token for the Arena DAO',
63
+ display: 'arena',
64
+ symbol: 'ARENA',
65
+ traces: [{
66
+ type: 'test-mintage',
67
+ counterparty: {
68
+ chain_name: 'juno',
69
+ base_denom: 'factory/juno1vwmnqk0vyxc96qgffrure4nqxupjrql0zut8s02hadgp0n79r8xq5xdsxy/ARENA'
70
+ },
71
+ provider: 'Arena DAO'
72
+ }],
73
+ logo_URIs: {
74
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/arena.png',
75
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/arena.svg'
76
+ },
77
+ images: [{
78
+ image_sync: {
79
+ chain_name: 'juno',
80
+ base_denom: 'factory/juno1vwmnqk0vyxc96qgffrure4nqxupjrql0zut8s02hadgp0n79r8xq5xdsxy/ARENA'
81
+ },
82
+ svg: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/arena.svg',
83
+ png: 'https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/arena.png'
84
+ }]
85
+ }
86
+ ]
87
+ };
88
+ exports.default = testnet_assets;