Rafa Jimenez
Build your first app with the HandCash Connect SDK
#1about 5 minutes
Understanding the HandCash ecosystem and Duro currency
HandCash provides a single user identity and balance across various apps and games using the Duro currency for nanopayments.
#2about 1 minute
Project overview: Building a Duro faucet for Twitch
The goal is to create a chatbot that automatically sends five Duro to users who post their HandCash handle in a Twitch chat.
#3about 2 minutes
Setting up the HandCash and Twitch developer environments
Register your application on both the HandCash and Twitch developer dashboards to obtain the necessary App ID and Client ID for integration.
#4about 4 minutes
Implementing and testing a basic Twitch chatbot
Start by adapting an example chatbot from the Twitch documentation to connect to your channel and respond to a simple command.
#5about 4 minutes
Integrating the HandCash Connect SDK for payments
Install and initialize the HandCash Connect SDK, then generate a redirection URL to authorize the application and obtain an OAuth token for making payments.
#6about 4 minutes
Coding the payment logic to send Duro from chat
Modify the chatbot's message handler to parse user handles and trigger an asynchronous payment using the HandCash SDK's `pay` method.
#7about 3 minutes
Adding logic to prevent duplicate user payments
Use a JavaScript Set to keep track of handles that have already received a payment, preventing users from draining the faucet's wallet.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
01:33 MIN
Simplifying Bitcoin micropayments for developers
Connect API for Bitcoin SV applications
04:02 MIN
Authorizing application payments with the SDK
Connect API for Bitcoin SV applications
24:46 MIN
Using smart contracts and developer tools on Hedera
A Primer on Blockchain and Hedera: An Intro Through Terms
44:15 MIN
The future of web payments and how to get started
WeAreDevelopers LIVE - Build Real Things: Real-World Problems That Blockchain Actually Solves
15:33 MIN
Exploring the Bitcoin SV application ecosystem
Bitcoin SV: The Massively Scaled Blockchain to Meet Developer Needs
34:50 MIN
Exploring real-world use cases and code examples
WeAreDevelopers LIVE - Build Real Things: Real-World Problems That Blockchain Actually Solves
18:52 MIN
A live demonstration of the wallet sign-in process
SSO with Ethereum and Next JS
49:08 MIN
Using blockchain to solve real-world problems through hackathons
WeAreDevelopers LIVE – Building on Algorand: Real Projects and Developer Tools
Featured Partners
Related Videos
Connect API for Bitcoin SV applications
Rafa Jiménez
Smart Contract fundamentals - My first DApp
Tim Weingärtner
Connect Metamask with web3js
Wisdom Nwokocha
Build Real Things: Real-World Problems That Blockchain Actually Solves - Marco Podien
Chris Heilmann, Daniel Cranney & Marco Podien
Business sensibilities when developing for Bitcoin
Joshua Henslee
APIs and Architecture for scaling omnichannel payments
Ben Hartard
WeAreDevelopers LIVE - Build Real Things: Real-World Problems That Blockchain Actually Solves
Chris Heilmann, Daniel Cranney & Marco Podien
Road to Web3
Soumaya Erradi
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Buscamos Desarrollador/A Full Stack Para Plataforma Marketplace (React, Stripe, Sharetribe)
ÛUPO
Badajoz, Spain
CSS
REST
React
Heroku
JavaScript

Desarrollador Vue + Node + Electron
Shakers
Municipality of Santiago de Compostela, Spain
API
iOS
Vue.js
Docker
MongoDB
+9



Buscamos Desarrollador/A Full Stack Para Plataforma Marketplace (React, Stripe, Sharetribe)
ÛUPO
Municipality of Córdoba, Spain
CSS
REST
React
Heroku
JavaScript

Frontend dev react.js / Next.js Blockchain en AI
Multiplied
The Hague, Netherlands
Remote
Intermediate
API
CSS
HTML
React
+5

Full Stack Engineer (Front-End Focus)- DeFi
Arrakis Finance
Zug, Switzerland
Remote
API
React
Figma
Node.js
+3

Buscamos Desarrollador/A Full Stack Para Plataforma Marketplace (React, Stripe, Sharetribe)
ÛUPO
Municipality of Las Palmas, Spain
CSS
REST
React
Heroku
JavaScript