Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 671 Bytes

File metadata and controls

30 lines (20 loc) · 671 Bytes

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.