ajb413/halliday-privy-smart-accounts — explained in plain English
Analysis updated 2026-05-18
Learn how to combine Privy login with Coinbase smart accounts
Prototype a crypto app that deploys a smart account on first login
See how a Halliday deposit widget connects to a smart account
| ajb413/halliday-privy-smart-accounts | 00kaku/gallery-slider-block | 0xkinno/vellum | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2021-05-19 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | moderate | easy | hard |
| Complexity | 3/5 | 2/5 | 4/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires free API keys from Privy, Coinbase Developer Platform, and Halliday.
This project is an example application that shows how to combine three services to build a simple crypto wallet flow: Privy, Coinbase's smart account tools, and Halliday. It is meant for education, not for production use. When someone signs in with their email through Privy, the app creates an embedded wallet for them behind the scenes. Using that wallet as the owner, the app then works out the address of a Coinbase smart account on the Base blockchain network. This address is calculated with a technique called CREATE2, which means the same owner wallet always produces the same smart account address, every time. On each login the app checks whether that smart account address already has code deployed to it on Base. If it does not, this is treated as a first time login and the app deploys the smart account. The deployment cost is covered by Coinbase's paymaster service, so the new user does not need to pay any gas fees themselves. If code is already present, the app treats this as a returning user and skips the deployment step. A Deposit button in the app opens the Halliday Payments widget, which lets the user send funds into their smart account. The README is direct about a limitation: in a real product, the code that configures the smart account and the paymaster should run on a back end server rather than in the browser, since doing this from the front end is not secure. This example app does it from the front end anyway, purely to keep the demo simple and easy to follow. To run the project, a developer needs to set up free accounts with Privy, Coinbase Developer Platform, and Halliday, then fill the resulting API keys into a .env file before running npm install and npm run dev.
An example app showing how to sign in with Privy, deploy a Coinbase smart account on Base, and accept deposits through Halliday.
Mainly JavaScript. The stack also includes JavaScript, Privy, Coinbase CDP.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.