@meshsdk/common 1.0.0-alpha.1

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.
@@ -0,0 +1,43 @@
1
+ import type { Budget, Era, LanguageVersion, Network, Protocol } from '@meshsdk/core';
2
+ export declare const DEFAULT_REDEEMER_BUDGET: Budget;
3
+ export declare const DEFAULT_PROTOCOL_PARAMETERS: Protocol;
4
+ export declare const HARDENED_KEY_START = 2147483648;
5
+ export declare const SUPPORTED_CLOCKS: Record<Network, [
6
+ epoch: string,
7
+ slot: string,
8
+ systemStart: string,
9
+ epochLength: string
10
+ ]>;
11
+ export declare const SUPPORTED_LANGUAGE_VIEWS: Record<Era, Partial<Record<LanguageVersion, string>>>;
12
+ export declare const SUPPORTED_OGMIOS_LINKS: Record<Network, string>;
13
+ export declare const SUPPORTED_TOKENS: {
14
+ LQ: string;
15
+ MIN: string;
16
+ NTX: string;
17
+ iBTC: string;
18
+ iETH: string;
19
+ iUSD: string;
20
+ MILK: string;
21
+ AGIX: string;
22
+ MELD: string;
23
+ INDY: string;
24
+ CLAY: string;
25
+ MCOS: string;
26
+ DING: string;
27
+ GERO: string;
28
+ NMKR: string;
29
+ PAVIA: string;
30
+ HOSKY: string;
31
+ YUMMI: string;
32
+ C3: string;
33
+ GIMBAL: string;
34
+ SUNDAE: string;
35
+ GREENS: string;
36
+ GENS: string;
37
+ SOCIETY: string;
38
+ DJED: string;
39
+ SHEN: string;
40
+ WMT: string;
41
+ COPI: string;
42
+ };
43
+ export declare const SUPPORTED_WALLETS: string[];
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SUPPORTED_WALLETS = exports.SUPPORTED_TOKENS = exports.SUPPORTED_OGMIOS_LINKS = exports.SUPPORTED_LANGUAGE_VIEWS = exports.SUPPORTED_CLOCKS = exports.HARDENED_KEY_START = exports.DEFAULT_PROTOCOL_PARAMETERS = exports.DEFAULT_REDEEMER_BUDGET = void 0;
4
+ exports.DEFAULT_REDEEMER_BUDGET = {
5
+ mem: 7000000,
6
+ steps: 3000000000,
7
+ };
8
+ exports.DEFAULT_PROTOCOL_PARAMETERS = {
9
+ epoch: 0,
10
+ coinsPerUTxOSize: '4310',
11
+ priceMem: 0.0577,
12
+ priceStep: 0.0000721,
13
+ minFeeA: 44,
14
+ minFeeB: 155381,
15
+ keyDeposit: '2000000',
16
+ maxTxSize: 16384,
17
+ maxValSize: '5000',
18
+ poolDeposit: '500000000',
19
+ maxCollateralInputs: 3,
20
+ decentralisation: 0,
21
+ maxBlockSize: 98304,
22
+ collateralPercent: 150,
23
+ maxBlockHeaderSize: 1100,
24
+ minPoolCost: '340000000',
25
+ maxTxExMem: '16000000',
26
+ maxTxExSteps: '10000000000',
27
+ maxBlockExMem: '80000000',
28
+ maxBlockExSteps: '40000000000',
29
+ };
30
+ exports.HARDENED_KEY_START = 0x80000000;
31
+ exports.SUPPORTED_CLOCKS = {
32
+ testnet: ['74', '1598400', '1595967616', '432000'],
33
+ preview: ['183', '15811222', '1682467200', '86400'],
34
+ preprod: ['65', '26438400', '1682121600', '432000'],
35
+ mainnet: ['208', '4492800', '1596059091', '432000'],
36
+ };
37
+ exports.SUPPORTED_LANGUAGE_VIEWS = {
38
+ ALONZO: {
39
+ V1: 'a141005901d59f1a000302590001011a00060bc719026d00011a000249f01903e800011a000249f018201a0025cea81971f70419744d186419744d186419744d186419744d186419744d186419744d18641864186419744d18641a000249f018201a000249f018201a000249f018201a000249f01903e800011a000249f018201a000249f01903e800081a000242201a00067e2318760001011a000249f01903e800081a000249f01a0001b79818f7011a000249f0192710011a0002155e19052e011903e81a000249f01903e8011a000249f018201a000249f018201a000249f0182001011a000249f0011a000249f0041a000194af18f8011a000194af18f8011a0002377c190556011a0002bdea1901f1011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000242201a00067e23187600010119f04c192bd200011a000249f018201a000242201a00067e2318760001011a000242201a00067e2318760001011a0025cea81971f704001a000141bb041a000249f019138800011a000249f018201a000302590001011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a00330da70101ff',
40
+ },
41
+ BABBAGE: {
42
+ V1: 'a141005901b69f1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201a009063b91903fd0aff',
43
+ V2: 'a20198af1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a0011b22c1a0005fdde00021a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201b00000004a817c8001b00000004a817c8001a009063b91903fd0a1b00000004a817c800001b00000004a817c80041005901b69f1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201a009063b91903fd0aff',
44
+ },
45
+ };
46
+ exports.SUPPORTED_OGMIOS_LINKS = {
47
+ mainnet: 'wss://ogmios-api.mainnet.dandelion.link',
48
+ preprod: 'wss://ogmios-api.iohk-preprod.dandelion.link',
49
+ preview: '__TBD_SOON_TM__',
50
+ testnet: 'wss://ogmios-api.testnet.dandelion.link',
51
+ };
52
+ exports.SUPPORTED_TOKENS = {
53
+ LQ: 'da8c30857834c6ae7203935b89278c532b3995245295456f993e1d244c51',
54
+ MIN: '29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c64d494e',
55
+ NTX: 'edfd7a1d77bcb8b884c474bdc92a16002d1fb720e454fa6e993444794e5458',
56
+ iBTC: 'f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b6988069425443',
57
+ iETH: 'f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b6988069455448',
58
+ iUSD: 'f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b6988069555344',
59
+ MILK: '8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa4d494c4b',
60
+ AGIX: 'f43a62fdc3965df486de8a0d32fe800963589c41b38946602a0dc53541474958',
61
+ MELD: '6ac8ef33b510ec004fe11585f7c5a9f0c07f0c23428ab4f29c1d7d104d454c44',
62
+ INDY: '533bb94a8850ee3ccbe483106489399112b74c905342cb1792a797a0494e4459',
63
+ CLAY: '38ad9dc3aec6a2f38e220142b9aa6ade63ebe71f65e7cc2b7d8a8535434c4159',
64
+ MCOS: '6f46e1304b16d884c85c62fb0eef35028facdc41aaa0fd319a152ed64d434f53',
65
+ DING: 'ce5b9e0f8a88255b65f2e4d065c6e716e9fa9a8a86dfb86423dd1ac044494e47',
66
+ GERO: '10a49b996e2402269af553a8a96fb8eb90d79e9eca79e2b4223057b64745524f',
67
+ NMKR: '5dac8536653edc12f6f5e1045d8164b9f59998d3bdc300fc928434894e4d4b52',
68
+ PAVIA: '884892bcdc360bcef87d6b3f806e7f9cd5ac30d999d49970e7a903ae5041564941',
69
+ HOSKY: 'a0028f350aaabe0545fdcb56b039bfb08e4bb4d8c4d7c3c7d481c235484f534b59',
70
+ YUMMI: '078eafce5cd7edafdf63900edef2c1ea759e77f30ca81d6bbdeec92479756d6d69',
71
+ C3: '8e51398904a5d3fc129fbf4f1589701de23c7824d5c90fdb9490e15a434841524c4933',
72
+ GIMBAL: '2b0a04a7b60132b1805b296c7fcb3b217ff14413991bf76f72663c3067696d62616c',
73
+ SUNDAE: '9a9693a9a37912a5097918f97918d15240c92ab729a0b7c4aa144d7753554e444145',
74
+ GREENS: '4623ab311b7d982d8d26fcbe1a9439ca56661aafcdcd8d8a0ef31fd6475245454e53',
75
+ GENS: 'dda5fdb1002f7389b33e036b6afee82a8189becb6cba852e8b79b4fb0014df1047454e53',
76
+ SOCIETY: '25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c534f4349455459',
77
+ DJED: '8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd61446a65644d6963726f555344',
78
+ SHEN: '8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd615368656e4d6963726f555344',
79
+ WMT: '1d7f33bd23d85e1a25d87d86fac4f199c3197a2f7afeb662a0f34e1e776f726c646d6f62696c65746f6b656e',
80
+ COPI: 'b6a7467ea1deb012808ef4e87b5ff371e85f7142d7b356a40d9b42a0436f726e75636f70696173205b76696120436861696e506f72742e696f5d',
81
+ };
82
+ exports.SUPPORTED_WALLETS = [
83
+ 'begin',
84
+ 'eternl',
85
+ 'flint',
86
+ 'lace',
87
+ 'nami',
88
+ 'nufi',
89
+ 'gerowallet',
90
+ 'typhoncip30',
91
+ 'vespr',
92
+ 'yoroi',
93
+ ];
@@ -0,0 +1 @@
1
+ export * from './constants';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./constants"), exports);
@@ -0,0 +1,43 @@
1
+ import type { Budget, Era, LanguageVersion, Network, Protocol } from '@meshsdk/core';
2
+ export declare const DEFAULT_REDEEMER_BUDGET: Budget;
3
+ export declare const DEFAULT_PROTOCOL_PARAMETERS: Protocol;
4
+ export declare const HARDENED_KEY_START = 2147483648;
5
+ export declare const SUPPORTED_CLOCKS: Record<Network, [
6
+ epoch: string,
7
+ slot: string,
8
+ systemStart: string,
9
+ epochLength: string
10
+ ]>;
11
+ export declare const SUPPORTED_LANGUAGE_VIEWS: Record<Era, Partial<Record<LanguageVersion, string>>>;
12
+ export declare const SUPPORTED_OGMIOS_LINKS: Record<Network, string>;
13
+ export declare const SUPPORTED_TOKENS: {
14
+ LQ: string;
15
+ MIN: string;
16
+ NTX: string;
17
+ iBTC: string;
18
+ iETH: string;
19
+ iUSD: string;
20
+ MILK: string;
21
+ AGIX: string;
22
+ MELD: string;
23
+ INDY: string;
24
+ CLAY: string;
25
+ MCOS: string;
26
+ DING: string;
27
+ GERO: string;
28
+ NMKR: string;
29
+ PAVIA: string;
30
+ HOSKY: string;
31
+ YUMMI: string;
32
+ C3: string;
33
+ GIMBAL: string;
34
+ SUNDAE: string;
35
+ GREENS: string;
36
+ GENS: string;
37
+ SOCIETY: string;
38
+ DJED: string;
39
+ SHEN: string;
40
+ WMT: string;
41
+ COPI: string;
42
+ };
43
+ export declare const SUPPORTED_WALLETS: string[];
@@ -0,0 +1,90 @@
1
+ export const DEFAULT_REDEEMER_BUDGET = {
2
+ mem: 7_000_000,
3
+ steps: 3_000_000_000,
4
+ };
5
+ export const DEFAULT_PROTOCOL_PARAMETERS = {
6
+ epoch: 0,
7
+ coinsPerUTxOSize: '4310',
8
+ priceMem: 0.0577,
9
+ priceStep: 0.0000721,
10
+ minFeeA: 44,
11
+ minFeeB: 155381,
12
+ keyDeposit: '2000000',
13
+ maxTxSize: 16384,
14
+ maxValSize: '5000',
15
+ poolDeposit: '500000000',
16
+ maxCollateralInputs: 3,
17
+ decentralisation: 0,
18
+ maxBlockSize: 98304,
19
+ collateralPercent: 150,
20
+ maxBlockHeaderSize: 1100,
21
+ minPoolCost: '340000000',
22
+ maxTxExMem: '16000000',
23
+ maxTxExSteps: '10000000000',
24
+ maxBlockExMem: '80000000',
25
+ maxBlockExSteps: '40000000000',
26
+ };
27
+ export const HARDENED_KEY_START = 0x80000000;
28
+ export const SUPPORTED_CLOCKS = {
29
+ testnet: ['74', '1598400', '1595967616', '432000'],
30
+ preview: ['183', '15811222', '1682467200', '86400'],
31
+ preprod: ['65', '26438400', '1682121600', '432000'],
32
+ mainnet: ['208', '4492800', '1596059091', '432000'],
33
+ };
34
+ export const SUPPORTED_LANGUAGE_VIEWS = {
35
+ ALONZO: {
36
+ V1: 'a141005901d59f1a000302590001011a00060bc719026d00011a000249f01903e800011a000249f018201a0025cea81971f70419744d186419744d186419744d186419744d186419744d186419744d18641864186419744d18641a000249f018201a000249f018201a000249f018201a000249f01903e800011a000249f018201a000249f01903e800081a000242201a00067e2318760001011a000249f01903e800081a000249f01a0001b79818f7011a000249f0192710011a0002155e19052e011903e81a000249f01903e8011a000249f018201a000249f018201a000249f0182001011a000249f0011a000249f0041a000194af18f8011a000194af18f8011a0002377c190556011a0002bdea1901f1011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000242201a00067e23187600010119f04c192bd200011a000249f018201a000242201a00067e2318760001011a000242201a00067e2318760001011a0025cea81971f704001a000141bb041a000249f019138800011a000249f018201a000302590001011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a00330da70101ff',
37
+ },
38
+ BABBAGE: {
39
+ V1: 'a141005901b69f1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201a009063b91903fd0aff',
40
+ V2: 'a20198af1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a0011b22c1a0005fdde00021a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201b00000004a817c8001b00000004a817c8001a009063b91903fd0a1b00000004a817c800001b00000004a817c80041005901b69f1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201a009063b91903fd0aff',
41
+ },
42
+ };
43
+ export const SUPPORTED_OGMIOS_LINKS = {
44
+ mainnet: 'wss://ogmios-api.mainnet.dandelion.link',
45
+ preprod: 'wss://ogmios-api.iohk-preprod.dandelion.link',
46
+ preview: '__TBD_SOON_TM__',
47
+ testnet: 'wss://ogmios-api.testnet.dandelion.link',
48
+ };
49
+ export const SUPPORTED_TOKENS = {
50
+ LQ: 'da8c30857834c6ae7203935b89278c532b3995245295456f993e1d244c51',
51
+ MIN: '29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c64d494e',
52
+ NTX: 'edfd7a1d77bcb8b884c474bdc92a16002d1fb720e454fa6e993444794e5458',
53
+ iBTC: 'f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b6988069425443',
54
+ iETH: 'f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b6988069455448',
55
+ iUSD: 'f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b6988069555344',
56
+ MILK: '8a1cfae21368b8bebbbed9800fec304e95cce39a2a57dc35e2e3ebaa4d494c4b',
57
+ AGIX: 'f43a62fdc3965df486de8a0d32fe800963589c41b38946602a0dc53541474958',
58
+ MELD: '6ac8ef33b510ec004fe11585f7c5a9f0c07f0c23428ab4f29c1d7d104d454c44',
59
+ INDY: '533bb94a8850ee3ccbe483106489399112b74c905342cb1792a797a0494e4459',
60
+ CLAY: '38ad9dc3aec6a2f38e220142b9aa6ade63ebe71f65e7cc2b7d8a8535434c4159',
61
+ MCOS: '6f46e1304b16d884c85c62fb0eef35028facdc41aaa0fd319a152ed64d434f53',
62
+ DING: 'ce5b9e0f8a88255b65f2e4d065c6e716e9fa9a8a86dfb86423dd1ac044494e47',
63
+ GERO: '10a49b996e2402269af553a8a96fb8eb90d79e9eca79e2b4223057b64745524f',
64
+ NMKR: '5dac8536653edc12f6f5e1045d8164b9f59998d3bdc300fc928434894e4d4b52',
65
+ PAVIA: '884892bcdc360bcef87d6b3f806e7f9cd5ac30d999d49970e7a903ae5041564941',
66
+ HOSKY: 'a0028f350aaabe0545fdcb56b039bfb08e4bb4d8c4d7c3c7d481c235484f534b59',
67
+ YUMMI: '078eafce5cd7edafdf63900edef2c1ea759e77f30ca81d6bbdeec92479756d6d69',
68
+ C3: '8e51398904a5d3fc129fbf4f1589701de23c7824d5c90fdb9490e15a434841524c4933',
69
+ GIMBAL: '2b0a04a7b60132b1805b296c7fcb3b217ff14413991bf76f72663c3067696d62616c',
70
+ SUNDAE: '9a9693a9a37912a5097918f97918d15240c92ab729a0b7c4aa144d7753554e444145',
71
+ GREENS: '4623ab311b7d982d8d26fcbe1a9439ca56661aafcdcd8d8a0ef31fd6475245454e53',
72
+ GENS: 'dda5fdb1002f7389b33e036b6afee82a8189becb6cba852e8b79b4fb0014df1047454e53',
73
+ SOCIETY: '25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c534f4349455459',
74
+ DJED: '8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd61446a65644d6963726f555344',
75
+ SHEN: '8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd615368656e4d6963726f555344',
76
+ WMT: '1d7f33bd23d85e1a25d87d86fac4f199c3197a2f7afeb662a0f34e1e776f726c646d6f62696c65746f6b656e',
77
+ COPI: 'b6a7467ea1deb012808ef4e87b5ff371e85f7142d7b356a40d9b42a0436f726e75636f70696173205b76696120436861696e506f72742e696f5d',
78
+ };
79
+ export const SUPPORTED_WALLETS = [
80
+ 'begin',
81
+ 'eternl',
82
+ 'flint',
83
+ 'lace',
84
+ 'nami',
85
+ 'nufi',
86
+ 'gerowallet',
87
+ 'typhoncip30',
88
+ 'vespr',
89
+ 'yoroi',
90
+ ];
@@ -0,0 +1 @@
1
+ export * from './constants';
@@ -0,0 +1 @@
1
+ export * from './constants';
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@meshsdk/common",
3
+ "description": "Cardano common utils & constants for Mesh SDK",
4
+ "version": "1.0.0-alpha.1",
5
+ "license": "Apache-2.0",
6
+ "main": "dist/cjs/index.js",
7
+ "module": "dist/mjs/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/mjs/index.js",
11
+ "require": "./dist/cjs/index.js"
12
+ }
13
+ },
14
+ "homepage": "https://github.com/MeshJS/mesh-core",
15
+ "author": {
16
+ "name": "SIDAN Lab",
17
+ "email": "contact@sidan.io"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/MeshJS/mesh-core.git"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "keywords": [
27
+ "blockchain",
28
+ "cardano",
29
+ "plutus",
30
+ "cardano-serialization-lib"
31
+ ],
32
+ "scripts": {
33
+ "prepare": "cp ../tsconfig-base.json ./ && cp ../tsconfig-cjs.json ./ && cp ../tsconfig.json ./",
34
+ "build": "rm -fr dist/* && tsc -p ./tsconfig.json && tsc -p ./tsconfig-cjs.json",
35
+ "ci": "yarn && yarn build"
36
+ },
37
+ "devDependencies": {
38
+ "@types/node": "^18.16.3",
39
+ "@types/json-bigint": "^1.0.4",
40
+ "ts-node": "^10.9.2",
41
+ "typescript": "^5.0.4"
42
+ }
43
+ }