Copy Webhook URL
and keep this URL that we’ll need on the next step.DISCORD_WEBHOOK_URL
with the one you’ve copied from Discord.app.js
file inside the same folder:
app.js
file from the example project and replace the PUT_YOUR_DISCORD_URL_HERE
with the URL you copied from the last step.
Coinbase.configureFromJson({ filePath: "~/Downloads/cdp_api_key.json" });
YOUR_NOTIFICATION_URL
with the Pinggy (or similar) URL you got on the previous step. Make sure you copy the HTTPS url (webhook notification URL only supports HTTPS).npm i -g vercel
vercel login
and use the browser to login.
vercel --prod
to deploy it and it will be deployed after a few
seconds. You’ll be asked for a few configs the first time, you can use the default ones.
DISCORD_URL
variable on the field indicated on the image below: