Skip to content

Commit

Permalink
Merge pull request #144 from ankitshubham97/master
Browse files Browse the repository at this point in the history
docs: fix docbug in integration.mdx
  • Loading branch information
livingrockrises authored Dec 26, 2023
2 parents 61d3aae + 877d92b commit 1767470
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/Account/integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import {
import { ChainId } from "@biconomy/core-types";
import { IBundler, Bundler } from "@biconomy/bundler";
import { IPaymaster, BiconomyPaymaster } from "@biconomy/paymaster";
import { Signer } from "ethers";

// create instance of bundler
const bundler: IBundler = new Bundler({
Expand All @@ -75,11 +76,11 @@ const paymaster: IPaymaster = new BiconomyPaymaster({

// instance of ownership module
const ownerShipModule = await ECDSAOwnershipValidationModule.create({
signer: {}, // ethers signer object
signer: {} as Signer, // ethers signer object
moduleAddress: DEFAULT_ECDSA_OWNERSHIP_MODULE,
});

const biconomyAccount = await BiconomySmartAccountV2.create({
const biconomySmartAccount = await BiconomySmartAccountV2.create({
chainId: ChainId.POLYGON_MUMBAI, //or any chain of your choice
bundler: bundler, // instance of bundler
paymaster: paymaster, // instance of paymaster
Expand Down
1 change: 0 additions & 1 deletion docs/tutorials/nodejs/environmentsetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ All packages you need for this guide are all configured and installed for you, c

- The account package will help you with creating smart contract accounts and an interface with them to create transactions.
- The bundler package helps you with interacting with our bundler or alternatively another bundler of your choice.
- The core types package will give us Enums for the proper ChainId we may want to use
- The paymaster package works similarly to the bundler package in that you can use our paymaster or any other one of your choice.
- The core types package will give us Enums for the proper ChainId we may want to use.
- The common package is needed by our accounts package as another dependency.
Expand Down

0 comments on commit 1767470

Please sign in to comment.