entropyxyz / programs

Source, toolchain, and examples for using programs on Entropy
https://docs.entropy.xyz/concepts/programs/
GNU Affero General Public License v3.0
19 stars 3 forks source link

Make the CLI for storing programs upload metadata to the `program-metadata-web-service` #69

Open ameba23 opened 4 months ago

ameba23 commented 4 months ago

The CLI which stores programs on chain could have an option to specify whether the program is intended to be publicly available, and if it is, then make an HTTP request to the program-metadata-web-service, which pulls the name and description etc, from Cargo.toml and makes that data available through a json http api.

The testnet status page uses this service to display names in the list of programs. And potentially the SDK could use it to make a 'program picker' for users.

However, the program-metadata-web-service is not yet deployed. And it requires you to build the program with docker in order that it can verify that the source code matches the on-chain binary.