Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-publishable-or-anon-key

# Circle
CIRCLE_API_KEY=your-circle-api-key
CIRCLE_ENTITY_SECRET=your-circle-entity-secret
CIRCLE_ENTITY_SECRET=your-circle-entity-secret
ARC_TESTNET_RPC_KEY=
7 changes: 5 additions & 2 deletions lib/circle/gateway-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ import {
export const GATEWAY_WALLET_ADDRESS = "0x0077777d7EBA4688BDeF3E311b846F25870A19B9";
export const GATEWAY_MINTER_ADDRESS = "0x0022222ABE238Cc2C7Bb1f21003F0a260052475B";

const arcRpcKey = process.env.ARC_TESTNET_RPC_KEY || 'c0ca2582063a5bbd5db2f98c139775e982b16919';
const arcRpcKey = process.env.ARC_TESTNET_RPC_KEY;
if (!arcRpcKey) {
throw new Error("ARC_TESTNET_RPC_KEY environment variable is not set");
}

export const arcTestnet = {
id: 5042002,
Expand Down Expand Up @@ -993,4 +996,4 @@ export async function fetchGatewayInfo(): Promise<{

const data = await response.json();
return data;
}
}