Open twhay opened 7 months ago
Currently when we derive collectionEndpoints from known networks, we can also emit mappings that can be included in this proposed library. The emitted mappings can also be used to help define the front-end to generate ui interaction for provider service definitions.
See: https://github.com/cds-amal/DINY/blob/main/pyscripts/mkDeploy.py
During the code generation process with cookiecutter
, we can create a "headers" JSON file. The SDK will read this file to maintain the mapping between the deployed smart contract (which uses a "bit mask" approach) and the human-readable names of methods, namespaces, and endpoints.
These libraries should allow clients to interact with the smart contracts. It should:
tasks