Login with NFT for every website, store, app, or event.
1 minute RESTful setup · no complicated Dapp or wallet logic needed
Web3 for the rest of the internet
require "http"
class SessionsController < ApplicationController
def create
access_intent = HTTP.post(
"https://app.clubcard.dev/api/v1/access_intents",
headers: {
"Content-Type": "application/json",
"Accept": "application/json"
}, json: {
description: "Log in with Rareblocks Full Access Pass",
profile_name: "Clubcard demo",
return_url: return_sessions_url,
access_list: [{"contract_address": "0x1bb191e56206e11b14117711C333CC18b9861262"}]
})
redirect_to access_intent.parse["redirect_url"], allow_other_host: true
end
def return
access_intent = HTTP.get(
"https://app.clubcard.dev/api/v1/access_intents/#{params["clubcard_id"]}",
headers: {
"Accept": "application/json"
}
)
if access_intent.parse["status"] == "succeeded"
cookies.signed["logged_in"] = true
end
end
end
Add Non-Fungible-Tokens (NFTs) to things that already exist.
Only allow visitors that own certain NFTs access to (certain parts) of your website.
Give customers that own your NFT an additional discount on certain products in your Shopify, BigCommerce, or WooCommerce store.
Use an NFT as a (virtual) event ticket. Just like Gary Vaynerchuck is doing with his VeeFriends NFT that grant access to multiple years of VeeConf.
Give NFT holders the chance to get their hands on your limited edition products before anyone else. Did someone say swoosh?
👟👀
Creator? Artist? Blogger? Provide NFT holders with premium content or a behind-the-scenes peak on how you create.
Run a Discord or Forum? Only allow NFT holders access to certain topics or channels.