Open
0 of 4 issues completedDescription
A lot of code is duplicate among deweb CLI and deweb frontens (home and uploader)
This lead to unmaintainable code and block further improvements.
what to do:
-
add e2e test in the CLI to test differents usecase: website add/update/delete, with metadatas, file metadata etc..
this will allow us to improve the code with confidence. If the same code is used in cli and frontend, its a win -
Put contracts specific code in massa web3 and reuse the the code in cli and frontends
- indexer contract
- retrieve stored websites, add a website
- website contracts
- get website data, metadatas
- indexer contract
-
create a generic operation batch sender that will be used for website chunk upload
- this is a important piece of code, we need a clean and reliable stuff that we can optimize
- It should use the sendOperationS (with a S) endpoint of the node.
- Investigate how it could work with wallet provider and the supported wallets (sub issues will probably needed here)
-
Eventually create a Deweb folder in massa web3 that will gather the Deweb specific helpers