-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.e2e-local.yaml
More file actions
111 lines (96 loc) · 3.04 KB
/
Copy pathconfig.e2e-local.yaml
File metadata and controls
111 lines (96 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# =============================================================================
# Local E2E Test Configuration
# =============================================================================
# Configuration for fully local end-to-end testing using Docker + Anvil + Canton.
# Uses Anvil's default mnemonic accounts for testing.
#
# Usage:
# go run scripts/e2e-local.go [-cleanup]
# ./scripts/e2e-local.sh
#
# =============================================================================
# API server config (used by scripts that load APIServer config from this file)
server:
host: "0.0.0.0"
port: 8081
read_timeout: "15s"
write_timeout: "15s"
idle_timeout: "60s"
shutdown_timeout: "30s"
# Database configuration (local PostgreSQL)
database:
url: "postgres://postgres:p%40ssw0rd@localhost:5432/erc20_api"
ssl_mode: "disable"
timeout: 10
pool_size: 10
# Canton config
canton:
domain_id: "local::122012347c9534aef60e0c941f8baa14d4bd977d18b593011f714078064ce154ed7e"
issuer_party: "BridgeIssuer::1220192c25966fe2d53554dfe3a7e2c1c786268318f9870a26902935f3c912ac51ac"
ledger:
rpc_url: "localhost:5011"
ledger_id: "canton-ledger-id"
max_inbound_message_size: 52428800
tls:
enabled: false
cert_file: ""
key_file: ""
ca_file: ""
insecure_skip_verify: false
auth:
client_id: "local-test-client"
client_secret: "local-test-secret"
audience: "http://canton:5011"
token_url: "http://localhost:8088/oauth/token"
expiry_leeway: "60s"
identity:
package_id: "c4d8bc62b74dfb93c0feda15cbceb5db16aef37d0e7ee37c17887faa9cbd33b9"
token:
cip56_package_id: "c8c6fe7c34d96b88d6471769aae85063c8045783b2a226fd24f8c573603d17c2"
splice_transfer_package_id: "55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281"
splice_holding_package_id: "placeholder-updated-by-bootstrap"
bridge:
package_id: "6fac182df4943e7e2f70360b413b6e3ab10e65289ba0d971978b6d861a860d72"
module: "Wayfinder.Bridge"
token_provider:
mode: indexer
indexer:
url: "http://indexer:8082"
instruments:
PROMPT: "BridgeIssuer::1220192c25966fe2d53554dfe3a7e2c1c786268318f9870a26902935f3c912ac51ac"
DEMO: "BridgeIssuer::1220192c25966fe2d53554dfe3a7e2c1c786268318f9870a26902935f3c912ac51ac"
# Token metadata
token:
supported_tokens:
"0x5FbDB2315678afecb367f032d93F642f64180aa3":
name: "PROMPT"
symbol: "PROMPT"
decimals: 18
instrument_id: "PROMPT"
"0xDE30000000000000000000000000000000000001":
name: "Demo Token"
symbol: "DEMO"
decimals: 18
instrument_id: "DEMO"
"0xC1A0000000000000000000000000000000000001":
name: "USD Coin"
symbol: "USDCx"
decimals: 6
instrument_id: "USDCx"
# Ethereum JSON-RPC facade (MetaMask compatibility)
eth_rpc:
enabled: true
chain_id: 31337
request_timeout: "30s"
jwks:
url: ""
issuer: ""
monitoring:
enabled: false
logging:
level: "debug"
format: "json"
output_path: "stdout"
key_management:
master_key_env: "CANTON_MASTER_KEY"
key_derivation: "generate"