Skip to content

Commit

Permalink
delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Mar 20, 2024
1 parent 0db8d99 commit a76a25c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dist/
node_modules/
node_modules/
6 changes: 2 additions & 4 deletions examples/opensea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ const rl = readline.createInterface({
// https://github.com/ProjectOpenSea/opensea-js/blob/main/developerDocs/advanced-use-cases.md
const run = async (slug: string): Promise<void> => {
// This fake provider is required to construct an openseaSDK instance (although we do not make use of it).
const provider = new ethers.JsonRpcProvider(
const dummyProvider = new ethers.JsonRpcProvider(
"fakeURL",
await client.getChainId()
);
const openseaSDK = new OpenSeaSDK(provider, {
const openseaSDK = new OpenSeaSDK(dummyProvider, {
chain: Chain.Sepolia,
// apiKey: YOUR_API_KEY,
});
Expand Down Expand Up @@ -56,8 +56,6 @@ const run = async (slug: string): Promise<void> => {
// @ts-expect-error: Undocumented field on type FulfillmentData within FulfillmentDataResponse
const fulfillerConduitKey = input_data.fulfillerConduitKey;

const openSeaInterface = new ethers.Interface(seaportABI);

let callData = "0x";
if (tx.function.includes("fulfillOrder")) {
console.log("Using fulfillOrder");
Expand Down

0 comments on commit a76a25c

Please sign in to comment.