Skip to content

Commit

Permalink
Update example env
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0neerpat committed Jun 18, 2024
1 parent ed0b0ea commit b1a4f6f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
35 changes: 17 additions & 18 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
ARB_MAINNET_RPC=
ARB_MAINNET_PK=
# NETWORK: Arbitrum-sepolia
ARB_SEPOLIA_RPC=
ARB_SEPOLIA_OFFERER_PK=
ARB_SEPOLIA_BUYER_PK=
# put the public address of your defaultKey here if you're using the cast wallet
SIP15_ZONE_SEPOLIA_ADDRESS=0xcafc335d2f5bd0e929b4edbf526eb74fa4c49924
VAULT721_SEPOLIA_ADDRESS=0x05AC7e3ac152012B980407dEff2655c209667E4c
VAULT721_SEPOLIA_ADAPTER_ADDRESS=0xc5736e1F01FB4f013C152B8315019CA20d30FC50
ENCODING_HELPER_SEPOLIA=0x672d358f171ae309dc43fc7b5ff3065e8248efe1

# NETWORK: Arbitrum
ARB_MAINNET_RPC=
ARB_MAINNET_OFFERER_PK=
ARB_MAINNET_BUYER_PK=
SIP15_ZONE_MAINNET_ADDRESS=
VAULT721_MAINNET_ADDRESS=0x0005AFE00fF7E7FF83667bFe4F2996720BAf0B36
VAULT721_ADAPTER_MAINNET_ADDRESS=
ENCODING_HELPER_MAINNET=

# Public address of defaultKey for 'cast'
DEFAULT_KEY_PUBLIC_ADDRESS=

ARB_ETHERSCAN_API_KEY=
OPENSEA_API_KEY=

# run `anvil` and copy a private key from anvil terminal
ANVIL_ONE=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
ANVIL_RPC=http://127.0.0.1:8545

FOUNDRY_PROFILE=debug

VAULT721_SEPOLIA_ADDRESS=0x05AC7e3ac152012B980407dEff2655c209667E4c
VAULT721_MAINNET_ADDRESS=0x0005AFE00fF7E7FF83667bFe4F2996720BAf0B36

OPENSEA_API_KEY=

SIP15_ZONE_SEPOLIA_ADDRESS=0xcafc335d2f5bd0e929b4edbf526eb74fa4c49924
SIP15_ZONE_MAINNET_ADDRESS=

VAULT721_MAINNET_ADAPTER_ADDRESS=
VAULT721_SEPOLIA_ADAPTER_ADDRESS=0xc5736e1F01FB4f013C152B8315019CA20d30FC50

ENCODING_HELPER_MAINNET=
ENCODING_HELPER_SEPOLIA=0x672d358f171ae309dc43fc7b5ff3065e8248efe1
10 changes: 5 additions & 5 deletions script/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export const SIP15_ZONE_SEPOLIA_ADDRESS =
export const VAULT721_SEPOLIA_ADAPTER_ADDRESS =
process.env.VAULT721_SEPOLIA_ADAPTER_ADDRESS;

export const VAULT721_MAINNET_ADAPTER_ADDRESS =
process.env.VAULT721_MAINNET_ADAPTER_ADDRESS;
export const VAULT721_ADAPTER_MAINNET_ADDRESS =
process.env.VAULT721_ADAPTER_MAINNET_ADDRESS;
export const VAULT721_SEPOLIA_ADDRESS = sepoliaContracts.Vault721_Address;
export const VAULT721_MAINNET_ADDRESS = mainnetContracts.Vault721_Address;
export const VAULT721_ANVIL_ADDRESS = process.env.VAULT721_ANVIL_ADDRESS;
Expand Down Expand Up @@ -145,11 +145,11 @@ export class Web3Environment {
// throw new Error('.env VARS missing: ARB_MAINNET_RPC, ARB_MAINNET_PK')
// }

// if (VAULT721_MAINNET_ADAPTER_ADDRESS && VAULT721_MAINNET_ADDRESS) {
// vault721AdapterAddress = VAULT721_MAINNET_ADAPTER_ADDRESS;
// if (VAULT721_ADAPTER_MAINNET_ADDRESS && VAULT721_MAINNET_ADDRESS) {
// vault721AdapterAddress = VAULT721_ADAPTER_MAINNET_ADDRESS;
// vault721Address = VAULT721_MAINNET_ADDRESS;
// } else {
// throw new Error("VAULT721_MAINNET_ADAPTER_ADDRESS undefined");
// throw new Error("VAULT721_ADAPTER_MAINNET_ADDRESS undefined");
// }

// // if no helper exists deploy helper
Expand Down

0 comments on commit b1a4f6f

Please sign in to comment.