Secure your Crypto Fast:QuickNodeGPT & MisTrack
In the world of cryptocurrency, it's challenging to understand the reputation of the addresses we interact with, and it can become tricky if you're trying to avoid malicious ones. That's why we've developed a GPT feature that allows you to quickly determine whether an address is malicious or safe to interact with.
Here is the result of what you will achieve at the end of this tutorial:
What We Will Do
- Creating a GPT on ChatGPT
What You Will Need
Obtaining information fromQuickNode
Obtaining QUICKNODE_RPC_URL value:
Click on the "Create Endpoint" button.
We need to select the Ethereum blockchain.
In my case I selected Ethereum Mainnet.
Click in the 'Compliance & Safety' tab and activate the plugin 'Address Risk Scores by Mistrack'
Finally we get the QUICKNODE_RPC_URL.
After that ,we need to go to Render.
Creating a service to retrieve information for our ChatGPT action.
You need to go to Render:
Afterward, you need to click on "New". In the subsequent steps, you will need to click on the "Web Service" option.
You will see this dashboard:
In the Public Git Repository section, you can find a white box where you need to paste this code and click on the "Continue" button:
https://github.com/irwingtello/QuickNodeGPTCryptoRiskAnalyzer
You need to change these values:
In Name, you need to write a name for the service.
In Build Command, you need to write the next command "npm install".
Furthermore, you need to select a plan to host your service.
After defining the above values, we need to scroll down and click on the "Advanced" button. Consequently, search for the "Secret file" button and click on it.
You need to add the following environment variables:
QUICKNODE_RPC_URL='Your RPC URL'
After that, click on "Save", and then press the "Create Web Service" button located at the end of the page.
Finally, we need to copy the service URL. In my case, this is the URL:
https://quicknodegptethereum.onrender.com
Wow! Now you need some magic touches to have your Web3 assistant!
Creating our first ChatGPT action
First you need to go to "Explore GPTs".
After that, you will see this screen. Please click on the "Create" button.
You will see the dashboard for creating your GPT action.
We need to fill out the Name, Description, and Instructions fields.
In the Instructions field, you should include these special instructions:
When a user requests a search for reputation on certain chain,fill chain value as the following manner:
- When is Ethereum,send as string the value ETH
Afterward, please scroll down and select the "Code interpreter" checkbox, then click the "Create new action" button.
You will see this page:
In consequence you need to fill the schema with this code:
Note: Please replace the text "your-service-url" with your service URL.
{
"openapi": "3.1.0",
"info": {
"title": "Address Information",
"description": "This API retrieves information about Addresses",
"version": "v1.0.0"
},
"servers": [
{
"url": "your-service-url/api"
}
],
"paths": {
"/analyzeRisk/": {
"post": {
"description": "Analyze the risk associated with a certain address.",
"operationId": "analyze_Risk",
"parameters": [],
"deprecated": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Address"
},
"chain": {
"type": "string",
"description": "Chain"
}
},
"required": [
"address",
"chain"
]
}
}
}
}
}
}
},
"components": {
"schemas": {}
}
}
Now you can see the actions created!.
Note: To release your GPT to your community, you need to fill out your privacy policy.
Finally you can deliver your gpt!, click on the "Save" button located on the top corner.
Now your community can access your action!
Searching for risks associated with your address on ChatGPT using QuickNode.
Now you can search risk with easy!,like this example:
Behind the scenes, this is how the transaction is processed:
Conclusion
Congratulations! You have successfully created your actions on GPT to search for risks on Ethereum.
I'd love to encourage you to explore expanding its functionality.
We ❤️ Feedback!
If you have any feedback or questions on this guide, let us know.
Or, feel free to reach out to us via Twitter or our Discord community server.
We’d love to hear from you!
Author: Irwing Tello
Discord: https://discord.com/invite/ADjtsHVreT
Twitter: https://twitter.com/irwingtello
LinkedIn: https://www.linkedin.com/in/irwingtello/
Email: irwing@dfhcommunity.com
Website: dfhcommunity.com
Youtube: https://www.youtube.com/@irwingtellomx
You can support my work here:
https://www.buymeacoffee.com/irwingtello
BTC: 34kXK9CpTJP1PyHKw2kUD2bt6rtGcG5CHY
EVM Address: 0x8B98F8Ff69d2A720120eD6C71A9Bc5072b8Eb46D
Solana: Ey9oVFHW79giacRZaKxigYjeihMsY7ox8jxc7Hp1sJmS
Subscribe to my newsletter
Read articles from Irwing Tello directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Irwing Tello
Irwing Tello
As a driven professional with a passion for technology and business, I excel at developing and implementing innovative strategies that drive value for end-users. With a background in blockchain and a strong commitment to sharing my knowledge and experience with others, I am always seeking new opportunities to promote technology and help others understand its potential to improve lives. My core activities include staying up-to-date with the latest technological advancements, participating in projects that contribute to society, building a diverse network of friends and colleagues from different countries, and fostering a supportive and inclusive community that encourages individuals to reach their full potential. Whether through public speaking engagements or hands-on collaboration with others, I am dedicated to spreading my enthusiasm for technology and driving positive change in the world.