Algomint / Algorand-MultiSig

Algorand-MultiSig is an open source repo that allows Algorand devs to easily spin up an application that enables multi-sig signing.
4 stars 6 forks source link

Algorand Multi-Sig Signer

This repo, includes all of the code necessary to facilitate the signing of multi-signature transactions without exposing SK's.

Contributors

Set-up guide

Design Flow

Screen Shot 2022-07-15 at 5 29 56 pm

Backend

cd backend
go mod tidy
cd cmd
go run main.go

After the above commands have been executed you will have the backend service running on localhost:8081

Now you will have access to the following endpoints (note you will only need the ones with * next to them): Futher documentation of the following endpoints will be avaible in the backend folder

Frontend

cd frontend
npm i or npm install

head to utils/algodClient.ts and update the X-API-Key key-pair with your purestake api key.

npm start

After the above commands have been executed you will have the frontend running on localhost:3000

AlgorandSDK scripts

In this folder you are able to use the provided template to construct the TXN's you would like to be send to the backend to be signed.

cd algo-scripts
npm i or npm install

Create a .env file and store your purestake api in the following format

PURESTAKE_API_TOKEN='example'