Chrome extension wrap https://apeboard.finance/ in iframe and get latest price.
Download this project, unzip and let config.
Go to script.js
file.
const config = {
WALLET_ADDRESS: "YOUR_WALLET_ADDRESS",
CHAIN: "BSC", // ETHEREUM | BSC | TERRA
SYMBOLS: [
"THB_BTC",
"THB_ETH",
"THB_BNB",
"THB_DOGE",
],
};
You can change YOUR_WALLET_ADDRESS to you wallet address.
In popup.html
you can change to use Binance API by rename JS file
<script src="script.js"></script>
to
<script src="script-binance.js"></script>
Go to background.js
file.
const config = {
SYMBOL: "THB_XRP", // Bitkub Symbol
POLLING_TIMER: 60, // Sec
}
You can change polling time and symbol too.
- Download this project and unzip.
- Config your wallet address.
- Go to
chrome://extensions/
. - Turn on Developer mode on top right.
- Click Load unpacked and select project folder.