Skip to content

Commit

Permalink
Do not log secret key on load (#238)
Browse files Browse the repository at this point in the history
# Do not log secret key on load

## Related Issue
Fixes #237 

## Changes Made
This PR adds the following changes:
- removes logging of secret key
  • Loading branch information
michaelessiet authored Jan 27, 2025
2 parents 78cef3f + 2f1b1cd commit 99ecb85
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils/keypair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ import {
Transaction,
VersionedTransaction,
} from "@solana/web3.js";
import bs58 from "bs58";

export const keypair = Keypair.generate();

console.log(keypair.publicKey.toString());
console.log(bs58.encode(keypair.secretKey));

export class Wallet {
private _signer: Keypair;

Expand Down

0 comments on commit 99ecb85

Please sign in to comment.