Skip to content

deep-ink-ventures/multiclique-frontend

Repository files navigation

multiclique-frontend

About

This is the frontend UI for MultiClique Protocol. Users can use this interface to create multi-signature accounts and approve multi-signature transactions.

Status

🛠️ This repo is still in the early development stage and please use it at your own risk. Currently, contracts are only available on Stellar's Futurenet.

Tech and code structure

Stellar Next JS React TailwindCSS

This application is built with React and Next.js. We use Tailwind for CSS and Zustand for state management.

Zustand stores folder is here. Query actions are also in the useMCStore file.

Most of the transaction actions are in the useMC hook

Getting Started

  • Please have one of these wallet extensions installed on your browser: Freighter only for now
  • Please turn ON experimental mode and change the network to FUTURENET on Freighter
  • You will need some Stellar XLM tokens to do transactions. For now, you can use the friendbot on Freighter wallet to fund your account. As of now, you will need 1000 XLM tokens to create a DAO.
  • Check the config folder if you want to customize configurations.

The frontend defaults to the service of the MultiClique test environment.

Docker setup

We are using docker compose.

docker compose build
docker compose up

Building from source

  1. Install node packages using Bun
bun install
  1. Start dev server
bun dev
  1. Now you can open http://localhost:3000 on your browser to see the application.

Before commit

Please run this script to test, format, and lint code.

bun pre-commit

Please use this script to commit and run tests:

bun commit

This repo uses Conventional Commits specifications

License

APACHE 2.0 License