New feature "Express Deal"
Added new "Express Deal" feature discussed here. This feature allows providers create deals without a previous proposal, this feature includes:
- New function
createDeal
inside the smart contract - New function
createdeal
inside the provider-cli - Wrote all required tests to be sure everything works as expected
- Created a general Appeal contract useful if a provider wants to allow anyone create appeals
New feature "Network status"
A new daemon written in Rust was developed to aggregate statistics on deals, network and create value-over-time charts. This daemon connects directly to MongoDB and runs all required aggregations. Final result is saved in form of json
files.
Also a boilerplate for the UI was inserted expecting a minimal UI to check the network status in next sprint.
Documentation improvements
- Better management of
README.md
page - Wrote an architectural diagram that explains how parties interact.
- Added the
TESTS.md
page inside thesmart-contracts
website - Aligned
PAPER.md
page to last version on HackMD
API fixes
- Added the
stats
endpoint that serves the previously calculated aggregated stats. - Minor fixes on the deal parser
- Minor fixes on the connection between onchain.storage API and retriev API