Skip to content

Commit 7c5f3d6

Browse files
Update environment variables to use PHOTON_API_KEY (#1035)
1 parent d4f2225 commit 7c5f3d6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

forester/.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ export FORESTER_RPC_URL="http://localhost:8899"
22
export FORESTER_WS_RPC_URL="ws://localhost:8900"
33
export FORESTER_INDEXER_URL="http://localhost:8784"
44
export FORESTER_PROVER_URL="http://localhost:3001"
5-
export FORESTER_PAYER=[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]
5+
export FORESTER_PAYER=[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]
6+
export PHOTON_API_KEY="00000000-0000-0000-0000-000000000000"

forester/scripts/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { randomBytes } from 'tweetnacl';
1111
import * as dotenv from "dotenv";
1212
dotenv.config();
1313

14-
const RPC_API_KEY = process.env.FORESTER_RPC_API_KEY;
14+
const RPC_API_KEY = process.env.PHOTON_API_KEY;
1515
console.log("RPC_API_KEY: ", RPC_API_KEY);
1616

1717
const LAMPORTS = 0.9 * LAMPORTS_PER_SOL;

0 commit comments

Comments
 (0)