@pioneer-platform/pioneer-caip 8.1.78 → 8.1.81

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/lib/data.d.ts CHANGED
@@ -29,6 +29,7 @@ export declare const shortListSymbolToCaip: {
29
29
  DGB: string;
30
30
  DOGE: string;
31
31
  RUNE: string;
32
+ THOR: string;
32
33
  ETH: string;
33
34
  GNO: string;
34
35
  MATIC: string;
@@ -60,3 +61,41 @@ export declare const shortListNameToCaip: {
60
61
  eos: string;
61
62
  fio: string;
62
63
  };
64
+ export declare const primaryBlockchains: {
65
+ "eip155:1/slip44:60": {
66
+ name: string;
67
+ type: string;
68
+ caip: string;
69
+ tags: string[];
70
+ blockchain: string;
71
+ symbol: string;
72
+ decimals: number;
73
+ image: string;
74
+ description: string;
75
+ website: string;
76
+ explorer: string;
77
+ rank: number;
78
+ };
79
+ };
80
+ export declare const primaryAssets: {
81
+ "eip155:1/slip44:60": {
82
+ blockchain: string;
83
+ caip: string;
84
+ chainId: number;
85
+ description: string;
86
+ explorer: string;
87
+ faucets: never[];
88
+ feeAssetCaip: string;
89
+ feeAssetName: string;
90
+ feeAssetRank: number;
91
+ feeAssetSymbol: string;
92
+ image: string;
93
+ isCharted: boolean;
94
+ name: string;
95
+ network: string;
96
+ service: null;
97
+ symbol: string;
98
+ tags: (string | number | null)[];
99
+ type: string;
100
+ };
101
+ };
package/lib/data.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shortListNameToCaip = exports.shortListSymbolToCaip = exports.evmCaips = void 0;
3
+ exports.primaryAssets = exports.primaryBlockchains = exports.shortListNameToCaip = exports.shortListSymbolToCaip = exports.evmCaips = void 0;
4
4
  exports.evmCaips = {
5
5
  ethereum: 'eip155:1/slip44:60',
6
6
  base: 'eip155:8453/slip44:60',
@@ -32,6 +32,7 @@ exports.shortListSymbolToCaip = {
32
32
  DGB: 'bip122:digibytes-hash/slip44:20',
33
33
  DOGE: 'bip122:00000000001a91e3dace36e2be3bf030/slip44:3',
34
34
  RUNE: 'cosmos:thorchain-mainnet-v1/slip44:931',
35
+ THOR: 'cosmos:thorchain-mainnet-v1/slip44:931',
35
36
  ETH: 'eip155:1/slip44:60',
36
37
  GNO: 'eip155:100/slip44:60',
37
38
  MATIC: 'eip155:137/slip44:60',
@@ -63,3 +64,60 @@ exports.shortListNameToCaip = {
63
64
  eos: 'eip155:1:/erc20:0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0',
64
65
  fio: 'placeholder:caip:fio:native:fio-protocol'
65
66
  };
67
+ //Primary blockchain caips
68
+ exports.primaryBlockchains = {
69
+ "eip155:1/slip44:60": {
70
+ name: 'ethereum',
71
+ type: 'coin',
72
+ caip: 'eip155:1/slip44:60',
73
+ tags: [
74
+ 'ethereum',
75
+ 'isAsset',
76
+ 'isNative',
77
+ 'KeepKeySupport',
78
+ 'DappSupport',
79
+ 'WalletConnectSupport'
80
+ ],
81
+ blockchain: 'ethereum',
82
+ symbol: 'ETH',
83
+ decimals: 18,
84
+ image: 'https://pioneers.dev/coins/ethereum.png',
85
+ description: 'Open source platform to write and distribute decentralized applications.',
86
+ website: 'https://ethereum.org/',
87
+ explorer: 'https://etherscan.io/',
88
+ rank: 2
89
+ }
90
+ };
91
+ exports.primaryAssets = {
92
+ "eip155:1/slip44:60": {
93
+ blockchain: 'ethereum',
94
+ caip: 'eip155:1/slip44:60',
95
+ chainId: 1,
96
+ description: 'more info here: https://ethereum.org This is a EVM network with chainId: 1 Follows EIP:155',
97
+ explorer: 'https://ethereum.org',
98
+ faucets: [],
99
+ feeAssetCaip: 'eip155:1/slip44:60',
100
+ feeAssetName: 'ethereum',
101
+ feeAssetRank: 2,
102
+ feeAssetSymbol: 'ETH',
103
+ image: 'https://pioneers.dev/coins/ethereum-mainnet.png',
104
+ isCharted: false,
105
+ name: 'ethereum',
106
+ network: 'ETH',
107
+ service: null,
108
+ symbol: 'ETH',
109
+ tags: [
110
+ 'KeepKeySupport',
111
+ 'DappSupport',
112
+ 'WalletConnectSupport',
113
+ 'EVM',
114
+ 'EIP:155',
115
+ 'ethereum',
116
+ 'Ether',
117
+ 'ETH',
118
+ 1,
119
+ null
120
+ ],
121
+ type: 'EVM'
122
+ }
123
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-caip",
3
- "version": "8.1.78",
3
+ "version": "8.1.81",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {