A "ChatGPT" for bitcoiners
You can see all it here
To create new one, follow this template:
{
"id": "mempool",
"name": "Mempool",
"avatar": "https://freeter.io/web-apps/bitcoin/mempool-space/mempool-space.png"
}
and put on services/bots path
Prompts 🔝
Create 🔝
To create new one, follow this template:
{
"url": "https://mempool.space/api/v1/difficulty-adjustment",
"botId": "mempool",
"answer": {
"success": "Follow Bitcoin difficulty adjustment information:\n\n• Progress percent: [progressPercent:percent]\n• Difficulty change: [difficultyChange:decimal]\n• Estimated retarget date: [estimatedRetargetDate:date]\n• Remaining blocks: [remainingBlocks]\n• Remaining time: [remainingTime:time]\n• Previous retarget: [previousRetarget:decimal]\n• Previous time: [previousTime:time]\n• NextRetarget height: [nextRetargetHeight]\n• Time avg: [timeAvg:time]\n• Adjusted time avg: [adjustedTimeAvg:time]\n• Expected blocks: [expectedBlocks:decimal]",
"error": "😞 No one Bitcoin adjustment was found, please try again"
}
}
and put on services/prompts path
Create with parameter 🔝
When the URL requires a parameter, as in the example below, you can use {0}
in the URL and define a default parameter as "default": "Bitcoin"
. This represents the secondary term entered by the user.
{
"url": "https://api.coincap.io/v2/assets/{0}",
"botId": "coincap",
"parameters": {
"default": "Bitcoin"
},
"answer": {
"success": "The current price of [data.name] ([data.symbol]) is [data.priceUsd:currency], over the past 24 hours, it has changed by [data.changePercent24Hr:percent]",
"error": "😞 No one Bitcoin price was found, please try again"
}
}
Get data 🔝
It is represented within []
brackets, indicating the path to retrieve data from the API response.
Format data 🔝
You can format data using [pathData:{format}]
. Supported formats include:
Percent: [pathData:percent]
Decimal: [pathData:decimal]
Date: [pathData:date]
Time: [pathData:time]
Currency: [pathData:currency]
Set on quick type or auto complete 🔝
To set this up, follow this template:
{
"title": "Price",
"value": "Price",
"autoComplete": ["Bitcoin", "Ethereum", "Solana"]
},
and set on this file.
- auto complete is optional
ToDo 🔝
- Create unit test
- Optin to create and manager Bitcoin wallets
- P2P community
- Option to set real IA as ChatGPT