project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Clink Safe

Clink, the easiest way to send and receive crypto tokens. Using Clink, anyone can deposit and send tokens to another person whether or not they already have a crypto smart wallet

Clink Safe

Created At

Superhack

Winner of

🏆 Superhack 2023 Finalist

Project Description

Clink, the easiest way to send and receive crypto tokens. Built on Base!!

Using Clink, anyone can deposit and send tokens to another person whether or not they already have a crypto wallet with just a link. The kicker is… the link is a smart contract wallet!

Clink is a lightweight non custodial wallet designed to make transferring digital assets as easy as sending a link. Someone with crypto can create a Clink and send that link to anyone over any platform (text, discord, email, etc). The amazing thing is, the link is the smart contract wallet!

How it Works

  1. Create a Clink Link
  2. Share your Clink Link
  3. Claim Reward

e.g., Consider Bob wants to send money to Alice But he doesn’t know Alice Address or any other details.

Clink Safe Infra

Clink trying to represent the idea of 'Digital Cash' better than any other cryptocurrency, asset or tool on the market today

Inspiration

There's still a tremendous amount of friction in crypto that holds back mainstream adoption. It's unreasonable to ask the general population to set up a 12- or 24-word seed phrase wallet, much less a hardware wallet, just to send a dollar or receive a commemorative NFT.

Why Does it Matter?

  • Social and Email Send clinks at scale via email, twitter, discord etc.,
  • In Real Life Distribute Clinks vai QR Code or NFC Tags at in person events
  • Web Apps Place a button to distribute Clinks on your Dapp

Working Demo

clink_demo

How it's Made

Clink Uses Safe{Core} AA SDK for creating the smart contract accounts on Base Görli testnet. For Login we are using Safe Auth Kit which is built on top of Web3 Auth.

Every link is a smart contract account, This is possible by

  • We are generating the new wallet account EOAs using trust wallet’s wallet core. Once the new account is created the private key is encoded with base58 format and sent in the URL. Hence URL will act as a private key for the EOA account.
  • From the EOA account we are predicting the Safe Smart Contract Account address whenever user tries to load the link. P.S., due to which the slow load time as well.
  • Smart contract address will have the reward balance. And whenever user tries to claim it we are using Safe Relay Kit which is built on top of the Gelato.
  • Gelato handles the paymaster account, where I’ve created the Relay App for which I am loading the Gas in supported tokens
  • Initial account will be created as an EOA, but when user tries to claim while relaying the transaction in the Gelato, Contract also deployed in order to avoid the Gas Fee for the contract creation.
  • Reference - https://safe-account-abstraction-demo.netlify.app/ - this is the safe demo app on account abstraction

Whole thing is built on Base since the gas fee is significantly low. Down the lane the gas sponsor ship can be controlled based on the eligibility of the users.

Tech Stack

  • NextJs
  • Safe{Core} AA SDK
  • Web3AuthNoModal
  • Trust Wallet Wallet Core
  • Gelato Relayer
  • Base RPC Provider

Primary Currency is kept as dollar which support only ETH from base right now. But down the line I can plan to introduce multiple tokens, swap, buy options as well.

Complete Guide

Find the below step by step guid on how to do it Clink Safe Infra2

background image mobile

Join the mailing list

Get the latest news and updates