-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDEPLOYMENT_ENV_EXAMPLE.txt
More file actions
75 lines (57 loc) · 3.05 KB
/
DEPLOYMENT_ENV_EXAMPLE.txt
File metadata and controls
75 lines (57 loc) · 3.05 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
# Multi-Network Deployment Environment Variables
# Copy this to your .env file and fill in the values
# Private Key for deployment (without 0x prefix)
PRIVATE_KEY=your_private_key_here
# =============================================
# SHAPE L2 NETWORK
# =============================================
# Shape L2 RPC
SHAPE_RPC=https://sepolia.shape.network
# =============================================
# BASE L2 NETWORK
# =============================================
# Base Sepolia RPC
BASE_RPC=https://sepolia.base.org
# =============================================
# AFTER USING LIMITBREAK INFRASTRUCTURE TOOLS:
# =============================================
# Shape Network
# Payment Processor address (deploy via https://developers.apptokens.com/infrastructure)
PAYMENT_PROCESSOR_SHAPE=0x0000000000000000000000000000000000000000
# CreatorTokenTransferValidator (usually the default address, or your deployed one)
CREATOR_TOKEN_VALIDATOR_SHAPE=0x0000721C310194CcfC01E523fc93C9cCcFa2A0Ac
# Base Network
# Payment Processor address for Base (check LimitBreak docs for availability)
PAYMENT_PROCESSOR_BASE=0x0000000000000000000000000000000000000000
# CreatorTokenTransferValidator for Base
CREATOR_TOKEN_VALIDATOR_BASE=0x0000000000000000000000000000000000000000
# =============================================
# AFTER YOUR CONTRACT DEPLOYMENT:
# =============================================
# Your deployed OnchainRugs diamond contract
ONCHAIN_RUGS_DIAMOND=0x0000000000000000000000000000000000000000
# Security policy ID created in Payment Processor configuration
SECURITY_POLICY_ID=0
# =============================================
# USAGE - SHAPE SEPOLIA:
# =============================================
# 1. Deploy Payment Processor on Shape via LimitBreak tools
# 2. Update PAYMENT_PROCESSOR_SHAPE with deployed address
# 3. Run verification: forge script script/VerifyShapeDeployment.s.sol --rpc-url $SHAPE_RPC
# 4. Configure security policies: forge script script/DeployPaymentProcessor.s.sol --sig "configureForShape(address)" $PAYMENT_PROCESSOR_SHAPE --rpc-url $SHAPE_RPC --broadcast
# 5. Update SECURITY_POLICY_ID with returned value
# 6. Deploy your NFT contract: forge script script/DeployShapeSepolia.s.sol --rpc-url $SHAPE_RPC --broadcast --verify
# 7. Update ONCHAIN_RUGS_DIAMOND with deployed address
# 8. Link everything together using the facet functions
# =============================================
# USAGE - BASE SEPOLIA:
# =============================================
# 1. Check LimitBreak infrastructure availability on Base
# Visit https://developers.apptokens.com/infrastructure
# 2. If available, update PAYMENT_PROCESSOR_BASE and CREATOR_TOKEN_VALIDATOR_BASE
# 3. Deploy your NFT contract:
# forge script script/DeployBaseSepolia.s.sol --rpc-url $BASE_RPC --broadcast --verify --profile base
# 4. Update ONCHAIN_RUGS_DIAMOND with deployed address
# 5. Test on Base Sepolia explorer: https://sepolia-explorer.base.org
# 6. Configure ERC-721-C features if infrastructure is available
# For detailed Base deployment instructions, see BASE_SEPOLIA_DEPLOYMENT_GUIDE.md