Skip to content

tidelabs/primitives

Tidefi Primitives

Low-level types used throughout the Tidefi ecosystem.

Generate JSON Schema

cargo install --git https://github.com/tidelabs/primitives --force
tidefi-primitives json -o ./dist

Parse latest JSON Schema

By example to view all supported assets:

curl -Ls https://github.com/tidelabs/primitives/releases/latest/download/assets.json | jq '.[] | [.id,.name,.abbr,.exponent]'

View available networks:

curl -Ls https://github.com/tidelabs/primitives/releases/latest/download/networks.json | jq '.[].name'

License

The entire code within this repository is licensed under the GPLv3.

About

Low-level types used throughout the TIDE ecosystem.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 5