Patract Labs' maintenance cost for Kusama of 2021
Patract is developing development tools and services for Polkadot’s Wasm contract technology. With the support of Polkadot Treasury, we have completed the development, report, and external review of Himalia and Ask!. However, in the past six to twelve months, the underlying technology of Wasm contracts led by Parity has undergone tremendous breaking changes, so we continued to contribute our developers for long-term maintenance. Among them, the function changes of Pallet-Contracts and ink! mainly include
- Change of Pallet-contracts
- Refactors
- update about host_func
- update about debug_message
- update about wasm executor
- Change of ink!
In addition, we paid a lot of cloud server and bandwidth costs for API service Elara. The following is a summary of the maintenance work and cost of each product in the past year:
Himalia (12 months)
Himalia is our Wasm contract multi-language SDK, divided into Go/Python version. More than a year ago, we completed the development of version 0.2. After that, the maintenance work of the Github repo are as follows:
- PatractGo:
- Submitted 16 Commits.
- Updated version to support metadata14 format modification
- Update all test cases to support the latest version of ink!
- Add erc721 example
- Add delegator test cases for contract mutual calls
- Fix other discovered problems
- PatractPy:
- Added 6 Commits.
- Updated version to support metadata14 format modification
- Update all test cases to support the latest version of ink!
The maintenance costs are:
- 1 maintainer * monthly salary $200 * duration 12 months = $2400
Elara for Kusama (12 months), Statemine (7 months), Westend (8 months), Westmint (7 months)
Elara is a node API service similar to Ethereum Infura. By building a middleware service layer, we can provide large number of users to visit by a small number of nodes. More than a year ago, we completed the development of version 0.2. After that, the main maintenance cost is from maintainer and cloud service.
maintenance cost ($74980) :
- 1 maintainer * monthly salary $500 * duration 12 months = $6000
- The total cost of Alibaba Cloud service in Singapore is $68980 (434579 CNY), the details are as follows:
- The unit price of each service is:
- Resources and costs actually consumed by each network:
- This is the screenshot of the Alibaba Cloud bill, the total cost is 805773 CNY, from which the Polkadot/ Statemint services should be paid by the Polkadot Treasury are 204969 CNY, and the Kusama/ Statemine/ Westend/ Westmint services should be paid by the Kusama Treasury are 434579 CNY, the rest are for other community chains.
- This is the screenshot of the Elara website statistics, total is 97352 GB / 6.06 Billion Requests, from which the traffic for Polkadot/Statemint is 18693 GB, for Kusama/ Statemine/ Westend/ Westmint is 77572 GB, the rest are for other community chains.
- The unit price of each service is:
Summary (2021)
$2400 (Himalia) + $6000 (Elara maintainer) + $68980 (Elara cloud) = $77380 / Monthly avg price of KSM $330 = 234 KSM
Comments (0)