How I Programmed My Apple Watch ⌚to Automatically MINT an NFT with the Action Button 🌟

Enrique Gamboa
4 min readMar 6, 2024

--

In an era where technology seamlessly integrates into our lives, I’ve embarked on a fascinating project that combines the simplicity of a button press with the complexity of blockchain technology. Utilizing the Apple Watch Ultra’s action button, I’ve developed a no-code solution that automatically generates an image using Dall-E 3, mints it as an NFT on the Polygon network, and shares it on Instagram. This post will guide you through how this innovative integration can turn a simple gesture into a creative, digital asset. I also shared the Apple Shortcut and Zap template used in this project.

GIF
GIF — Project Demo

Introduction 🚀

Imagine creating a unique digital asset with the press of a button. My latest project makes this possible, leveraging the Apple Watch Ultra, among other technologies, to mint NFTs automatically. This endeavor is not just a technical feat; it’s a doorway to endless possibilities for artists, creators, and enthusiasts alike, enabling anyone to generate NFTs with ease. In the next video, you can see the demo of this automation working.

Video — Project Demo

Tech Stack Overview 🛠️

The project harnesses the capabilities of several cutting-edge technologies:

  • Shortcuts on Apple Watch Ultra & iPhone 13 Pro Max: The starting point of our creative journey.
  • Zapier: Acts as the backbone, automating the workflow.
  • OpenAI’s Dall-E 3 API: Generates the artwork to be minted.
  • Crossmint API: Mints the generated image as an NFT on the Polygon network.
  • Instagram Zapier Integration: Shares the newly minted NFT on social media.

Architecture 🏗️

The process flow of this project is straightforward yet powerful:

  1. A button press on the Apple Watch Ultra triggers an Apple Shortcut.
  2. The shortcut activates a Zapier webhook, which initiates the process.
  3. Zapier commands Dall-E 3 to create a unique image based on a predefined prompt.
  4. The image is minted as an NFT on the Polygon mainnet via the Crossmint API.
  5. The same image is then posted to Instagram using Zapier’s integration.
  6. The process concludes with a notification on the Apple Watch, confirming the NFT’s creation and social media share.

The following diagram illustrates this process.

User flow diagram

How I Did It ✍️

Here’s a step-by-step guide to replicating this project:

  1. Setting Up the Zap in Zapier:

Here is the Zap template: Link

Create a Zap named ‘MINT NFT with Apple Watch Ultra’.

Configure the Zap to catch a webhook, call the Dall-E 3 API for image creation, mint the NFT via Crossmint, and post the image on Instagram.

Zap flow for this project

2. Creating the iPhone Shortcut:

Here is the Shortcut public link: Link

  • Design a shortcut that prompts user consent, calls the Zap webhook, and notifies the user upon successful minting.
Screenshot of ‘Mint NFT’ shortcut

Make sure to show your Shortcut on Apple Watch:

Screenshot activation of shortcut on Apple Watch

3. Configuring the Apple Watch Ultra:

  • Assign the ‘Mint NFT’ shortcut to the action button for effortless activation.
Action Buton configuration on Apple Watch — iPhone Watch app

Requirements for This Project 📋

To embark on this project, you’ll need:

  • An iOS device with the Shortcuts app.
  • A Zapier account.
  • A Crossmint account with API key and credits.
  • (Optional) An Instagram or alternative social media account for sharing your NFTs.
Photo of Apple Watch notification of NFT minted successfully

Conclusion 🎉

This project exemplifies the potential of integrating various technologies to achieve something innovative with a simple action. It demonstrates the power of Apple Shortcuts in triggering APIs and how Zapier can facilitate the creation and sharing of blockchain-based assets. This guide not only walks you through creating automated NFTs but also inspires you to explore other possibilities by mixing and matching different technologies. The future of digital creation is here, and it’s accessible with just a click.

NFT example Minted on this project

You can see this NFT on OpenSea here, and you can find more NFTs I’ve automated in this link.

✌️

References:

Crossmints docs: Link

How to call REST API in the action step in Zapier?: Link

Call API from Apple Shortcuts: Link

--

--

Enrique Gamboa
Enrique Gamboa

Written by Enrique Gamboa

If art is a human abstraction, Artificial Intelligence is the abstraction of humanity 🦾

No responses yet