@msafe/sui3-sdk 0.0.6-pre-0bd976e.0 → 0.0.6-pre-d6ae44c.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 +14 -1
- package/dist/index.cjs +811 -14553
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -6
- package/dist/index.d.ts +24 -6
- package/dist/index.js +779 -14556
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
- package/src/backend/BackendImpl.ts +128 -13
- package/src/backend/PseudoBackend.ts +5 -3
- package/src/backend/interface.ts +12 -6
- package/src/backend/types.ts +18 -0
- package/src/core/MSafeAccount.ts +9 -5
- package/src/globals/const.ts +7 -0
package/README.md
CHANGED
|
@@ -21,4 +21,17 @@ The data will be written into the local database for further debug purpose.
|
|
|
21
21
|
yarn unit
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Running this command will connect Sqlite DB only in memory.
|
|
24
|
+
Running this command will connect Sqlite DB only in memory.
|
|
25
|
+
|
|
26
|
+
### E2E test
|
|
27
|
+
1. make sure msafe_sui_local database exists in your mysql.
|
|
28
|
+
2. run api service:
|
|
29
|
+
1. git clone msafe-sui3-api: https://github.com/Momentum-Safe/msafe-sui-api
|
|
30
|
+
2. run yarn start:dev
|
|
31
|
+
3. run syncing service:
|
|
32
|
+
1. git clone msafe-sycing: https://github.com/Momentum-Safe/msafe-sui-chain-syncing
|
|
33
|
+
2. run yarn start:dev
|
|
34
|
+
4. run processor:
|
|
35
|
+
1. git clone processor: https://github.com/Momentum-Safe/msafe-sui-processors
|
|
36
|
+
2. run yarn start:dev
|
|
37
|
+
5. run tests in msafe-e2e.test.ts
|