Skip to content

Commit

Permalink
examples update
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr committed Apr 12, 2024
1 parent 166aba8 commit d8a4a7e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import { ApiKeyCreds, Chain, ClobClient, Side } from "../src";
dotenvConfig({ path: resolve(__dirname, "../.env") });

async function main() {
const wallet = new ethers.Wallet(
`ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80`,
);
const wallet = new ethers.Wallet(`${process.env.PK}`);
const chainId = parseInt(`${process.env.CHAIN_ID || Chain.AMOY}`) as Chain;
console.log(`Address: ${await wallet.getAddress()}, chainId: ${chainId}`);

Expand Down

0 comments on commit d8a4a7e

Please sign in to comment.