From a9091d1e2c1a50193b19a1113a83b302d4eb0f3e Mon Sep 17 00:00:00 2001 From: "Thang X. Vu" Date: Sun, 14 Jan 2024 00:08:58 +0700 Subject: [PATCH 1/3] Add delightfuldot_milestone_1.md --- deliveries/delightfuldot_milestone_1.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 deliveries/delightfuldot_milestone_1.md diff --git a/deliveries/delightfuldot_milestone_1.md b/deliveries/delightfuldot_milestone_1.md new file mode 100644 index 000000000..8dc17c37b --- /dev/null +++ b/deliveries/delightfuldot_milestone_1.md @@ -0,0 +1,19 @@ +# Milestone Delivery :mailbox: + +**The [invoice form :pencil:](https://docs.google.com/forms/d/e/1FAIpQLSfmNYaoCgrxyhzgoKQ0ynQvnNRoTmgApz9NrMp-hd8mhIiO0A/viewform) has been filled out correctly for this milestone and the delivery is according to the official [milestone delivery guidelines](https://github.com/w3f/Grants-Program/blob/master/docs/Support%20Docs/milestone-deliverables-guidelines.md).** + +* **Application Document:** [DelightfulDOT](https://github.com/w3f/Grants-Program/blob/master/applications/delightfuldot.md) +* **Milestone Number:** e.g. 1 + +**Deliverables** +| Number | Deliverable | Link | Notes | +| ------------- | ------------- | ------------- |------------- | +| **0a.** | License | [Apache 2.0](https://github.com/CoongCrafts/delightfuldot/blob/w3f-delivery/m1/LICENSE) | | +| **0b.** | Documentation | - [README](https://github.com/CoongCrafts/delightfuldot/tree/w3f-delivery/m1)
- [Playground Sandbox](https://codesandbox.io/p/devbox/trydedot-th96cm?file=%2Fmain.ts%3A24%2C26) | | +| **0c.** | Testing and Testing Guide | [How to install & run the library](https://github.com/CoongCrafts/delightfuldot/tree/w3f-delivery/m1?tab=readme-ov-file#have-a-quick-taste) | Run tests instructions:
1. Clone the [project](https://github.com/CoongCrafts/delightfuldot/tree/w3f-delivery/m1)
2. Run `yarn install`
3. Run `yarn test` | +| 1. | Core functionalities | - Chain types & APIs ([codegen](https://github.com/CoongCrafts/delightfuldot/tree/w3f-delivery/m1/packages/codegen), [chaintypes](https://github.com/CoongCrafts/delightfuldot/tree/w3f-delivery/m1/packages/chaintypes), [codecs](https://github.com/CoongCrafts/delightfuldot/tree/w3f-delivery/m1/packages/codecs))
- [Metadata v14 parser](https://github.com/CoongCrafts/delightfuldot/blob/w3f-delivery/m1/packages/codecs/src/metadata/v14.ts)
- [RPC APIs](https://github.com/CoongCrafts/delightfuldot/blob/w3f-delivery/m1/packages/api/src/executor/RpcExecutor.ts)
- [Constant APIs](https://github.com/CoongCrafts/delightfuldot/blob/w3f-delivery/m1/packages/api/src/executor/ConstantExecutor.ts)
- [Query Storage APIs](https://github.com/CoongCrafts/delightfuldot/blob/w3f-delivery/m1/packages/api/src/executor/StorageQueryExecutor.ts)
- [Event APIs](https://github.com/CoongCrafts/delightfuldot/blob/w3f-delivery/m1/packages/api/src/executor/EventExecutor.ts)
- [Error APIs](https://github.com/CoongCrafts/delightfuldot/blob/w3f-delivery/m1/packages/api/src/executor/ErrorExecutor.ts) | | +| 2. | Publish to npm | - [delightfuldot](https://www.npmjs.com/package/delightfuldot)
- [7 other packages](https://www.npmjs.com/search?q=%40delightfuldot) | | + +**Additional Information** +- Regarding the `ability to add custom RPC APIs` as stated in Deliverable 01 + - We can now call arbitrary RPC methods to a blockchain node ([docs](https://github.com/CoongCrafts/delightfuldot?tab=readme-ov-file#execute-rpc-methods)), but the ability to define custom specs & generate types for those specs are not yet supported for now in M1, since this feature is tied & related to the feature to generate chain types & APIs for custom chain (codegen), so we plan to ship this feature in M2 along with custom runtime APIs. From e0a65319841e00d8dc526ab90901be52cb525b35 Mon Sep 17 00:00:00 2001 From: "Thang X. Vu" Date: Sun, 14 Jan 2024 00:13:24 +0700 Subject: [PATCH 2/3] Update milestone number --- deliveries/delightfuldot_milestone_1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deliveries/delightfuldot_milestone_1.md b/deliveries/delightfuldot_milestone_1.md index 8dc17c37b..68a0d188b 100644 --- a/deliveries/delightfuldot_milestone_1.md +++ b/deliveries/delightfuldot_milestone_1.md @@ -3,7 +3,7 @@ **The [invoice form :pencil:](https://docs.google.com/forms/d/e/1FAIpQLSfmNYaoCgrxyhzgoKQ0ynQvnNRoTmgApz9NrMp-hd8mhIiO0A/viewform) has been filled out correctly for this milestone and the delivery is according to the official [milestone delivery guidelines](https://github.com/w3f/Grants-Program/blob/master/docs/Support%20Docs/milestone-deliverables-guidelines.md).** * **Application Document:** [DelightfulDOT](https://github.com/w3f/Grants-Program/blob/master/applications/delightfuldot.md) -* **Milestone Number:** e.g. 1 +* **Milestone Number:** 1 **Deliverables** | Number | Deliverable | Link | Notes | From 51cd7e86f1b99a1a865d5c73214f58fbc04dd591 Mon Sep 17 00:00:00 2001 From: "Thang X. Vu" Date: Mon, 15 Jan 2024 16:22:16 +0700 Subject: [PATCH 3/3] Update delightfuldot_milestone_1.md --- deliveries/delightfuldot_milestone_1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/deliveries/delightfuldot_milestone_1.md b/deliveries/delightfuldot_milestone_1.md index 68a0d188b..5d68c3eb1 100644 --- a/deliveries/delightfuldot_milestone_1.md +++ b/deliveries/delightfuldot_milestone_1.md @@ -17,3 +17,4 @@ **Additional Information** - Regarding the `ability to add custom RPC APIs` as stated in Deliverable 01 - We can now call arbitrary RPC methods to a blockchain node ([docs](https://github.com/CoongCrafts/delightfuldot?tab=readme-ov-file#execute-rpc-methods)), but the ability to define custom specs & generate types for those specs are not yet supported for now in M1, since this feature is tied & related to the feature to generate chain types & APIs for custom chain (codegen), so we plan to ship this feature in M2 along with custom runtime APIs. +- In term of benchmarking, we've archieved a [similar performance](https://github.com/sinzii/delightfuldot-poc?tab=readme-ov-file#memory-consumption-benchmark-result) as with the PoC we had before. We've updated the benchmark scripts to use the new [`delightfuldot`](https://www.npmjs.com/package/delightfuldot) package, you can clone the repo and try it out now.