Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
DISCORD_API_TOKEN = "Your Discord API Token"
TOKEN_ID = "Your token ID"
TOKEN_ID = "Your token address"
DAI_ID = "The DAI address in this subgraph and Network" ## to fetch price of DAI in nativeCurrency
WETH_ID = "The WETH address in this subgraph and Network"
SUBGRAPH_URL = "Subgraph Instance"
TOKEN_CIRCULATING_SUPPLY = 30200 ## current circulating supply of token if coingecko doesn't work for you
#TVL_SUBGRAPH = "https://api.thegraph.com/subgraphs/name/agave-dao/agave-xdai" ##> specifically built for Agave


25 changes: 16 additions & 9 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"name": "price-bee",
"description": "A Discord bot to show token prices.",
"repository": "https://github.com/1Hive/price-bee",
"logo": "https://i.imgur.com/dRxtULu.png",
"keywords": ["node", "discord", "1Hive", "token"],
"env": {
"DISCORD_API_TOKEN": "YOUR_DISCORD_API_TOKEN",
"TOKEN_ID": "Your token ID"
}
"name": "price-bee",
"description": "A Discord bot to show token prices.",
"repository": "https://github.com/1Hive/price-bee",
"logo": "https://i.imgur.com/dRxtULu.png",
"keywords": [
"node",
"discord",
"1Hive",
"token"
],
"env": {
"DISCORD_API_TOKEN": "YOUR_DISCORD_API_TOKEN",
"TOKEN_ID": "Your token ID",
"DAI_ID": "The WETH address in this subgraph",
"SUBGRAPH_URL": "Subgraph Instance"
}
}
Loading