GithubHelp home page GithubHelp logo

markeljan / froggy-auctions Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 5.09 MB

Wrap sOrdinals inscriptions into SIP-009 NFTs.

Home Page: https://froggy-auctions.xyz

License: MIT License

Clarity 1.61% TypeScript 98.32% JavaScript 0.05% CSS 0.02%
nft stacks stx froggys sip-009 sip009 sordinals

froggy-auctions's Introduction

Froggy Auctions

froggy-auctions.xyz showcases a way to interpoerate between the sOrdinals metaprotocol and Stacks native SIP-9 NFTs.

image

How it Works

Froggy Auctions operates through a simple process:

  1. HOP: Vault your Froggy inscription to a trusted principal.
  2. SIP-9 Froggy is minted or unvaulted and sent to you.
  3. HOP BACK: Vault your SIP-9 Froggy and recover your inscription.

Code Overview

Frontend / Backend

The frontend/backend built with Next.js / React. Backend API routes are used to manage chainhook events, execute hopping and hopping back, and vaulting / unvaulting.

Clarity Contracts

Froggy Clarity smart contract. There are two main functions:

  • hop: This function is responsible for vaulting Froggy inscriptions and minting SIP-9 Froggies to the recipient.
  • hop-back: Used to vault SIP-9 Froggies and recover the inscription.

Clarinet Testing

image

Chainhook

A chainhook is used to track STX transfers with memos. After hitting our serverless API each valid event is saved to our database which is then subscribed to from our frontend to display real-time froggy transactions to any site vistors via toasts.

Usage

Try it out live on Stacks Mainnet at https://froggy-auctions.xyz

SIP-9 Wrapped Froggys on Gamma

Gamma Collection

image

froggy-auctions's People

Contributors

markeljan avatar rapha-btc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.