@fxhash/config 0.0.6 → 0.0.8

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 (66) hide show
  1. package/README.md +10 -0
  2. package/dist/api/eth.cjs +7 -0
  3. package/dist/api/eth.cjs.map +1 -0
  4. package/dist/api/eth.d.ts +7 -0
  5. package/dist/api/eth.js +7 -0
  6. package/dist/api/eth.js.map +1 -0
  7. package/dist/api/fxhash.cjs +9 -0
  8. package/dist/api/fxhash.cjs.map +1 -0
  9. package/dist/api/fxhash.d.ts +32 -0
  10. package/dist/api/fxhash.js +9 -0
  11. package/dist/api/fxhash.js.map +1 -0
  12. package/dist/api/tezos.cjs +9 -0
  13. package/dist/api/tezos.cjs.map +1 -0
  14. package/dist/api/tezos.d.ts +9 -0
  15. package/dist/api/tezos.js +9 -0
  16. package/dist/api/tezos.js.map +1 -0
  17. package/dist/chunk-7WY5VFHS.js +27 -0
  18. package/dist/chunk-7WY5VFHS.js.map +1 -0
  19. package/dist/chunk-C6E7ASBV.js +10 -0
  20. package/dist/chunk-C6E7ASBV.js.map +1 -0
  21. package/dist/chunk-E7KQMDGP.cjs +10 -0
  22. package/dist/chunk-E7KQMDGP.cjs.map +1 -0
  23. package/dist/chunk-IYJZUHOI.js +64 -0
  24. package/dist/chunk-IYJZUHOI.js.map +1 -0
  25. package/dist/chunk-JQKT6SDR.cjs +17 -0
  26. package/dist/chunk-JQKT6SDR.cjs.map +1 -0
  27. package/dist/chunk-LYBPFYQE.cjs +81 -0
  28. package/dist/chunk-LYBPFYQE.cjs.map +1 -0
  29. package/dist/chunk-M6DLQFBS.cjs +64 -0
  30. package/dist/chunk-M6DLQFBS.cjs.map +1 -0
  31. package/dist/chunk-NSIM63EC.cjs +27 -0
  32. package/dist/chunk-NSIM63EC.cjs.map +1 -0
  33. package/dist/chunk-O34FLX72.cjs +101 -0
  34. package/dist/chunk-O34FLX72.cjs.map +1 -0
  35. package/dist/chunk-OX246A4J.js +81 -0
  36. package/dist/chunk-OX246A4J.js.map +1 -0
  37. package/dist/chunk-U462M4P2.js +17 -0
  38. package/dist/chunk-U462M4P2.js.map +1 -0
  39. package/dist/chunk-VRXN4ZLN.js +101 -0
  40. package/dist/chunk-VRXN4ZLN.js.map +1 -0
  41. package/dist/config.cjs +16 -0
  42. package/dist/config.cjs.map +1 -0
  43. package/dist/config.d.ts +68 -0
  44. package/dist/config.js +16 -0
  45. package/dist/config.js.map +1 -0
  46. package/dist/contracts/eth.cjs +7 -0
  47. package/dist/contracts/eth.cjs.map +1 -0
  48. package/dist/contracts/eth.d.ts +14 -0
  49. package/dist/contracts/eth.js +7 -0
  50. package/dist/contracts/eth.js.map +1 -0
  51. package/dist/contracts/tezos.cjs +9 -0
  52. package/dist/contracts/tezos.cjs.map +1 -0
  53. package/dist/contracts/tezos.d.ts +41 -0
  54. package/dist/contracts/tezos.js +9 -0
  55. package/dist/contracts/tezos.js.map +1 -0
  56. package/dist/index.cjs +36 -51
  57. package/dist/index.cjs.map +1 -1
  58. package/dist/index.d.ts +10 -6
  59. package/dist/index.js +37 -52
  60. package/dist/index.js.map +1 -1
  61. package/dist/utils/index.cjs +14 -0
  62. package/dist/utils/index.cjs.map +1 -0
  63. package/dist/utils/index.d.ts +11 -0
  64. package/dist/utils/index.js +14 -0
  65. package/dist/utils/index.js.map +1 -0
  66. package/package.json +1 -2
package/README.md CHANGED
@@ -1,3 +1,13 @@
1
1
  # fxhash-config
2
2
 
3
3
  `@fxhash/config` contains all variables used within all modules of fx(package)
