Skip to content

loal0cksibus/concordium-dapp-examples

 
 

Repository files navigation

Example dApps for the Concordium blockchain

This repository contains a number of examples of dApp frontends / websites built on top of the Concordium blockchain. Each service is placed in its own subdirectory.

The service are not full production ready services. They are examples to demonstrate some specific use-cases. These are provided in the hope that they can be expanded or evolved into full-fledged services, or just to serve as a guide in what needs to be done.

The following examples are available.

  • dapp-template serves as a starting point for a dApp frontend with common styling and build setup.

  • signMessage demonstrates how to use the endpoint to sign an arbitrary message with the browser wallet or mobile wallet through wallet connect.

  • gallery demonstrates a gallery which requires the user to authorize using ID proofs from the browser wallet.

  • sponsoredTransactions demonstrates how a user (without holding CCD in the wallet) can sign a message with the browser wallet or mobile wallet through wallet connect and submit the signature to a backend. The backend pays for the transaction fee and submits the sponsored transaction on behalf of the user to the chain.

  • simple age verification demonstrates in a simple use case of verifiying the users age with the browser wallet.

Setup

Some projects uses submodules, to initialize or update those, run:

git submodule update --init --recursive

About

Place to put small dApp examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.7%
  • Rust 17.5%
  • CSS 2.3%
  • HTML 1.9%
  • JavaScript 1.1%
  • Dockerfile 0.8%
  • SCSS 0.7%