-
Notifications
You must be signed in to change notification settings - Fork 1
/
stackr.config.ts
40 lines (37 loc) · 910 Bytes
/
stackr.config.ts
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
import { KeyPurpose, SignatureScheme, type StackrConfig } from "@stackr/sdk";
import dotenv from "dotenv";
dotenv.config();
const stackrConfig: StackrConfig = {
isSandbox: true,
sequencer: {
blockSize: 1,
blockTime: 10,
allowEmptyBlocks: false,
},
syncer: {
slotTime: 1000,
vulcanRPC: process.env.VULCAN_RPC as string,
L1RPC: process.env.L1_RPC as string,
},
operator: {
accounts: [
{
privateKey: process.env.PRIVATE_KEY as string,
purpose: KeyPurpose.BATCH,
scheme: SignatureScheme.ECDSA,
},
],
},
domain: {
name: "Stackr MVP v0",
version: "1",
salt: "0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
},
datastore: {
uri: "./db.sqlite",
},
preferredDA: "mock" as any,
registryContract: process.env.REGISTRY_CONTRACT as string,
logLevel: "debug",
};
export { stackrConfig };