4
+
5
+ For you application you usually want to use the config like this:
6
+
7
+ ```ts
8
+ import { config } from "@fxhash/config"
9
+ ```
10
+
11
+ This singleton will expose variables for testnet/mainnet based on the `FXHASH_ENV` .env variable.
12
+ - Set `FXHASH_ENV=dev` to expose the config for testnet/dev environments
13
+ - Set `FXHASH_ENV=prd` or `FXHASH_ENV=production` to expose the config for mainnet/production environments
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkE7KQMDGPcjs = require('../chunk-E7KQMDGP.cjs');
4
+
5
+
6
+ exports.ethTestnetApis = _chunkE7KQMDGPcjs.ethTestnetApis;
7
+ //# sourceMappingURL=eth.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ interface IEthApis {
2
+ rpcs: string[];
3
+ reservoir: string;
4
+ }
5
+ declare const ethTestnetApis: IEthApis;
6
+
7
+ export { IEthApis, ethTestnetApis };
@@ -0,0 +1,7 @@
1
+ import {
2
+ ethTestnetApis
3
+ } from "../chunk-C6E7ASBV.js";
4
+ export {
5
+ ethTestnetApis
6
+ };
7
+ //# sourceMappingURL=eth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkM6DLQFBScjs = require('../chunk-M6DLQFBS.cjs');
5
+
6
+
7
+
8
+ exports.fxhashDevApis = _chunkM6DLQFBScjs.fxhashDevApis; exports.fxhashPrdApis = _chunkM6DLQFBScjs.fxhashPrdApis;
9
+ //# sourceMappingURL=fxhash.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ interface IFxhashApis {
2
+ website: string;
3
+ main: string;
4
+ file: string;
5
+ fsEmulator: string;
6
+ extract: string;
7
+ media: string;
8
+ ipfsGateway: string;
9
+ ipfsGatewaySafe: string;
10
+ onchfsProxy: string;
11
+ authority: {
12
+ api: string;
13
+ };
14
+ capture: {
15
+ lambdas: {
16
+ small: string;
17
+ medium: string;
18
+ large: string;
19
+ };
20
+ };
21
+ dashboard: {
22
+ backend: string;
23
+ aggregator: string;
24
+ };
25
+ events: {
26
+ liveBackend: string;
27
+ };
28
+ }
29
+ declare const fxhashDevApis: IFxhashApis;
30
+ declare const fxhashPrdApis: IFxhashApis;
31
+
32
+ export { IFxhashApis, fxhashDevApis, fxhashPrdApis };
@@ -0,0 +1,9 @@
1
+ import {
2
+ fxhashDevApis,
3
+ fxhashPrdApis
4
+ } from "../chunk-IYJZUHOI.js";
5
+ export {
6
+ fxhashDevApis,
7
+ fxhashPrdApis
8
+ };
9
+ //# sourceMappingURL=fxhash.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkNSIM63ECcjs = require('../chunk-NSIM63EC.cjs');
5
+
6
+
7
+
8
+ exports.tezosMainnetApis = _chunkNSIM63ECcjs.tezosMainnetApis; exports.tezosTestnetApis = _chunkNSIM63ECcjs.tezosTestnetApis;
9
+ //# sourceMappingURL=tezos.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ interface ITezosApis {
2
+ tzktWebsite: string;
3
+ tzkt: string;
4
+ rpcs: string[];
5
+ }
6
+ declare const tezosTestnetApis: ITezosApis;
7
+ declare const tezosMainnetApis: ITezosApis;
8
+
9
+ export { ITezosApis, tezosMainnetApis, tezosTestnetApis };
@@ -0,0 +1,9 @@
1
+ import {
2
+ tezosMainnetApis,
3
+ tezosTestnetApis
4
+ } from "../chunk-7WY5VFHS.js";
5
+ export {
6
+ tezosMainnetApis,
7
+ tezosTestnetApis
8
+ };
9
+ //# sourceMappingURL=tezos.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,27 @@
1
+ // src/api/tezos.ts
2
+ var tezosTestnetApis = {
3
+ tzkt: "https://api.ghostnet.tzkt.io/v1/",
4
+ tzktWebsite: "https://ghostnet.tzkt.io/",
5
+ rpcs: [
6
+ "https://ghostnet.ecadinfra.com",
7
+ "https://ghostnet.smartpy.io",
8
+ "https://ghostnet.tezos.marigold.dev/"
9
+ ]
10
+ };
11
+ var tezosMainnetApis = {
12
+ tzkt: "https://api.tzkt.io/v1/",
13
+ tzktWebsite: "https://tzkt.io/",
14
+ rpcs: [
15
+ "https://rpc1.fxhash.xyz",
16
+ "https://mainnet.smartpy.io",
17
+ "https://mainnet.api.tez.ie",
18
+ "https://teznode.letzbake.com",
19
+ "https://rpc.tzbeta.net"
20
+ ]
21
+ };
22
+
23
+ export {
24
+ tezosTestnetApis,
25
+ tezosMainnetApis
26
+ };
27
+ //# sourceMappingURL=chunk-7WY5VFHS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/api/tezos.ts"],"sourcesContent":["export interface ITezosApis {\n tzktWebsite: string\n tzkt: string\n rpcs: string[]\n}\n\nexport const tezosTestnetApis: ITezosApis = {\n tzkt: \"https://api.ghostnet.tzkt.io/v1/\",\n tzktWebsite: \"https://ghostnet.tzkt.io/\",\n rpcs: [\n \"https://ghostnet.ecadinfra.com\",\n \"https://ghostnet.smartpy.io\",\n \"https://ghostnet.tezos.marigold.dev/\",\n ],\n}\n\nexport const tezosMainnetApis: ITezosApis = {\n tzkt: \"https://api.tzkt.io/v1/\",\n tzktWebsite: \"https://tzkt.io/\",\n rpcs: [\n \"https://rpc1.fxhash.xyz\",\n \"https://mainnet.smartpy.io\",\n \"https://mainnet.api.tez.ie\",\n \"https://teznode.letzbake.com\",\n \"https://rpc.tzbeta.net\",\n ],\n}\n"],"mappings":";AAMO,IAAM,mBAA+B;AAAA,EAC1C,MAAM;AAAA,EACN,aAAa;AAAA,EACb,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEO,IAAM,mBAA+B;AAAA,EAC1C,MAAM;AAAA,EACN,aAAa;AAAA,EACb,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":[]}
@@ -0,0 +1,10 @@
1
+ // src/api/eth.ts
2
+ var ethTestnetApis = {
3
+ rpcs: ["https://rpc-sepolia.fxhash-dev.xyz"],
4
+ reservoir: "https://api-sepolia.reservoir.tools"
5
+ };
6
+
7
+ export {
8
+ ethTestnetApis
9
+ };
10
+ //# sourceMappingURL=chunk-C6E7ASBV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/api/eth.ts"],"sourcesContent":["export interface IEthApis {\n rpcs: string[],\n reservoir: string,\n}\n\nexport const ethTestnetApis: IEthApis = {\n rpcs: [\"https://rpc-sepolia.fxhash-dev.xyz\"],\n reservoir: \"https://api-sepolia.reservoir.tools\",\n}\n\n\n"],"mappings":";AAKO,IAAM,iBAA2B;AAAA,EACtC,MAAM,CAAC,oCAAoC;AAAA,EAC3C,WAAW;AACb;","names":[]}
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/api/eth.ts
2
+ var ethTestnetApis = {
3
+ rpcs: ["https://rpc-sepolia.fxhash-dev.xyz"],
4
+ reservoir: "https://api-sepolia.reservoir.tools"
5
+ };
6
+
7
+
8
+
9
+ exports.ethTestnetApis = ethTestnetApis;
10
+ //# sourceMappingURL=chunk-E7KQMDGP.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/api/eth.ts"],"names":[],"mappings":";AAKO,IAAM,iBAA2B;AAAA,EACtC,MAAM,CAAC,oCAAoC;AAAA,EAC3C,WAAW;AACb","sourcesContent":["export interface IEthApis {\n rpcs: string[],\n reservoir: string,\n}\n\nexport const ethTestnetApis: IEthApis = {\n rpcs: [\"https://rpc-sepolia.fxhash-dev.xyz\"],\n reservoir: \"https://api-sepolia.reservoir.tools\",\n}\n\n\n"]}
@@ -0,0 +1,64 @@
1
+ // src/api/fxhash.ts
2
+ var fxhashDevApis = {
3
+ website: "https://dev.fxhash-dev.xyz",
4
+ main: "https://api.fxhash-dev.xyz/graphql",
5
+ file: "https://file-api.fxhash-dev.xyz",
6
+ fsEmulator: "https://fs-emulator.fxhash-dev.xyz",
7
+ extract: "https://extract.fxhash-dev.xyz",
8
+ media: "https://media.fxhash-dev.xyz",
9
+ ipfsGateway: "https://gateway.fxhash-dev.xyz",
10
+ ipfsGatewaySafe: "https://gateway.fxhash-dev2.xyz",
11
+ onchfsProxy: "https://onchfs.fxhash-dev2.xyz",
12
+ authority: {
13
+ api: "NONE"
14
+ },
15
+ capture: {
16
+ lambdas: {
17
+ small: "https://u5not5l323zczuwnrzxwkt34ra0eyidj.lambda-url.us-east-1.on.aws/",
18
+ medium: "https://jgfz7a6km7fsqonej2sp3lqwvu0utnyy.lambda-url.us-east-1.on.aws/",
19
+ large: "https://fzezvbp2f74yturkj4akjyrq3e0zswhb.lambda-url.us-east-1.on.aws/"
20
+ }
21
+ },
22
+ dashboard: {
23
+ backend: "https://live-minting.fxhash-dev.xyz",
24
+ aggregator: "_NONE"
25
+ },
26
+ events: {
27
+ liveBackend: "_NONE"
28
+ }
29
+ };
30
+ var fxhashPrdApis = {
31
+ website: "https://fxhash.xyz",
32
+ main: "https://api.fxhash.xyz/graphql",
33
+ file: "https://file-api.fxhash.xyz",
34
+ fsEmulator: "https://fs-emulator.fxhash.xyz",
35
+ // placeholder
36
+ extract: "https://extract.fxhash.xyz",
37
+ media: "https://media.fxhash.xyz",
38
+ ipfsGateway: "https://gateway.fxhash.xyz",
39
+ ipfsGatewaySafe: "https://gateway.fxhash2.xyz",
40
+ onchfsProxy: "https://onchfs.fxhash2.xyz",
41
+ authority: {
42
+ api: "NONE"
43
+ },
44
+ capture: {
45
+ lambdas: {
46
+ small: "https://7sz7knaaw3obgqxjyv3m4e5myu0lsbdp.lambda-url.us-east-1.on.aws/",
47
+ medium: "https://tuupcq6eesbfk4veuzdfrhu7zm0zwuqy.lambda-url.us-east-1.on.aws/",
48
+ large: "https://bojj24y6ucxmsyfi4uccdmiliy0dzhji.lambda-url.us-east-1.on.aws/"
49
+ }
50
+ },
51
+ dashboard: {
52
+ backend: "https://events.fxhash.xyz",
53
+ aggregator: "NONE"
54
+ },
55
+ events: {
56
+ liveBackend: "_NONE"
57
+ }
58
+ };
59
+
60
+ export {
61
+ fxhashDevApis,
62
+ fxhashPrdApis
63
+ };
64
+ //# sourceMappingURL=chunk-IYJZUHOI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/api/fxhash.ts"],"sourcesContent":["export interface IFxhashApis {\n website: string\n main: string\n file: string\n fsEmulator: string\n extract: string\n media: string\n ipfsGateway: string\n ipfsGatewaySafe: string\n onchfsProxy: string\n authority: {\n api: string\n }\n capture: {\n lambdas: {\n small: string\n medium: string\n large: string\n }\n }\n dashboard: {\n backend: string\n aggregator: string\n }\n events: {\n liveBackend: string\n }\n}\n\n// list of APIs dev leverages\nexport const fxhashDevApis: IFxhashApis = {\n website: \"https://dev.fxhash-dev.xyz\",\n main: \"https://api.fxhash-dev.xyz/graphql\",\n file: \"https://file-api.fxhash-dev.xyz\",\n fsEmulator: \"https://fs-emulator.fxhash-dev.xyz\",\n extract: \"https://extract.fxhash-dev.xyz\",\n media: \"https://media.fxhash-dev.xyz\",\n ipfsGateway: \"https://gateway.fxhash-dev.xyz\",\n ipfsGatewaySafe: \"https://gateway.fxhash-dev2.xyz\",\n onchfsProxy: \"https://onchfs.fxhash-dev2.xyz\",\n authority: {\n api: \"NONE\",\n },\n capture: {\n lambdas: {\n small:\n \"https://u5not5l323zczuwnrzxwkt34ra0eyidj.lambda-url.us-east-1.on.aws/\",\n medium:\n \"https://jgfz7a6km7fsqonej2sp3lqwvu0utnyy.lambda-url.us-east-1.on.aws/\",\n large:\n \"https://fzezvbp2f74yturkj4akjyrq3e0zswhb.lambda-url.us-east-1.on.aws/\",\n },\n },\n dashboard: {\n backend: \"https://live-minting.fxhash-dev.xyz\",\n aggregator: \"_NONE\",\n },\n events: {\n liveBackend: \"_NONE\",\n },\n}\n\n// list of APIs prod leverages\nexport const fxhashPrdApis: IFxhashApis = {\n website: \"https://fxhash.xyz\",\n main: \"https://api.fxhash.xyz/graphql\",\n file: \"https://file-api.fxhash.xyz\",\n fsEmulator: \"https://fs-emulator.fxhash.xyz\", // placeholder\n extract: \"https://extract.fxhash.xyz\",\n media: \"https://media.fxhash.xyz\",\n ipfsGateway: \"https://gateway.fxhash.xyz\",\n ipfsGatewaySafe: \"https://gateway.fxhash2.xyz\",\n onchfsProxy: \"https://onchfs.fxhash2.xyz\",\n authority: {\n api: \"NONE\",\n },\n capture: {\n lambdas: {\n small:\n \"https://7sz7knaaw3obgqxjyv3m4e5myu0lsbdp.lambda-url.us-east-1.on.aws/\",\n medium:\n \"https://tuupcq6eesbfk4veuzdfrhu7zm0zwuqy.lambda-url.us-east-1.on.aws/\",\n large:\n \"https://bojj24y6ucxmsyfi4uccdmiliy0dzhji.lambda-url.us-east-1.on.aws/\",\n },\n },\n dashboard: {\n backend: \"https://events.fxhash.xyz\",\n aggregator: \"NONE\",\n },\n events: {\n liveBackend: \"_NONE\",\n },\n}\n"],"mappings":";AA8BO,IAAM,gBAA6B;AAAA,EACxC,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,IACT,KAAK;AAAA,EACP;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,MACP,OACE;AAAA,MACF,QACE;AAAA,MACF,OACE;AAAA,IACJ;AAAA,EACF;AAAA,EACA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,YAAY;AAAA,EACd;AAAA,EACA,QAAQ;AAAA,IACN,aAAa;AAAA,EACf;AACF;AAGO,IAAM,gBAA6B;AAAA,EACxC,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AAAA;AAAA,EACZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,IACT,KAAK;AAAA,EACP;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,MACP,OACE;AAAA,MACF,QACE;AAAA,MACF,OACE;AAAA,IACJ;AAAA,EACF;AAAA,EACA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,YAAY;AAAA,EACd;AAAA,EACA,QAAQ;AAAA,IACN,aAAa;AAAA,EACf;AACF;","names":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/contracts/eth.ts
2
+ var ethTestnetContracts = {
3
+ project_factory: "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
4
+ splits_factory: "0x76AEd96a5eEe904cA5a79e151ff3B08573725108",
5
+ splits_main: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
6
+ scripty_storage: "0x13153F99bDc7b87531E52D8F310AeA5E9468ceB5",
7
+ scripty_builder: "0x18EEF3cC32083396853Eb46a89123B7A5da71d16",
8
+ seaport_zone: "0xAee17A0E6e98e832112fD0A26dA22C4e812AA7F5",
9
+ fixed_price_minter_v1: "0xD935876c9E718992BCB56937f43429DCC9ba8f89",
10
+ dutch_auction_v1: "0x137c874829d31ffc8497a2762ee4cdc01848d941",
11
+ mint_ticket_factory_v1: "0x1c2eeeb924982d592de2d53291c1bba14ed9db9d"
12
+ };
13
+
14
+
15
+
16
+ exports.ethTestnetContracts = ethTestnetContracts;
17
+ //# sourceMappingURL=chunk-JQKT6SDR.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/contracts/eth.ts"],"names":[],"mappings":";AAYO,IAAM,sBAAqC;AAAA,EAChD,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,wBAAwB;AAC1B","sourcesContent":["export interface IEthContracts {\n project_factory: string\n splits_factory: string\n splits_main: string\n scripty_storage: string\n scripty_builder: string\n seaport_zone: string\n fixed_price_minter_v1: string\n dutch_auction_v1: string\n mint_ticket_factory_v1: string\n}\n\nexport const ethTestnetContracts: IEthContracts = {\n project_factory: \"0x0B306BF915C4d645ff596e518fAf3F9669b97016\",\n splits_factory: \"0x76AEd96a5eEe904cA5a79e151ff3B08573725108\",\n splits_main: \"0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e\",\n scripty_storage: \"0x13153F99bDc7b87531E52D8F310AeA5E9468ceB5\",\n scripty_builder: \"0x18EEF3cC32083396853Eb46a89123B7A5da71d16\",\n seaport_zone: \"0xAee17A0E6e98e832112fD0A26dA22C4e812AA7F5\",\n fixed_price_minter_v1: \"0xD935876c9E718992BCB56937f43429DCC9ba8f89\",\n dutch_auction_v1: \"0x137c874829d31ffc8497a2762ee4cdc01848d941\",\n mint_ticket_factory_v1: \"0x1c2eeeb924982d592de2d53291c1bba14ed9db9d\",\n}\n"]}
@@ -0,0 +1,81 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/contracts/tezos.ts
2
+ var tezosTestnetContracts = {
3
+ allowed_mint: "KT1QwfqMUDRYVyxo9KhunY5YCx9qQ9LWcswr",
4
+ allowed_mint_issuer: "KT1WDByFKQmgVynxSr2rzdijs5aSs7mo7eBM",
5
+ allowed_mint_issuer_v3: "KT1S3UqrLgMpVivNWWmBUnkPCaSFHDJ4HYvb",
6
+ allowed_mint_v3: "KT1HUE2A6CHNw4NZZBWjJyG38nysWWfusagu",
7
+ articles: "KT1HV8NXUCKWC1tWNHSD8LPPiKPshQuXvb8r",
8
+ collaboration_factory: "KT1WFXts7jwxpD9uGDKzyqTUTFaG222xmjoZ",
9
+ consumable_database: "KT1FP9y1PJpJkXhdJCgYZhVbj9UBpxnA57Bx",
10
+ cycles: "KT1BJBcvtgZM2Kf4rUapmp4AhXtWCmznxd6F",
11
+ gentk_v1: "KT1ExHjELnDuat9io3HkDcrBhHmek7h8EVXG",
12
+ gentk_v1_data: "KT1SquPSN9oiMUWHG9coKRJAwz8Afe4c6izT",
13
+ gentk_v2: "KT1NkZho1yRkDdQnN4Mz93sDYyY2pPrEHTNs",
14
+ gentk_v3: "KT1TtVAyjh4Ahdm8sLZwFnL7tqoLf59XrK2h",
15
+ issuer_tickets: "KT19PBsvmB2CwFqXftzb5gNJfxrEDFdSxGKZ",
16
+ issuer_v0: "KT1PyfrDD85RxUWz8dMHoC92MxdPzecSQ5t9",
17
+ issuer_v1: "KT1QwWVZogqPZZtGSVxGpLkEWar7LFvAsMdd",
18
+ issuer_v2: "KT1Sy7X6TubmZ39G8CHVrUcxjc3jiF68P8oB",
19
+ issuer_v3: "KT1DfymMp3qD5Pd5ujPjp7UsQbppY9yY1Hbf",
20
+ marketplace_v1: "KT1DbivePcuUzCp5RaAQWxPSLV9G2Ys4faUR",
21
+ marketplace_v2: "KT1HFYtf4vNCr4xRDZxLKc5asUdCsPUTTW9R",
22
+ marketplace_v3: "KT1J6rt4d9U785DZWYEPvQ2fR1e71gxP42Lj",
23
+ moderation_articles: "KT1Qg78fa81Xyjh65yNqUgVucubHUyq6VmgL",
24
+ moderation_team: "KT1RsfyWzHs1EEWMzFLmKnJTQwPqRzsnF3Dp",
25
+ moderation_token: "KT1PokFR36CcXKh3jUnjncabcuPWm5BMiqjt",
26
+ moderation_token_v3: "KT1C1J38YR6eDvRBDEDaypptCFda9aH7FRbJ",
27
+ moderation_user: "KT1Q3s7mYpscCnwsyndrVZg9WqBCmw99n37g",
28
+ pricing_dutch_auction: "KT1BqikbUisiBBd9WvPiqnTwLY8Pm68p2Aua",
29
+ pricing_dutch_auction_v3: "KT1QCboxZ28SqsfyZWTDrkSpZzU6xjZXBsFb",
30
+ pricing_fixed: "KT1PAsf9Zc9FGJA9iLE1Ab2vPkMDsh4hyZVi",
31
+ pricing_fixed_v3: "KT1Mqyy5JPknNzNJtgF93SHpFHv4VcYrNZry",
32
+ randomizer: "KT1QmdsrJWJgK3VXid8q7D4sPipVoc9jh12x",
33
+ token_moderation: "KT1BHfPDMRp2q48ZkmmnK7TRzQRdFnp6XVKq",
34
+ treasury: "KT1MbDbRhZPs5TzZEXkT142ePoccFHfohBoo",
35
+ user_moderation: "KT1LmZjoitx2itnB1qCbHMrT3V64RbuSPf3a",
36
+ user_register: "KT1XaikgmBDQANBvkFqyFhSpgAZJAXpiDFGE",
37
+ onchfs_files: "KT1FA8AGGcJha6S6MqfBUiibwTaYhK8u7s9Q"
38
+ };
39
+ var tezosMainnetContracts = {
40
+ allowed_mint: "KT1VDQwskdfHkSbA9W6CSEnxnh1u1XU8K8Gu",
41
+ allowed_mint_issuer: "KT1Djz5ix2yEGmV7PMq3GYq17TvMMkd1anT2",
42
+ allowed_mint_issuer_v3: "KT1LJ4R4xoEWMgTjrGrdHJAeHLYFaB4RsoVK",
43
+ allowed_mint_v3: "KT1KgEjxqfRCMwtCGifT6fDPwC35RptTUEvE",
44
+ articles: "KT1GtbuswcNMGhHF2TSuH1Yfaqn16do8Qtva",
45
+ collaboration_factory: "KT1JrUPSCt1r2MB2J7Lk2KwiWSYr3Mr414ck",
46
+ consumable_database: "KT1Wm3zZqRd6JBbZWuatKYZCmnqUMy2Y79BL",
47
+ cycles: "KT1BgD9SPfysnMz3vkfm6ZEaGFKCVcE5ay91",
48
+ gentk_v1: "KT1KEa8z6vWXDJrVqtMrAeDVzsvxat3kHaCE",
49
+ gentk_v1_data: "KT1WRpPyXHSCbTfDQFWVXbMpxxvf7Y7KChxc",
50
+ gentk_v2: "KT1U6EHmNxJTkvaWJ4ThczG4FSDaHC21ssvi",
51
+ gentk_v3: "KT1EfsNuqwLAWDd3o4pvfUx1CAh5GMdTrRvr",
52
+ issuer_tickets: "KT19etLCjCCzTLFFAxsxLFsVYMRPetr2bTD5",
53
+ issuer_v0: "KT1AEVuykWeuuFX7QkEAMNtffzwhe1Z98hJS",
54
+ issuer_v1: "KT1XCoGnfupWk7Sp8536EfrxcP73LmT68Nyr",
55
+ issuer_v2: "KT1BJC12dG17CVvPKJ1VYaNnaT5mzfnUTwXv",
56
+ issuer_v3: "KT1Xpmp15KfqoePNW9HczFmqaGNHwadV2a3b",
57
+ marketplace_v1: "KT1Xo5B7PNBAeynZPmca4bRh6LQow4og1Zb9",
58
+ marketplace_v2: "KT1GbyoDi7H1sfXmimXpptZJuCdHMh66WS9u",
59
+ marketplace_v3: "KT1M1NyU9X4usEimt2f3kDaijZnDMNBu42Ja",
60
+ moderation_articles: "KT1A36z7nG4zPDbhjyrzhYf9SCn5ipPZeRMQ",
61
+ moderation_team: "KT1FvGQcPxzuJkJsdWFQiGkueSNT5mqpFDrf",
62
+ moderation_token: "KT18tPu7uXy9PJ97i3qCLsr7an4X6sQ5qxU7",
63
+ moderation_token_v3: "KT1UBWXN1KxTh4eurrCTCH7aEjqdrM3HjP6R",
64
+ moderation_user: "KT1Wn2kkKmdbyLWBiLXWCkE7fKj1LsLKar2A",
65
+ pricing_dutch_auction: "KT1EzLrXRCXij42pKfbZPn48PuxrnVki1aYY",
66
+ pricing_dutch_auction_v3: "KT1MFgHKorMWXeVL6qrpgjZmemirafppSg9q",
67
+ pricing_fixed: "KT1FHzHxuMaNLYG8LdniY45M6RCfkF3AoXFh",
68
+ pricing_fixed_v3: "KT1V24J6FVuKPU3xy6gVF6wJ3zdRXBheQhaV",
69
+ randomizer: "KT1XYgKrzBbzsckGvXTPgxFyN7KNZ9RPYVWf",
70
+ token_moderation: "KT1HgVuzNWVvnX16fahbV2LrnpwifYKoFMRd",
71
+ treasury: "KT1P2BXYb894MekrCcSrnidzQYPVqitLoVLc",
72
+ user_moderation: "KT1TWWQ6FtLoosVfZgTKV2q68TMZaENhGm54",
73
+ user_register: "KT1Ezht4PDKZri7aVppVGT4Jkw39sesaFnww",
74
+ onchfs_files: "KT1Ae7dT1gsLw2tRnUMXSCmEyF74KVkM6LUo"
75
+ };
76
+
77
+
78
+
79
+
80
+ exports.tezosTestnetContracts = tezosTestnetContracts; exports.tezosMainnetContracts = tezosMainnetContracts;
81
+ //# sourceMappingURL=chunk-LYBPFYQE.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/contracts/tezos.ts"],"names":[],"mappings":";AAsCO,IAAM,wBAAyC;AAAA,EACpD,cAAc;AAAA,EACd,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,eAAe;AAAA,EACf,UAAU;AAAA,EACV,UAAU;AAAA,EACV,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,uBAAuB;AAAA,EACvB,0BAA0B;AAAA,EAC1B,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,cAAc;AAChB;AAEO,IAAM,wBAAyC;AAAA,EACpD,cAAc;AAAA,EACd,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,eAAe;AAAA,EACf,UAAU;AAAA,EACV,UAAU;AAAA,EACV,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,uBAAuB;AAAA,EACvB,0BAA0B;AAAA,EAC1B,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,cAAc;AAChB","sourcesContent":["export interface ITezosContracts {\n allowed_mint: string\n allowed_mint_issuer: string\n allowed_mint_issuer_v3: string\n allowed_mint_v3: string\n articles: string\n collaboration_factory: string\n consumable_database: string\n cycles: string\n gentk_v1: string\n gentk_v1_data: string\n gentk_v2: string\n gentk_v3: string\n issuer_tickets: string\n issuer_v0: string\n issuer_v1: string\n issuer_v2: string\n issuer_v3: string\n marketplace_v1: string\n marketplace_v2: string\n marketplace_v3: string\n moderation_articles: string\n moderation_team: string\n moderation_token: string\n moderation_token_v3: string\n moderation_user: string\n pricing_dutch_auction: string\n pricing_dutch_auction_v3: string\n pricing_fixed: string\n pricing_fixed_v3: string\n randomizer: string\n token_moderation: string\n treasury: string\n user_moderation: string\n user_register: string\n onchfs_files: string\n}\n// The Tezos Smart Contracts addresses on testnet\nexport const tezosTestnetContracts: ITezosContracts = {\n allowed_mint: \"KT1QwfqMUDRYVyxo9KhunY5YCx9qQ9LWcswr\",\n allowed_mint_issuer: \"KT1WDByFKQmgVynxSr2rzdijs5aSs7mo7eBM\",\n allowed_mint_issuer_v3: \"KT1S3UqrLgMpVivNWWmBUnkPCaSFHDJ4HYvb\",\n allowed_mint_v3: \"KT1HUE2A6CHNw4NZZBWjJyG38nysWWfusagu\",\n articles: \"KT1HV8NXUCKWC1tWNHSD8LPPiKPshQuXvb8r\",\n collaboration_factory: \"KT1WFXts7jwxpD9uGDKzyqTUTFaG222xmjoZ\",\n consumable_database: \"KT1FP9y1PJpJkXhdJCgYZhVbj9UBpxnA57Bx\",\n cycles: \"KT1BJBcvtgZM2Kf4rUapmp4AhXtWCmznxd6F\",\n gentk_v1: \"KT1ExHjELnDuat9io3HkDcrBhHmek7h8EVXG\",\n gentk_v1_data: \"KT1SquPSN9oiMUWHG9coKRJAwz8Afe4c6izT\",\n gentk_v2: \"KT1NkZho1yRkDdQnN4Mz93sDYyY2pPrEHTNs\",\n gentk_v3: \"KT1TtVAyjh4Ahdm8sLZwFnL7tqoLf59XrK2h\",\n issuer_tickets: \"KT19PBsvmB2CwFqXftzb5gNJfxrEDFdSxGKZ\",\n issuer_v0: \"KT1PyfrDD85RxUWz8dMHoC92MxdPzecSQ5t9\",\n issuer_v1: \"KT1QwWVZogqPZZtGSVxGpLkEWar7LFvAsMdd\",\n issuer_v2: \"KT1Sy7X6TubmZ39G8CHVrUcxjc3jiF68P8oB\",\n issuer_v3: \"KT1DfymMp3qD5Pd5ujPjp7UsQbppY9yY1Hbf\",\n marketplace_v1: \"KT1DbivePcuUzCp5RaAQWxPSLV9G2Ys4faUR\",\n marketplace_v2: \"KT1HFYtf4vNCr4xRDZxLKc5asUdCsPUTTW9R\",\n marketplace_v3: \"KT1J6rt4d9U785DZWYEPvQ2fR1e71gxP42Lj\",\n moderation_articles: \"KT1Qg78fa81Xyjh65yNqUgVucubHUyq6VmgL\",\n moderation_team: \"KT1RsfyWzHs1EEWMzFLmKnJTQwPqRzsnF3Dp\",\n moderation_token: \"KT1PokFR36CcXKh3jUnjncabcuPWm5BMiqjt\",\n moderation_token_v3: \"KT1C1J38YR6eDvRBDEDaypptCFda9aH7FRbJ\",\n moderation_user: \"KT1Q3s7mYpscCnwsyndrVZg9WqBCmw99n37g\",\n pricing_dutch_auction: \"KT1BqikbUisiBBd9WvPiqnTwLY8Pm68p2Aua\",\n pricing_dutch_auction_v3: \"KT1QCboxZ28SqsfyZWTDrkSpZzU6xjZXBsFb\",\n pricing_fixed: \"KT1PAsf9Zc9FGJA9iLE1Ab2vPkMDsh4hyZVi\",\n pricing_fixed_v3: \"KT1Mqyy5JPknNzNJtgF93SHpFHv4VcYrNZry\",\n randomizer: \"KT1QmdsrJWJgK3VXid8q7D4sPipVoc9jh12x\",\n token_moderation: \"KT1BHfPDMRp2q48ZkmmnK7TRzQRdFnp6XVKq\",\n treasury: \"KT1MbDbRhZPs5TzZEXkT142ePoccFHfohBoo\",\n user_moderation: \"KT1LmZjoitx2itnB1qCbHMrT3V64RbuSPf3a\",\n user_register: \"KT1XaikgmBDQANBvkFqyFhSpgAZJAXpiDFGE\",\n onchfs_files: \"KT1FA8AGGcJha6S6MqfBUiibwTaYhK8u7s9Q\",\n}\n// The Tezos Smart Contracts on mainnet\nexport const tezosMainnetContracts: ITezosContracts = {\n allowed_mint: \"KT1VDQwskdfHkSbA9W6CSEnxnh1u1XU8K8Gu\",\n allowed_mint_issuer: \"KT1Djz5ix2yEGmV7PMq3GYq17TvMMkd1anT2\",\n allowed_mint_issuer_v3: \"KT1LJ4R4xoEWMgTjrGrdHJAeHLYFaB4RsoVK\",\n allowed_mint_v3: \"KT1KgEjxqfRCMwtCGifT6fDPwC35RptTUEvE\",\n articles: \"KT1GtbuswcNMGhHF2TSuH1Yfaqn16do8Qtva\",\n collaboration_factory: \"KT1JrUPSCt1r2MB2J7Lk2KwiWSYr3Mr414ck\",\n consumable_database: \"KT1Wm3zZqRd6JBbZWuatKYZCmnqUMy2Y79BL\",\n cycles: \"KT1BgD9SPfysnMz3vkfm6ZEaGFKCVcE5ay91\",\n gentk_v1: \"KT1KEa8z6vWXDJrVqtMrAeDVzsvxat3kHaCE\",\n gentk_v1_data: \"KT1WRpPyXHSCbTfDQFWVXbMpxxvf7Y7KChxc\",\n gentk_v2: \"KT1U6EHmNxJTkvaWJ4ThczG4FSDaHC21ssvi\",\n gentk_v3: \"KT1EfsNuqwLAWDd3o4pvfUx1CAh5GMdTrRvr\",\n issuer_tickets: \"KT19etLCjCCzTLFFAxsxLFsVYMRPetr2bTD5\",\n issuer_v0: \"KT1AEVuykWeuuFX7QkEAMNtffzwhe1Z98hJS\",\n issuer_v1: \"KT1XCoGnfupWk7Sp8536EfrxcP73LmT68Nyr\",\n issuer_v2: \"KT1BJC12dG17CVvPKJ1VYaNnaT5mzfnUTwXv\",\n issuer_v3: \"KT1Xpmp15KfqoePNW9HczFmqaGNHwadV2a3b\",\n marketplace_v1: \"KT1Xo5B7PNBAeynZPmca4bRh6LQow4og1Zb9\",\n marketplace_v2: \"KT1GbyoDi7H1sfXmimXpptZJuCdHMh66WS9u\",\n marketplace_v3: \"KT1M1NyU9X4usEimt2f3kDaijZnDMNBu42Ja\",\n moderation_articles: \"KT1A36z7nG4zPDbhjyrzhYf9SCn5ipPZeRMQ\",\n moderation_team: \"KT1FvGQcPxzuJkJsdWFQiGkueSNT5mqpFDrf\",\n moderation_token: \"KT18tPu7uXy9PJ97i3qCLsr7an4X6sQ5qxU7\",\n moderation_token_v3: \"KT1UBWXN1KxTh4eurrCTCH7aEjqdrM3HjP6R\",\n moderation_user: \"KT1Wn2kkKmdbyLWBiLXWCkE7fKj1LsLKar2A\",\n pricing_dutch_auction: \"KT1EzLrXRCXij42pKfbZPn48PuxrnVki1aYY\",\n pricing_dutch_auction_v3: \"KT1MFgHKorMWXeVL6qrpgjZmemirafppSg9q\",\n pricing_fixed: \"KT1FHzHxuMaNLYG8LdniY45M6RCfkF3AoXFh\",\n pricing_fixed_v3: \"KT1V24J6FVuKPU3xy6gVF6wJ3zdRXBheQhaV\",\n randomizer: \"KT1XYgKrzBbzsckGvXTPgxFyN7KNZ9RPYVWf\",\n token_moderation: \"KT1HgVuzNWVvnX16fahbV2LrnpwifYKoFMRd\",\n treasury: \"KT1P2BXYb894MekrCcSrnidzQYPVqitLoVLc\",\n user_moderation: \"KT1TWWQ6FtLoosVfZgTKV2q68TMZaENhGm54\",\n user_register: \"KT1Ezht4PDKZri7aVppVGT4Jkw39sesaFnww\",\n onchfs_files: \"KT1Ae7dT1gsLw2tRnUMXSCmEyF74KVkM6LUo\",\n}\n"]}
@@ -0,0 +1,64 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/api/fxhash.ts
2
+ var fxhashDevApis = {
3
+ website: "https://dev.fxhash-dev.xyz",
4
+ main: "https://api.fxhash-dev.xyz/graphql",
5
+ file: "https://file-api.fxhash-dev.xyz",
6
+ fsEmulator: "https://fs-emulator.fxhash-dev.xyz",
7
+ extract: "https://extract.fxhash-dev.xyz",
8
+ media: "https://media.fxhash-dev.xyz",
9
+ ipfsGateway: "https://gateway.fxhash-dev.xyz",
10
+ ipfsGatewaySafe: "https://gateway.fxhash-dev2.xyz",
11
+ onchfsProxy: "https://onchfs.fxhash-dev2.xyz",
12
+ authority: {
13
+ api: "NONE"
14
+ },
15
+ capture: {
16
+ lambdas: {
17
+ small: "https://u5not5l323zczuwnrzxwkt34ra0eyidj.lambda-url.us-east-1.on.aws/",
18
+ medium: "https://jgfz7a6km7fsqonej2sp3lqwvu0utnyy.lambda-url.us-east-1.on.aws/",
19
+ large: "https://fzezvbp2f74yturkj4akjyrq3e0zswhb.lambda-url.us-east-1.on.aws/"
20
+ }
21
+ },
22
+ dashboard: {
23
+ backend: "https://live-minting.fxhash-dev.xyz",
24
+ aggregator: "_NONE"
25
+ },
26
+ events: {
27
+ liveBackend: "_NONE"
28
+ }
29
+ };
30
+ var fxhashPrdApis = {
31
+ website: "https://fxhash.xyz",
32
+ main: "https://api.fxhash.xyz/graphql",
33
+ file: "https://file-api.fxhash.xyz",
34
+ fsEmulator: "https://fs-emulator.fxhash.xyz",
35
+ // placeholder
36
+ extract: "https://extract.fxhash.xyz",
37
+ media: "https://media.fxhash.xyz",
38
+ ipfsGateway: "https://gateway.fxhash.xyz",
39
+ ipfsGatewaySafe: "https://gateway.fxhash2.xyz",
40
+ onchfsProxy: "https://onchfs.fxhash2.xyz",
41
+ authority: {
42
+ api: "NONE"
43
+ },
44
+ capture: {
45
+ lambdas: {
46
+ small: "https://7sz7knaaw3obgqxjyv3m4e5myu0lsbdp.lambda-url.us-east-1.on.aws/",
47
+ medium: "https://tuupcq6eesbfk4veuzdfrhu7zm0zwuqy.lambda-url.us-east-1.on.aws/",
48
+ large: "https://bojj24y6ucxmsyfi4uccdmiliy0dzhji.lambda-url.us-east-1.on.aws/"
49
+ }
50
+ },
51
+ dashboard: {
52
+ backend: "https://events.fxhash.xyz",
53
+ aggregator: "NONE"
54
+ },
55
+ events: {
56
+ liveBackend: "_NONE"
57
+ }
58
+ };
59
+
60
+
61
+
62
+
63
+ exports.fxhashDevApis = fxhashDevApis; exports.fxhashPrdApis = fxhashPrdApis;
64
+ //# sourceMappingURL=chunk-M6DLQFBS.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/api/fxhash.ts"],"names":[],"mappings":";AA8BO,IAAM,gBAA6B;AAAA,EACxC,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,IACT,KAAK;AAAA,EACP;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,MACP,OACE;AAAA,MACF,QACE;AAAA,MACF,OACE;AAAA,IACJ;AAAA,EACF;AAAA,EACA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,YAAY;AAAA,EACd;AAAA,EACA,QAAQ;AAAA,IACN,aAAa;AAAA,EACf;AACF;AAGO,IAAM,gBAA6B;AAAA,EACxC,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AAAA;AAAA,EACZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,IACT,KAAK;AAAA,EACP;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,MACP,OACE;AAAA,MACF,QACE;AAAA,MACF,OACE;AAAA,IACJ;AAAA,EACF;AAAA,EACA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,YAAY;AAAA,EACd;AAAA,EACA,QAAQ;AAAA,IACN,aAAa;AAAA,EACf;AACF","sourcesContent":["export interface IFxhashApis {\n website: string\n main: string\n file: string\n fsEmulator: string\n extract: string\n media: string\n ipfsGateway: string\n ipfsGatewaySafe: string\n onchfsProxy: string\n authority: {\n api: string\n }\n capture: {\n lambdas: {\n small: string\n medium: string\n large: string\n }\n }\n dashboard: {\n backend: string\n aggregator: string\n }\n events: {\n liveBackend: string\n }\n}\n\n// list of APIs dev leverages\nexport const fxhashDevApis: IFxhashApis = {\n website: \"https://dev.fxhash-dev.xyz\",\n main: \"https://api.fxhash-dev.xyz/graphql\",\n file: \"https://file-api.fxhash-dev.xyz\",\n fsEmulator: \"https://fs-emulator.fxhash-dev.xyz\",\n extract: \"https://extract.fxhash-dev.xyz\",\n media: \"https://media.fxhash-dev.xyz\",\n ipfsGateway: \"https://gateway.fxhash-dev.xyz\",\n ipfsGatewaySafe: \"https://gateway.fxhash-dev2.xyz\",\n onchfsProxy: \"https://onchfs.fxhash-dev2.xyz\",\n authority: {\n api: \"NONE\",\n },\n capture: {\n lambdas: {\n small:\n \"https://u5not5l323zczuwnrzxwkt34ra0eyidj.lambda-url.us-east-1.on.aws/\",\n medium:\n \"https://jgfz7a6km7fsqonej2sp3lqwvu0utnyy.lambda-url.us-east-1.on.aws/\",\n large:\n \"https://fzezvbp2f74yturkj4akjyrq3e0zswhb.lambda-url.us-east-1.on.aws/\",\n },\n },\n dashboard: {\n backend: \"https://live-minting.fxhash-dev.xyz\",\n aggregator: \"_NONE\",\n },\n events: {\n liveBackend: \"_NONE\",\n },\n}\n\n// list of APIs prod leverages\nexport const fxhashPrdApis: IFxhashApis = {\n website: \"https://fxhash.xyz\",\n main: \"https://api.fxhash.xyz/graphql\",\n file: \"https://file-api.fxhash.xyz\",\n fsEmulator: \"https://fs-emulator.fxhash.xyz\", // placeholder\n extract: \"https://extract.fxhash.xyz\",\n media: \"https://media.fxhash.xyz\",\n ipfsGateway: \"https://gateway.fxhash.xyz\",\n ipfsGatewaySafe: \"https://gateway.fxhash2.xyz\",\n onchfsProxy: \"https://onchfs.fxhash2.xyz\",\n authority: {\n api: \"NONE\",\n },\n capture: {\n lambdas: {\n small:\n \"https://7sz7knaaw3obgqxjyv3m4e5myu0lsbdp.lambda-url.us-east-1.on.aws/\",\n medium:\n \"https://tuupcq6eesbfk4veuzdfrhu7zm0zwuqy.lambda-url.us-east-1.on.aws/\",\n large:\n \"https://bojj24y6ucxmsyfi4uccdmiliy0dzhji.lambda-url.us-east-1.on.aws/\",\n },\n },\n dashboard: {\n backend: \"https://events.fxhash.xyz\",\n aggregator: \"NONE\",\n },\n events: {\n liveBackend: \"_NONE\",\n },\n}\n"]}
@@ -0,0 +1,27 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/api/tezos.ts
2
+ var tezosTestnetApis = {
3
+ tzkt: "https://api.ghostnet.tzkt.io/v1/",
4
+ tzktWebsite: "https://ghostnet.tzkt.io/",
5
+ rpcs: [
6
+ "https://ghostnet.ecadinfra.com",
7
+ "https://ghostnet.smartpy.io",
8
+ "https://ghostnet.tezos.marigold.dev/"
9
+ ]
10
+ };
11
+ var tezosMainnetApis = {
12
+ tzkt: "https://api.tzkt.io/v1/",
13
+ tzktWebsite: "https://tzkt.io/",
14
+ rpcs: [
15
+ "https://rpc1.fxhash.xyz",
16
+ "https://mainnet.smartpy.io",
17
+ "https://mainnet.api.tez.ie",
18
+ "https://teznode.letzbake.com",
19
+ "https://rpc.tzbeta.net"
20
+ ]
21
+ };
22
+
23
+
24
+
25
+
26
+ exports.tezosTestnetApis = tezosTestnetApis; exports.tezosMainnetApis = tezosMainnetApis;
27
+ //# sourceMappingURL=chunk-NSIM63EC.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/api/tezos.ts"],"names":[],"mappings":";AAMO,IAAM,mBAA+B;AAAA,EAC1C,MAAM;AAAA,EACN,aAAa;AAAA,EACb,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEO,IAAM,mBAA+B;AAAA,EAC1C,MAAM;AAAA,EACN,aAAa;AAAA,EACb,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF","sourcesContent":["export interface ITezosApis {\n tzktWebsite: string\n tzkt: string\n rpcs: string[]\n}\n\nexport const tezosTestnetApis: ITezosApis = {\n tzkt: \"https://api.ghostnet.tzkt.io/v1/\",\n tzktWebsite: \"https://ghostnet.tzkt.io/\",\n rpcs: [\n \"https://ghostnet.ecadinfra.com\",\n \"https://ghostnet.smartpy.io\",\n \"https://ghostnet.tezos.marigold.dev/\",\n ],\n}\n\nexport const tezosMainnetApis: ITezosApis = {\n tzkt: \"https://api.tzkt.io/v1/\",\n tzktWebsite: \"https://tzkt.io/\",\n rpcs: [\n \"https://rpc1.fxhash.xyz\",\n \"https://mainnet.smartpy.io\",\n \"https://mainnet.api.tez.ie\",\n \"https://teznode.letzbake.com\",\n \"https://rpc.tzbeta.net\",\n ],\n}\n"]}
@@ -0,0 +1,101 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkE7KQMDGPcjs = require('./chunk-E7KQMDGP.cjs');
4
+
5
+
6
+
7
+ var _chunkM6DLQFBScjs = require('./chunk-M6DLQFBS.cjs');
8
+
9
+
10
+
11
+ var _chunkNSIM63ECcjs = require('./chunk-NSIM63EC.cjs');
12
+
13
+
14
+ var _chunkJQKT6SDRcjs = require('./chunk-JQKT6SDR.cjs');
15
+
16
+
17
+
18
+ var _chunkLYBPFYQEcjs = require('./chunk-LYBPFYQE.cjs');
19
+
20
+ // src/config.ts
21
+ var fxhashConfig = {
22
+ networks: {
23
+ testnet: {
24
+ tez: {
25
+ contracts: _chunkLYBPFYQEcjs.tezosTestnetContracts,
26
+ config: {
27
+ network: "ghostnet"
28
+ },
29
+ apis: _chunkNSIM63ECcjs.tezosTestnetApis
30
+ },
31
+ eth: {
32
+ contracts: _chunkJQKT6SDRcjs.ethTestnetContracts,
33
+ config: {
34
+ network: "goerli"
35
+ },
36
+ apis: _chunkE7KQMDGPcjs.ethTestnetApis
37
+ }
38
+ },
39
+ mainnet: {
40
+ tez: {
41
+ contracts: _chunkLYBPFYQEcjs.tezosMainnetContracts,
42
+ config: {
43
+ network: "mainnet"
44
+ },
45
+ apis: _chunkNSIM63ECcjs.tezosMainnetApis
46
+ },
47
+ eth: {
48
+ contracts: null,
49
+ config: {
50
+ network: "mainnet"
51
+ },
52
+ apis: null
53
+ }
54
+ }
55
+ },
56
+ envs: {
57
+ dev: {
58
+ apis: _chunkM6DLQFBScjs.fxhashDevApis,
59
+ config: {
60
+ envName: "development",
61
+ gtMinPrice: "0",
62
+ // TODO Refactor
63
+ ETH_WALLET_CONNECT_ID: "",
64
+ ETH_CHAIN_ID: "11155111"
65
+ }
66
+ },
67
+ prd: {
68
+ apis: _chunkM6DLQFBScjs.fxhashPrdApis,
69
+ config: {
70
+ envName: "production",
71
+ gtMinPrice: "0",
72
+ // TODO Refactor
73
+ ETH_WALLET_CONNECT_ID: "",
74
+ ETH_CHAIN_ID: "11155111"
75
+ }
76
+ }
77
+ }
78
+ };
79
+ var devConfig = getConfigForEnv("dev");
80
+ var prdConfig = getConfigForEnv("prd");
81
+
82
+ // src/utils/index.ts
83
+ function getBlockchainNetworkForEnv(env) {
84
+ return env === "prd" ? "mainnet" : "testnet";
85
+ }
86
+ function getConfigForEnv(env) {
87
+ const blockchainNetwork = getBlockchainNetworkForEnv(env);
88
+ return {
89
+ ...fxhashConfig.networks[blockchainNetwork],
90
+ ...fxhashConfig.envs[env]
91
+ };
92
+ }
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ exports.getBlockchainNetworkForEnv = getBlockchainNetworkForEnv; exports.getConfigForEnv = getConfigForEnv; exports.fxhashConfig = fxhashConfig; exports.devConfig = devConfig; exports.prdConfig = prdConfig;
101
+ //# sourceMappingURL=chunk-O34FLX72.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config.ts","../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AA0EO,IAAM,eAA8B;AAAA,EACzC,UAAU;AAAA,IACR,SAAS;AAAA,MACP,KAAK;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,UACN,SAAS;AAAA,QACX;AAAA,QACA,MAAM;AAAA,MACR;AAAA,MACA,KAAK;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,UACN,SAAS;AAAA,QACX;AAAA,QACA,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,SAAS;AAAA,MACP,KAAK;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,UACN,SAAS;AAAA,QACX;AAAA,QACA,MAAM;AAAA,MACR;AAAA,MACA,KAAK;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,UACN,SAAS;AAAA,QACX;AAAA,QACA,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAAA,EACA,MAAM;AAAA,IACJ,KAAK;AAAA,MACH,MAAM;AAAA,MACN,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,YAAY;AAAA;AAAA,QAEZ,uBAAuB;AAAA,QACvB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,IACA,KAAK;AAAA,MACH,MAAM;AAAA,MACN,QAAQ;AAAA,QACN,SAAS;AAAA,QACT,YAAY;AAAA;AAAA,QAEZ,uBAAuB;AAAA,QACvB,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,EACF;AACF;AAEO,IAAM,YAAY,gBAAgB,KAAK;AACvC,IAAM,YAAY,gBAAgB,KAAK;;;ACpIvC,SAAS,2BAA2B,KAA+B;AACxE,SAAO,QAAQ,QAAQ,YAAY;AACrC;AAGO,SAAS,gBAAgB,KAAmC;AACjE,QAAM,oBAAoB,2BAA2B,GAAG;AACxD,SAAO;AAAA,IACL,GAAG,aAAa,SAAS,iBAAiB;AAAA,IAC1C,GAAG,aAAa,KAAK,GAAG;AAAA,EAC1B;AACF","sourcesContent":["import { ethTestnetApis, IEthApis } from \"api/eth\"\nimport { ITezosApis, tezosTestnetApis, tezosMainnetApis } from \"api/tezos\"\nimport { IFxhashApis, fxhashDevApis, fxhashPrdApis } from \"api/fxhash\"\nimport { ITezosContracts, tezosMainnetContracts, tezosTestnetContracts } from \"contracts/tezos\"\nimport { ethTestnetContracts, IEthContracts } from \"contracts/eth\"\nimport {getConfigForEnv} from \"utils\"\n\nexport interface IFxhashNetworkConfig {\n network: string\n}\n\nexport interface IFxhashEnvConfig {\n envName: string\n gtMinPrice: string\n // TODO: Refactor\n ETH_WALLET_CONNECT_ID: string\n ETH_CHAIN_ID: string\n}\n\n// the variations supported by the config\nexport type TBlockchain = \"tez\" | \"eth\"\nexport type TBlockchainNetwork = \"testnet\" | \"mainnet\"\nexport type TEnv = \"dev\" | \"prd\"\n\ntype TBlockchainContacts = {\n [B in TBlockchain]: {\n tez: ITezosContracts\n eth: IEthContracts | null\n }[B]\n}\n\ntype TBlockchainApis = {\n [B in TBlockchain]: {\n tez: ITezosApis\n eth: IEthApis | null\n }[B]\n}\n\ntype TNetworkBlockchainConfig = {\n [B in TBlockchain]: {\n tez: IFxhashNetworkConfig\n eth: IFxhashNetworkConfig\n }[B]\n}\n\nexport type IFxhashConfig = {\n networks: {\n [N in TBlockchainNetwork]: {\n [B in TBlockchain]: {\n contracts: TBlockchainContacts[B]\n config: TNetworkBlockchainConfig[B]\n apis: TBlockchainApis[B]\n }\n }\n }\n envs: {\n [K in TEnv]: {\n apis: IFxhashApis\n config: IFxhashEnvConfig\n }\n }\n}\n\nexport type IFxhashConfigSingleEnv = {\n [B in TBlockchain]: {\n contracts: TBlockchainContacts[B];\n config: TNetworkBlockchainConfig[B];\n apis: TBlockchainApis[B];\n };\n} & {\n apis: IFxhashApis;\n config: IFxhashEnvConfig;\n}\n\nexport const fxhashConfig: IFxhashConfig = {\n networks: {\n testnet: {\n tez: {\n contracts: tezosTestnetContracts,\n config: {\n network: \"ghostnet\",\n },\n apis: tezosTestnetApis,\n },\n eth: {\n contracts: ethTestnetContracts,\n config: {\n network: \"goerli\",\n },\n apis: ethTestnetApis,\n },\n },\n mainnet: {\n tez: {\n contracts: tezosMainnetContracts,\n config: {\n network: \"mainnet\",\n },\n apis: tezosMainnetApis,\n },\n eth: {\n contracts: null,\n config: {\n network: \"mainnet\",\n },\n apis: null,\n },\n },\n },\n envs: {\n dev: {\n apis: fxhashDevApis,\n config: {\n envName: \"development\",\n gtMinPrice: \"0\",\n // TODO Refactor\n ETH_WALLET_CONNECT_ID: \"\",\n ETH_CHAIN_ID: \"11155111\",\n },\n },\n prd: {\n apis: fxhashPrdApis,\n config: {\n envName: \"production\",\n gtMinPrice: \"0\",\n // TODO Refactor\n ETH_WALLET_CONNECT_ID: \"\",\n ETH_CHAIN_ID: \"11155111\",\n },\n },\n },\n}\n\nexport const devConfig = getConfigForEnv(\"dev\")\nexport const prdConfig = getConfigForEnv(\"prd\")\n","import {TEnv, fxhashConfig, TBlockchainNetwork, IFxhashConfigSingleEnv} from \"config\";\n\nexport function getBlockchainNetworkForEnv(env: TEnv): TBlockchainNetwork {\n return env === \"prd\" ? \"mainnet\" : \"testnet\"\n}\n\n\nexport function getConfigForEnv(env: TEnv): IFxhashConfigSingleEnv {\n const blockchainNetwork = getBlockchainNetworkForEnv(env)\n return {\n ...fxhashConfig.networks[blockchainNetwork],\n ...fxhashConfig.envs[env],\n } \n}\n"]}