Sparkplate features base components and methods for interfacing with various APIs. Built in is a test page for resolving human readable domains to crypto addresses.
npm install
npm run dev
Most APIs will need keys, secrets, and/or ids to perform as expected. Use the table below as a reference to get and setup your api keys with a .env
file.
Service | Description | Env Variable Name |
---|---|---|
Alchemy (Used for ETH transaction history) | API Key | VITE_ALCHEMY_API_KEY |
Blockchair (Used for BTC, DOGE, LTC integration) | API Key | VITE_BLOCKCHAIR_API_KEY |
Coin Market Cap (Used for realtime market info) | API Key | VITE_COINMARKET_API_KEY |
Changelly (Used for exchanging cryptocurrencies) | API Key | VITE_CHANGELLY_API_KEY |
Changelly (Used for exchanging cryptocurrencies) | API Secret | VITE_CHANGELLY_API_SECRET |
Infura (Used for ETH integration) | Project ID | VITE_INFURA_PROJECT_ID |
Wallet Connect (Connect with dApps as a web3 wallet) | Project ID | VITE_WALLET_CONNECT_PROJECT_ID |
Wert (Purchase crypto using the Wert widget) | Partner ID | VITE_WERT_PARTNER_ID |
Wert (Purchase crypto using the Wert widget) | Origin URL | VITE_WERT_ORIGIN |