@aspect-wallet/sdk 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -4
- package/README.md +7 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
- **Audit**: Operation history, real-time events, webhook notifications
|
|
18
18
|
- **Multi-chain**: Arbitrum, Base, Polygon, Ethereum with chain-specific configs
|
|
19
19
|
|
|
20
|
-
###
|
|
20
|
+
### Supported Chains
|
|
21
21
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
22
|
+
- Arbitrum One, Arbitrum Sepolia
|
|
23
|
+
- Base, Base Sepolia
|
|
24
|
+
- Polygon, Polygon Amoy
|
|
25
|
+
- Ethereum, Sepolia
|
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ import { computeWalletAddress, WalletFactory } from '@aspect-wallet/sdk';
|
|
|
63
63
|
|
|
64
64
|
// Option A: Pure computation (no RPC call)
|
|
65
65
|
const address = computeWalletAddress({
|
|
66
|
-
factory:
|
|
66
|
+
factory: factoryAddress, // From your ChainRegistry config
|
|
67
67
|
owner: signerAddress,
|
|
68
68
|
salt: 0n,
|
|
69
69
|
});
|
|
@@ -639,16 +639,14 @@ try {
|
|
|
639
639
|
|
|
640
640
|
---
|
|
641
641
|
|
|
642
|
-
##
|
|
642
|
+
## Supported Chains
|
|
643
643
|
|
|
644
|
-
|
|
644
|
+
Contract addresses are provided via `ChainRegistry` at runtime -- configured per project through your API key. The SDK does not hardcode deployment addresses.
|
|
645
645
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
| SimpleAccount (impl) | `0xe6FEe0AF343A9c59a03070Ef4239519bD6C243F2` |
|
|
651
|
-
| VerifyingPaymaster | `0x13e6e887168d5ca78a47fac4EF71Ec5d0C6a9d2B` |
|
|
646
|
+
```typescript
|
|
647
|
+
const config = chains.get('arbitrum-one');
|
|
648
|
+
// Returns factory, paymaster, modules addresses for your project
|
|
649
|
+
```
|
|
652
650
|
|
|
653
651
|
---
|
|
654
652
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aspect-wallet/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TypeScript SDK for ERC-4337 Account Abstraction smart wallets. Gasless transactions, social logins, passkeys, session keys, multi-factor auth, and account recovery.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|