Skip to content

Commit

Permalink
Merge pull request #70 from bcnmy/rc/gaslessupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanRaj1608 authored Sep 22, 2023
2 parents 1befbe9 + a032bf0 commit b313737
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 21 deletions.
1 change: 0 additions & 1 deletion docs/Biconomy AA Stack/Account/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ Lets create a new instance of the account using the create method on the Biconom

```typescript
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: {}, //ethers signer object
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/Biconomy AA Stack/Account/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ import { IPaymaster, BiconomyPaymaster } from '@biconomy/paymaster'
})

const biconomyAccount = await BiconomySmartAccountV2.create({
signer: {}, //ethers signer object
chainId: ChainId.POLYGON_MUMBAI, //or any chain of your choice
bundler: bundler, // instance of bundler
paymaster: paymaster, // instance of paymaster
Expand Down
2 changes: 0 additions & 2 deletions docs/howtos/creatingAccounts/ethers.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ const module = await ECDSAOwnershipValidationModule.create({
```typescript
async function createAccount() {
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,// or any supported chain of your choice
bundler: bundler,
paymaster: paymaster,
Expand Down Expand Up @@ -136,7 +135,6 @@ const connect = async () => {
moduleAddress: DEFAULT_ECDSA_OWNERSHIP_MODULE
})
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: signer,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/howtos/creatingAccounts/socialLogin/byos.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ When looking through the ways you create a Biconomy Account, one thing remains t
```typescript

let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: web3Provider.getSigner(),
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/howtos/creatingAccounts/socialLogin/magic.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ const connect = async () => {
})

let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: web3Provider.getSigner(),
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/howtos/creatingAccounts/socialLogin/particle.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ const connect = async () => {
})

let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: web3Provider.getSigner(),
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/howtos/creatingAccounts/socialLogin/web3auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ const module = await ECDSAOwnershipValidationModule.create({


let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
entryPointAddress: DEFAULT_ENTRYPOINT_ADDRESS,
Expand Down
3 changes: 1 addition & 2 deletions docs/tutorials/React_vite/sdk-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ async function setupSmartAccount() {
setProvider(web3Provider);

try {
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: web3Provider.getSigner(),
let biconomySmartAccount = await BiconomySmartAccountV2.create(
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
entryPointAddress: DEFAULT_ENTRYPOINT_ADDRESS,
Expand Down
1 change: 0 additions & 1 deletion docs/tutorials/nextjs/gaslesstransaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ const connect = async () => {
})

let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: web3Provider.getSigner(),
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/tutorials/nextjs/sdkintegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ const connect = async () => {
})

let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: web3Provider.getSigner(),
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/tutorials/nodejs/batchingTransactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ let address: string
async function createAccount() {
console.log("creating address")
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/tutorials/nodejs/gaslessmint.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ let address: string
async function createAccount() {
console.log("creating address")
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
1 change: 0 additions & 1 deletion docs/tutorials/nodejs/initializeaccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ Now lets use the create method on the `BiconomySmartAccountV2` class to create a
```typescript
async function createAccount() {
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
2 changes: 0 additions & 2 deletions docs/tutorials/nodejs/multichainmint.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ let address: string
async function createAccount() {
console.log("creating address")
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down Expand Up @@ -190,7 +189,6 @@ Now add the following in your connect function in order to initialize an instanc

// create biconomy smart account instance
let baseAccount = await BiconomySmartAccountV2.create({
signer: signer,
chainId: ChainId.BASE_GOERLI_TESTNET,
paymaster: basePaymaster,
bundler: baseBundler,
Expand Down
2 changes: 0 additions & 2 deletions docs/tutorials/nodejs/paywitherc20.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ let address: string
async function createAccount() {
console.log("creating address")
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down Expand Up @@ -323,7 +322,6 @@ let address: string

async function createAccount() {
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: wallet,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down
2 changes: 0 additions & 2 deletions docs/tutorials/sessionkeys/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ Create a connect function:
})
setProvider(provider)
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: signer,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down Expand Up @@ -206,7 +205,6 @@ export default function Home() {
})
setProvider(provider)
let biconomySmartAccount = await BiconomySmartAccountV2.create({
signer: signer,
chainId: ChainId.POLYGON_MUMBAI,
bundler: bundler,
paymaster: paymaster,
Expand Down

0 comments on commit b313737

Please sign in to comment.