Skip to main content

PHP Scale Codec

  • Team Name: gmajor
  • Payment Address: 0xC3094f0ddce699a1Ad9Ef2621DF68Cd297a4c44F

Project Overview 📄​

Scale Codec is PHP lib for decode/encode used by substrate.

Team 👥​

Team members​

  • gmajor

Contact​

Team's experience​

I have many years of php development experience and nearly three years of blockchain development experience, familiar with php, golang, python, js

Team Code Repos​

https://github.com/gmajor-encrypt/php-scale-codec https://github.com/gmajor-encrypt/php-substrate-api

Development Roadmap 🔩​

  • Total Estimated Duration: 8 weeks
  • Total Costs: 12000 Dai

Milestone 1​

  • Estimated Duration: 4 weeks
  • Costs: 6000 Dai
NumberDeliverableSpecification
0a.LicenseApache 2.0 / MIT / Unlicense
0b.DocumentationSimple documentation on how to use this library
1.Scale decodeThis deliverable includes the following types of https://substrate.dev/docs/en/knowledgebase/advanced/codec : Fixed-width Integers,Compact/General Integers,Boolean,Options,Vectors,Strings,Tuples, Structures, Enum
2.Scale encodeThis deliverable includes the following types of https://substrate.dev/docs/en/knowledgebase/advanced/codec : Fixed-width Integers,Compact/General Integers,Boolean,Options,Vectors,Strings,Tuples, Structures, Enum
3.Unit testIncluding all the unit tests mentioned above
4.PackagistSubmit to Packagist for composer to use

Milestone 2 Example — Additional features​

  • Estimated Duration: 2 weeks
  • Costs: 6200 Dai
NumberDeliverableSpecification
0a.LicenseApache 2.0 / MIT / Unlicense
0b.DocumentationSimple documentation on how to use this library
1.Metadata decodesupport recent runtime metadata decode
2.Results encode/decodeResults types encode/decode, https://substrate.dev/docs/en/knowledgebase/advanced/codec#results
3.Event decodestorage EventRecord decode
4.Extrinsic decodeExtrinsic decode
5.Custom Type regCan register a custom type through the file
6.Unit testIncluding all the unit tests mentioned above
7.PackagistSubmit to Packagist for composer to use

Future Plans​

  1. Long-term support, Because I found that the underlying changes of substrate are still very frequent, I expect scale lib will be a long-term job in the future