Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Firekeeper <[email protected]>
  • Loading branch information
0xFirekeeper authored Aug 2, 2024
1 parent 16fc72a commit 0aa6971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Smart wallets offer advanced functionalities such as gasless transactions and se
**Creating a Smart Wallet**

```csharp
var smartWallet = await SmartWallet.Create(client: client, personalWallet: inAppWallet, factoryAddress: "0xbf1C9aA4B1A085f7DA890a44E82B0A1289A40052", gasless: true, chainId: 421614);
var smartWallet = await SmartWallet.Create(personalWallet: inAppWallet, gasless: true, chainId: 421614);

Console.WriteLine($"Smart Wallet: {await smartWallet.GetAddress()}");
```
Expand Down Expand Up @@ -248,7 +248,7 @@ Console.WriteLine($"Transaction hash: {txHash}");
With ZkSync, you don't need to pass an account factory address, and the rest works the same.

```csharp
var zkSyncWallet = await SmartWallet.Create(client: client, personalWallet: inAppWallet, gasless: true, chainId: 300);
var zkSyncWallet = await SmartWallet.Create(personalWallet: inAppWallet, gasless: true, chainId: 300);

Console.WriteLine($"ZkSync Smart Wallet: {await zkSyncWallet.GetAddress()}");

Expand Down

0 comments on commit 0aa6971

Please sign in to comment.