-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
59 lines (46 loc) · 1.93 KB
/
.env.example
File metadata and controls
59 lines (46 loc) · 1.93 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
### =====[ Required Configuration ]=====
### Go to https://sequence.build, login or signup, create a project, go to "Embedded Wallet" and copy your own "Project Access Key"
SEQUENCE_PROJECT_ACCESS_KEY=""
# =====[ Optional Configuration ]=====
### By default, the signer type is "local", which requires an EVM private key to be set. This will be your backend wallet.
### If this is not provided, a random dev private key is generated and will be put into a dev.key file in the root of the project.
### Note that Sidekick creates a Sequence Smart Account Wallet for this private key and the backend wallet itself is
### a Sequence Smart Account Wallet, not an EOA.
BACKEND_WALLET_PV_KEY="0x"
### By default we use these values if none is provided in .env
# PORT=7500
# HOST=0.0.0.0
# REDIS_HOST=localhost
# REDIS_PORT=6379
### You can opt to use a database or not but some routes won't be available if you don't have a database.
# DATABASE_URL="postgres://postgres:postgres@localhost:5432/sidekick"
### Set your own secret key for Sidekick, use it when making requests to the API.
### If some bad actor gets access to your API internally, they will still have to know this secret key to write to the API.
# SIDEKICK_API_SECRET_KEY="secret"
# REDIS_PASSWORD=""
### We recommend setting these two variables, it will enable automatic contract verification on deployment through Sidekick.
# ETHERSCAN_API_KEY=
# VERIFY_CONTRACT_ON_DEPLOY=
# DEBUG="true"
### For Tenderly simulations
# TENDERLY_PROJECT_SLUG=
# TENDERLY_ACCOUNT_SLUG=
### For tx simulation endpoint to work
# TENDERLY_ACCESS_KEY=
### If using local signer (EVM private key)
### Note: This is enabled by default
# SIGNER_TYPE=local=
# BACKEND_WALLET_PV_KEY=
### If using Google KMS
# SIGNER_TYPE=google_kms
# PROJECT=
# LOCATION=
# KEY_RING=
# CRYPTO_KEY=
# CRYPTO_KEY_VERSION=
### If using AWS KMS
# SIGNER_TYPE=aws_kms
# AWS_REGION=
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# AWS_KMS_KEY_ID=