-
Notifications
You must be signed in to change notification settings - Fork 4
/
test-keys.ts
37 lines (32 loc) · 1.34 KB
/
test-keys.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
// Note:
// The private keys here are only for demo purposes only, please DO NOT use
// them in production environments!
export const ALICE = {
PRIVATE_KEY:
"0xfd686a48908e8caf97723578bf85f746e1e1d8956cb132f6a2e92e7234a2a245",
// TODO: update this old format ADDRESS
ADDRESS: "ckt1qyqw8yx5hx6vwcm7eqren0d0v39wvfwdhy3q2807pp",
ARGS: "0xe390d4b9b4c7637ec80799bdaf644ae625cdb922",
};
export const BOB = {
PRIVATE_KEY:
"0x5368b818f59570b5bc078a6a564f098a191dcb8938d95c413be5065fd6c42d32",
// TODO: update this old format ADDRESS
ADDRESS: "ckt1qyqtdhd6s7a44a0s2wc6uk7tcl6duq68nalqvzxw09",
ARGS: "0xb6ddba87bb5af5f053b1ae5bcbc7f4de03479f7e",
};
export const CHARLIE = {
PRIVATE_KEY:
"0xd6013cd867d286ef84cc300ac6546013837df2b06c9f53c83b4c33c2417f6a07",
ADDRESS:
"ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqtvmzh9r7gm4ntezqfxlzqp8zes43wnq9gkrpcj0",
ARGS: "0x6cd8ae51f91bacd7910126f880138b30ac5d3015",
};
// TODO: you could use this function to generate your own PrivateKey
// export const generatePrivateKey = () => {
// const myMnemonic = mnemonic.generateMnemonic();
// const seed = mnemonic.mnemonicToSeedSync(myMnemonic);
// console.log("my mnemonic ", seed);
// const extendedPrivKey = ExtendedPrivateKey.fromSeed(seed);
// return extendedPrivKey.privateKeyInfo(AddressType.Receiving, 0).privateKey;
// }