/subscan-multisig-backend

Subscan Multi Signature Wallet Backend

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Subscan Multi Signature Wallet - Backend

This project serves as backend for Subscan Multi Signature Wallet you can find the frontend here, which can be used to work with MultiSig Wallets

Getting Started

Clone this repo git clone https://github.com/nblogist/subscan-multisig-backend.git

Installing

To successfully run the backend locally:

Set MONGODB_URI in env:

export MONGODB_URI=mongodb://<host>:<port>/multisig

Install dependencies using yarn

yarn

Run the app in the development mode

yarn start:dev

If subscribed multisigs, Open http://localhost:9000/calls?chain=<name>&multisig_address=<address> to view result in the browser.

Chain name: Polkadot, Kusama, Darwinia, DarwiniaCrab...

To build the app for production:

yarn build

Builds the app for production to the ./dist folder. It correctly bundles the app in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. The app is now ready to be deployed!

Docker

  1. sudo docker build -t subscan-multisig-backend/node:latest .
  2. sudo docker run -p 9000:9000 subscan-multisig-backend/node:latest

Built With

  • TypeScript - Typed JavaScript at Any Scale.
  • ExpressJS - Fast, unopinionated, minimalist web framework for Node.js
  • MongoDB - The MongoDB Database
  • Monk - The wise MongoDB API

Contributing

Please submit pull requests to us using the format described while making a pull request.

Resource

Authors

See also the list of contributors who participated in this project.