1
- # WALLET [Optional] for Engine Version below `v0.0.3`
2
- # If you want, you can configure AWS KMS
3
- AWS_KMS_KEY_ID = <your_aws_kms_key_id>
4
- AWS_ACCESS_KEY_ID = <your_aws_access_key_id>
5
- AWS_SECRET_ACCESS_KEY = <your_aws_secret_access_key>
6
- AWS_REGION = <your_aws_region>
1
+ # =====[ Required Configuration ]=====
7
2
8
- # Or GOOGLE KMS for Engine Version below `v0.0.3`
9
- # Required for Google Auth
10
- GOOGLE_APPLICATION_CREDENTIAL_EMAIL = <client_email_from_download_service_account_json>
11
- GOOGLE_APPLICATION_CREDENTIAL_PRIVATE_KEY = <private_key_from_download_service_account_json>
12
- # Required for Google KMS
13
- GOOGLE_APPLICATION_PROJECT_ID = <google_project_id>
14
- GOOGLE_KMS_KEY_RING_ID = <key_ring_id>
15
- GOOGLE_KMS_LOCATION_ID = <location_of_key_ring>
16
- GOOGLE_KMS_CRYPTO_KEY_ID = <kms_key_id> # If created on Google Console
17
-
18
-
19
- # THIRDWEB SDK SECRET KEY [Required]
20
- # -----------------------
21
- # Obtain an Secret Key from thirdweb.com/dashboard
22
- # this enables you to use the default RPCs and extra features
23
- THIRDWEB_API_SECRET_KEY = <your_thirdweb_api_secret_key>
24
-
25
- # DATABASE OPTIONS [Required]
26
- # ----------------
3
+ # Get your api secret key from the thirdweb dashboard - https://thirdweb.com/dashboard
4
+ THIRDWEB_API_SECRET_KEY = " <your-thirdweb-api-secret-key>"
5
+ # The connection url for your running postgres instance, defaults to localhost postgres
27
6
POSTGRES_CONNECTION_URL = " postgresql://postgres:postgres@localhost:5432/postgres?sslmode=disable"
7
+ # The admin wallet that will be able to connect to engine from the dashboard
8
+ ADMIN_WALLET_ADDRESS = " <your-admin-wallet-address>"
28
9
29
- # SERVING OPTIONS [Optional]
30
- # ---------------
31
- # Defaults PORT to 3005
32
- # Defaults HOST to 0.0.0.0
33
- # ---------------
34
- PORT = 3005
35
- HOST = " 0.0.0.0"
10
+ # =====[ Optional Configuration ]=====
36
11
37
- # CONFIGURATION OPTIONS [Optional]
38
- # ----------------------
39
- # Override default RPCs for any chain.
40
- # Can be a URL or file path to a json config file or JSON object
41
- # See example config file: chain-overrides.example.json
42
- CHAIN_OVERRIDES = <path_or_url_to_file>
12
+ # Optional configuration to override server host and port
13
+ # PORT="3005"
14
+ # HOST="0.0.0.0"
43
15
44
- # CORS OPTIONS [Optional]
45
- # ------------
46
- # Configures the Access-Control-Allow-Origin CORS header. Defaults to * (Allow All)
47
- # The value of origin could be of different types:
48
- # String - set origin to a specific origin. For example if you set it to "http://example.com" only
49
- # requests from "http://example.com" will be allowed. The special * value (default) allows any origin.
50
- # RegExp - set origin to a regular expression pattern that will be used to test the request origin.
51
- # If it is a match, the request origin will be reflected. For example, the pattern *.example.com
52
- # will reflect any request that is coming from an origin ending with "example.com".
53
- # Array - set origin to an array of valid origins. Each origin can be a String or a RegExp.
54
- # Needs to be comma separated. For example "http://example1.com,/\.example2\.com$/" will accept any request
55
- # from "http://example1.com" or from a subdomain of "example2.com".
56
- ACCESS_CONTROL_ALLOW_ORIGIN = *
16
+ # Optional configuration to enable cors, defaults to allow all
17
+ # ACCESS_CONTROL_ALLOW_ORIGIN="*"
57
18
58
- # benchmark vars [Optional]
59
- BENCHMARK_HOST = ' http://localhost:3005'
60
- BENCHMARK_URL_PATH = ' /contract/mumbai/0xc8be6265C06aC376876b4F62670adB3c4d72EABA/write'
61
- BENCHMARK_POST_BODY = '{
62
- "function_name": "transfer",
63
- "args": ["0x1946267d81Fb8aDeeEa28e6B98bcD446c8248473", 100000]
64
- }'
65
- BENCHMARK_CONCURRENCY = 10
66
- BENCHMARK_REQUESTS = 10
19
+ # Optional configuration to enable https usage for localhost
20
+ # ENABLE_HTTPS="false"
21
+ # HTTPS_PASSPHRASE="..."
0 commit comments