-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.toml
More file actions
52 lines (44 loc) · 1.78 KB
/
wrangler.toml
File metadata and controls
52 lines (44 loc) · 1.78 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
# For more details on how to configure Wrangler, refer to:
# https://developers.cloudflare.com/workers/wrangler/configuration/
name = "nft-exchange"
main = "src/index.js"
compatibility_date = "2024-12-01"
compatibility_flags = ["nodejs_compat", "global_fetch_strictly_public"]
assets = { directory = "./dist/client" }
# D1 Database Binding
# https://developers.cloudflare.com/d1/
d1_databases = [
{ binding = "DB", database_name = "nft-exchange", database_id = "b8152478-4cad-4769-ba8e-afd055db175f"}
]
build = { command = "" }
# R2 Storage Binding (for image uploads)
# https://developers.cloudflare.com/r2/
[[r2_buckets]]
binding = "R2"
bucket_name = "nft-exchange-images"
preview_bucket_name = "nft-exchange-images"
# Queue for share image generation
# https://developers.cloudflare.com/queues/
[[queues.producers]]
binding = "SHARE_IMAGE_QUEUE"
queue = "share-image-queue"
# Environment Variables
# Base Mainnet Contract Addresses:
# - NFT Exchange Contract: 0x06fB7424Ba65D587405b9C754Bc40dA9398B72F0
# - USDC on Base: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
# - Seaport 1.6 on Base: 0x0000000000000068F116a894984e2DB1123eB395
# - Fee Recipient: 0x1Ba2aF9529920731c248f20f716d8E9F3A0319A4
# - Chain ID: 8453 (Base)
[vars]
CONTRACT_ADDRESS = "0x06fB7424Ba65D587405b9C754Bc40dA9398B72F0"
USDC_ADDRESS = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
SEAPORT_CONTRACT_ADDRESS = "0x0000000000000068F116a894984e2DB1123eB395"
CONDUIT_ADDRESS = "0x1E0049783F008A0085193E00003D00cd54003c71"
FEE_RECIPIENT = "0x1Ba2aF9529920731c248f20f716d8E9F3A0319A4"
CHAIN_ID = "8453"
NFT_EXCHANGE_V2_ADDRESS = "0x9D045156E07DCe3F518ea531fD67cC085106292B"
# Scheduled Workers (Cron Triggers)
# Run the event indexer every 2 minutes
# Run the listing verifier every 10 minutes
[triggers]
crons = ["*/2 * * * *", "*/10 * * * *"]