Fetch.ai - Svelte + TS + Vite + CosmJS template
This template will help get you started developing with Svelte and TypeScript for the Fetch.ai cosmos-powered blockchain.
This template is tailored for learning and includes a series of explanation related to:
- Wallet Connection
- Bank Balances
- Handling IBC denominations
- Sample Tokens (CW20) queries
- Sample NFT (CW721) queries
Using this template
This repository is a template repository and we encourage you to get started by taking ownership of the code by pressing the Use this template button.
Project Setup
npm install
Compile and Hot-Reload for Development
npm dev
Type-Check, Compile and Minify for Production
npm build
Recommended Links
- cosmjs is the prevalent Javascript library for the Cosmos ecosystem, supporting native modules, CosmWasm smart contracts interaction as well as Tendermint interactions.
- This helpful gist we've put together will help you learn some of the most common queries you'll need for your dApps, including CW20 and CW721 interactions.
Looking for another framework?