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

Add delivery milestone 1, IPFS utilities #743

Merged
merged 3 commits into from
Feb 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions deliveries/ipfs_utilities-milestone_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 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:** [IPFS Utilities application](https://github.com/w3f/Grants-Program/blob/master/applications/ipfs_utilities.md)
* **Milestone Number:** 1

**Context**

This delivery contains two repositories. One is providing the implementation of the IPFS integration into Substrate. The second is an example web3 client, that can be used for testing and explanations.

For more details please check the Grant application document.

**Deliverables**

List of public GitHub repositories as deliverables:
* [Substrate IPFS](https://github.com/TDSoftware/substrate-ipfs/tree/milestone-1)
* [Substrate IPFS UI Client](https://github.com/TDSoftware/substrate-ipfs-ui/tree/milestone-1)

| Number | Deliverable | Link | Notes |
| ------ | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| 0a. | License | https://github.com/TDSoftware/substrate-ipfs/blob/milestone-1/LICENSE-APACHE2 | Apache 2.0 |
| 0b. | Documentation | https://github.com/TDSoftware/substrate-ipfs/blob/milestone-1/README.md https://github.com/TDSoftware/substrate-ipfs-ui/blob/milestone-1/README.md | We provided **inline documentation** of the code, a meaningful readme for all modified modules in the repositories. |
| 0c. | Testing | https://github.com/TDSoftware/substrate-ipfs/blob/milestone-1/README.md | Core functions are covered by unit tests as far as reasonably applicable to ensure functionality and robustness. |
| 1. | Implementation of the IPFS upload extrinsic | https://github.com/TDSoftware/substrate-ipfs/blob/milestone-1/frame/tds-ipfs/src/lib.rs | Please check the tds-ipfs and tds-ipfs-core frame module. |
| 2. | Implementation to retrieve CID and store it on chain | https://github.com/TDSoftware/substrate-ipfs/blob/milestone-1/frame/tds-ipfs/ | Offchain logic was extended to allow submitting and storing the CID on chain. |
| 3. | Implementation of a web3 client | https://github.com/TDSoftware/substrate-ipfs-ui/tree/milestone-1 | Please check the readme file for detail information. |
| 4. | Benchmark and adjustments | https://github.com/TDSoftware/substrate-ipfs-ui/tree/milestone-1 | The web3 client was used to perform benchmarking. The results will be used for further optimisations of the implementation. |

**Additional Information**
We will continue on developing milestone 2 and will apply for another milestone (3) as we discovered potential optimisations during the benchmarking.