Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme update #27

Merged
merged 13 commits into from
Nov 22, 2023
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ src
tests
.github
jest.config.*
```
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,20 @@ npm install ethers@5.7.2 aarc-sdk

## Get the API Key

To use Aarc SDK, an API key is required. Fill out [this form](https://rebrand.ly/aarc-dashboard) to get the API Key on your email instantly!
To use Aarc SDK, an API key is required. Fill out [this form](https://rebrand.ly/aarc-api) to get the API Key on your email instantly!

## Initialise the SDK

Import and initialise the Aarc SDK in your project.

```typescript
import { ethers } from "ethers";
import { AarcSDK } from "aarc-sdk";

let aarcSDK = new AarcSDK({
rpcUrl: rpcUrl,
chainId: chainId,
apiKey: "YOUR_API_KEY",
});

await aarcSDK.init();
```

# Usage
Expand Down Expand Up @@ -106,7 +103,7 @@ await aarcSDK.executeMigration({
},
...
],
GELATO_RELAYER_API_KEY // Use the link above to get the gelato relayer key
gelatoApiKey: GELATO_RELAYER_API_KEY // Use the link above to get the gelato relayer key
})
// Returns the response given below
```
Expand Down Expand Up @@ -151,7 +148,7 @@ const newSafeAddress = await aarcSDK.generateSafeSCW(

### Biconomy Smart Wallet

Fetching Existing Safes:
Fetching Biconomy Smart Wallets:

Retrieve a list of all Biconomy smart wallets associated with the user's EOA:
```typescript
Expand Down
Loading