@pioneer-platform/pioneer-coins 9.2.6 → 9.2.9

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/lib/paths.js +20 -0
  2. package/package.json +1 -1
package/lib/paths.js CHANGED
@@ -6,6 +6,7 @@ exports.blockchains = [
6
6
  // 'eip155:42161',
7
7
  // 'eip155:43114',
8
8
  // 'eip155:56',
9
+ 'cosmos:maya-mainnet-v1',
9
10
  'binance:bnb-beacon-chain',
10
11
  'bip122:000000000000000000651ef99cb9fcbe',
11
12
  'bip122:000000000019d6689c085ae165831e93',
@@ -119,6 +120,25 @@ function getPaths(blockchains, isTestnet) {
119
120
  // if(isTestnet) entry.testnet = true
120
121
  // output.push(entry)
121
122
  // }
123
+ if (blockchains.indexOf('cosmos:maya-mainnet-v1') >= 0) {
124
+ var entry = {
125
+ note: " Default COCAO path ",
126
+ type: "address",
127
+ addressNList: [0x80000000 + 44, 0x80000000 + 931, 0x80000000 + 0, 0, 0],
128
+ addressNListMaster: [0x80000000 + 44, 0x80000000 + 931, 0x80000000 + 0, 0, 0],
129
+ curve: 'secp256k1',
130
+ script_type: "mayachain",
131
+ showDisplay: false, // Not supported by TrezorConnect or Ledger, but KeepKey should do it
132
+ blockchain: 'mayachain',
133
+ symbol: 'CACAO',
134
+ symbolSwapKit: 'CACAO',
135
+ network: 'cosmos:maya-mainnet-v1',
136
+ };
137
+ if (isTestnet) {
138
+ entry.testnet = true;
139
+ }
140
+ output.push(entry);
141
+ }
122
142
  if (blockchains.indexOf('cosmos:thorchain-mainnet-v1') >= 0) {
123
143
  var entry = {
124
144
  note: " Default RUNE path ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-coins",
3
- "version": "9.2.6",
3
+ "version": "9.2.9",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {