No description
Find a file
siiky 5feee6d5df Merge branch 'dev' into feat/lam-1291/stress-testing
* dev: (41 commits)
  build: use bullseye as target build
  chore: remove whitespace
  refactor: simplify denominations list construction
  fix: sort coins by descending denomination
  feat: address prompt feature toggle on ui
  feat: reuse last address option
  fix: performance issues on SystemPerformance
  chore: clarify requirements on comment
  feat: allow address reuse if same customer
  feat: address reuse is now per customer
  fix: hide anon and show phone on customers
  fix: dev environment restarts
  feat: batch diagnostics script
  fix: custom info request returns array
  fix: name on customer if custom data is filled
  build: testing cache hit
  build: server cache improvements
  build: node_modules was ignored on .dockerignored
  build: leftovers from npm
  chore: commented by mistake
  ...
2025-06-02 13:35:44 +01:00
.github/workflows build: server cache improvements 2025-05-23 19:15:31 +01:00
.husky build: use pnpm for the deploy 2025-05-23 16:53:04 +01:00
.vscode chore: remove unused params 2023-08-22 13:02:12 +01:00
build build: use bullseye as target build 2025-05-29 07:32:51 +01:00
packages Merge branch 'dev' into feat/lam-1291/stress-testing 2025-06-02 13:35:44 +01:00
.dockerignore build: node_modules was ignored on .dockerignored 2025-05-23 19:00:33 +01:00
.gitignore build: use pnpm for the deploy 2025-05-23 16:53:04 +01:00
.prettierrc chore: reformat code 2025-05-12 14:55:22 +01:00
.tool-versions Merge branch 'dev' into feat/lam-1291/stress-testing 2025-06-02 13:35:44 +01:00
CRYPTO_README.md feat: start working on monero implementation 2021-11-15 15:19:27 +00:00
eslint.config.mjs chore: some small fixes and native deps config 2025-05-23 18:09:20 +01:00
LICENSE chore: fix license 2024-11-05 16:01:45 +00:00
package.json fix: dev environment restarts 2025-05-26 07:45:20 +01:00
pnpm-lock.yaml chore: some small fixes and native deps config 2025-05-23 18:09:20 +01:00
pnpm-workspace.yaml chore: some small fixes and native deps config 2025-05-23 18:09:20 +01:00
README.md build: testing cache hit 2025-05-23 19:22:46 +01:00
shell.nix build: use pnpm for the deploy 2025-05-23 16:53:04 +01:00
turbo.json fix: dev environment restarts 2025-05-26 07:45:20 +01:00

lamassu-server

Lamassu remote server.

Pull Requests

We do not generally accept outside pull requests for new features. Please consult with us before putting a lot of work into a pull request.

Development

Requirements

  • Nodejs 22
  • PNPM 10+
  • Postgres Database
  • Python 3 (to be deprecated, required by a single dependency installation)
  • OpenSSL (for cert-gen.sh, it will set up the server self-signed certificates)

There's a shell.nix file that you can use to set up your env in case you're a nix user. (most reliable way of installing native deps) There's also a .tool-versions for asdf and mise users.

This project uses Turbo for monorepo management. Install dependencies:

pnpm install

Prepare environment files:

bash packages/server/tools/cert-gen.sh

On packages/server/.env you can alter variables such as the postgres connection info.

After configuring the postgres connection, run:

node packages/server/bin/lamassu-migrate

Start development environment:

If you've already done the setup, you can run:

pnpm run dev

Creating a user

node packages/server/bin/lamassu-register admin@example.com superuser

Pairing a machine

To get the pairing token from the QRCode open the browser console before picking the name of the machine, the token should appear on the terminal. It's also possible to inspect the qrCode, the token is on the data-cy="" attr. Lastly, you can always scan it with a phone and copy the contents over.

Now continue with lamassu-machine instructions from the INSTALL.md file in lamassu-machine repository