Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Script] migrate hardcoded payer to ci secret #314

Merged
merged 1 commit into from
Nov 14, 2023
Merged
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
9 changes: 3 additions & 6 deletions scripts/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,8 @@ export async function createCredixLpDepository() {
}
}

// Dummy payer for mainnet tooling E7N44oZ3APNFjzv95xL6kSxSLgw3wVP3ixM7dgsMApzZ
export const payer = Keypair.fromSeed(
Uint8Array.from([
1, 56, 76, 89, 32, 55, 1, 128, 98, 23, 56, 22, 30, 12, 76, 23, 2, 9, 3, 5,
1, 22, 120, 109, 0, 8, 5, 3, 2, 7, 6, 8,
])
// CI script payer on mainnet: 4NtUyktW5evy1Ez4BgfnRBdU7PLsmDRiZiH5HfBPGRSs
export const payer = Keypair.fromSecretKey(
Buffer.from(JSON.parse(require('fs').readFileSync('./payer.json', 'utf-8')))
);
console.log('payer', payer.publicKey.toBase58());
Loading