Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-57b committed Jun 19, 2024
1 parent 81a03a2 commit 93d5bfa
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,6 @@ export function getWalletClient(WALLET_PRIVATE_KEY: Hex){
return walletClient;
};

export function getWalletClient(WALLET_PRIVATE_KEY: Hex){
const account = privateKeyToAccount(WALLET_PRIVATE_KEY as Address);
const walletClient = createWalletClient({
chain: chainId,
transport: http(rpcProviderUrl),
account
});

return walletClient;
};

export async function mintNFT(WALLET_PRIVATE_KEY: Hex, NFT_COLLECTION_ADDRESS?: Address): Promise<string> {
const account = privateKeyToAccount(WALLET_PRIVATE_KEY as Address);
const baseConfig = {
Expand Down

0 comments on commit 93d5bfa

Please sign in to comment.