|
1 |
| -// Copyright 2023 Blink Labs Software |
| 1 | +// Copyright 2024 Blink Labs Software |
2 | 2 | //
|
3 | 3 | // Use of this source code is governed by an MIT-style
|
4 | 4 | // license that can be found in the LICENSE file or at
|
|
7 | 7 | package config
|
8 | 8 |
|
9 | 9 | type Profile struct {
|
10 |
| - Network string // Cardano network name |
11 |
| - Tld string // Top-level domain |
12 |
| - PolicyId string // Verification asset policy ID |
13 |
| - ScriptAddress string // Address to follow |
14 |
| - InterceptSlot uint64 // Chain-sync initial intercept slot |
15 |
| - InterceptHash string // Chain-sync initial intercept hash |
| 10 | + Network string // Cardano network name |
| 11 | + Tld string // Top-level domain |
| 12 | + PolicyId string // Verification asset policy ID |
| 13 | + ScriptAddress string // Address to follow |
| 14 | + InterceptSlot uint64 // Chain-sync initial intercept slot |
| 15 | + InterceptHash string // Chain-sync initial intercept hash |
| 16 | + DiscoveryAddress string // Auto-discovery address to follow |
16 | 17 | }
|
17 | 18 |
|
18 | 19 | func GetProfiles() []Profile {
|
@@ -65,4 +66,12 @@ var Profiles = map[string]Profile{
|
65 | 66 | InterceptSlot: 67799029,
|
66 | 67 | InterceptHash: "4815dae9cd8f492ab51b109ba87d091ae85a0999af33ac459d8504122cb911f7",
|
67 | 68 | },
|
| 69 | + "auto-preprod": Profile{ |
| 70 | + Network: "preprod", |
| 71 | + PolicyId: "63cdaef8b84702282c3454ae130ada94a9b200e32be21abd47fc636b", |
| 72 | + DiscoveryAddress: "addr_test1xrhqrug2hnc9az4ru02kp9rlfcppl464gl4yc8s8jm5p8kygc3uvcfh3r3kaa5gyk5l2vgdl8vj8cstslf4w2ajuy0wsp5fm89", |
| 73 | + // The intercept slot/hash correspond to the block before the first TX on the above address |
| 74 | + InterceptSlot: 67778432, |
| 75 | + InterceptHash: "6db5cdcfa1ee9cc137b0b238ff9251d4481c23bf49ad6272cb833b034a003cbe", |
| 76 | + }, |
68 | 77 | }
|
0 commit comments