@bombmoney/ybomb-meta
v1.0.0
Published
[](https://github.com/iearn-finance/yearn-meta/actions?query=workflow%3AValidation) [
Yearn has also a naming standard that is not enforced programmatically but should be followed.
Adding schemas
Schemas can be created in the root of the schema folder. For
syntax you can take a look at the JSON schema specs.
The AJV library is used to validate the
data with the provided schemas.
Syncing with IPFS
After each commit to master, direct or as a result of a merged pull request, a sync to IPFS is triggered. After the upload is complete the meta.yearn.network is updated automatically to point to the latest IPFS cid.
We rely on pinata.cloud for the IPFS hosting, and on cloudflare for the the gateway proxy.
Indexes
Before each deployment the data directory is scanned and an
index.json file is generated inside each directory (root included). The file
follows the index.json schema and will contain
information about the files and folders stored in that directory. For an example
see meta.yearn.network/index.json
Helpful links
Contributing
Code style follows prettier conventions (yarn format). Commit messages follow Conventional Commits.
