abstractionkit 0.1.17 → 0.2.0
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/README.md +8 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ AbstractionKit features the Safe Account. It uses the original Safe Singleton an
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
```typescript
|
|
36
|
-
import {
|
|
36
|
+
import { SafeAccountV0_3_0 as SafeAccount } from "abstractionkit";
|
|
37
37
|
|
|
38
38
|
const ownerPublicAddress = "0xBdbc5FBC9cA8C3F514D073eC3de840Ac84FC6D31";
|
|
39
39
|
const smartAccount = SafeAccount.initializeNewAccount([ownerPublicAddress]);
|
|
@@ -72,7 +72,7 @@ const paymaster: CandidePaymaster = new CandidePaymaster(paymasterRPC);
|
|
|
72
72
|
Then you can consume Paymaster methods:
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
75
|
-
const
|
|
75
|
+
const supportedERC20TokensAndPaymasterMetadata = await paymaster.fetchSupportedERC20TokensAndPaymasterMetadata();
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
## Guides
|
|
@@ -89,3 +89,9 @@ const erc20s = await paymaster.getSupportedERC20TokensAndPaymasterMetadata();
|
|
|
89
89
|
## License
|
|
90
90
|
|
|
91
91
|
MIT
|
|
92
|
+
|
|
93
|
+
<!-- ACKNOWLEDGMENTS -->
|
|
94
|
+
## Acknowledgments
|
|
95
|
+
|
|
96
|
+
* <a href='https://eips.ethereum.org/EIPS/eip-4337'>EIP-4337: Account Abstraction via Entry Point Contract specification </a>
|
|
97
|
+
* <a href='https://github.com/safe-global/safe-modules'>Safe modules</a>
|