This repo provides a library and examples to build CosmWasm smart contract to interact with BandChain.
- Project structure
- BandChain - Oracle Scripts & Data Sources
- How to request data from BandChain via IBC
- Packages - cw-band
- Contract example - Price feed
- Setup relayer
All documents related to cw-band will be placed in this folder.
This folder contains libraries for smart contracts to use. These libraries will help make the process of requesting data from BandChain easier.
cw-band
: This library will provide all the necessary data types that you will need to use when you want to request data from BandChain. You can look more into detail here
We provide sample contracts that either implement or consume these packages to both provide examples, and provide a basis for code you can extend for more custom contacts.
Price feed
: A contract that can request data from BandChain by using cw-band package and allow other contracts to query the data. You can learn more detail in this document.
We provide useful scripts such as building contract commands and contract deployment commands in this folder.