Lana is a Bitcoin-backed lending platform that enables financial institutions of all sizes to offer fiat loans secured by Bitcoin collateral. Designed for easy integration, Lana streamlines the complex operational workflows associated with loan origination, collateral management, and liquidation.
- Rapid Deployment – Reduce time to market from months to weeks with Lana's modular architecture
- Loan Origination & Management – Automate loan creation, fee collection, and margin call management
- Seamless Banking Integration – Works with existing core banking systems, custodians, and regulatory frameworks
- Security-First Design – Adheres to industry security standards and best practices
- Source Code Auditable – Under Fair Source License
For enterprise inquiries, contact [email protected]
- Recommended install method using https://github.com/DeterminateSystems/nix-installer
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
- Recommended install method from https://direnv.net/docs/installation.html:
curl -sfL https://direnv.net/install.sh | bash echo "eval \"\$(direnv hook bash)\"" >> ~/.bashrc source ~/.bashrc
- Choose the install method for your system https://docs.docker.com/desktop/
Set them in your .env file
-
DATA_PIPELINE=true: Enable data pipeline features (Meltano, Airflow) -
DAGSTER=true: Enables the local dagster deployment. -
TF_VAR_sa_creds: Service account credentials into GCP (BigQuery & Documents access) -
SUMSUB_KEY: SumSub API key for identity verification -
SUMSUB_SECRET: SumSub API secret for identity verification -
HONEYCOMB_KEY: Honeycomb Ingest API key for tracing -
TF_VAR_honeycomb_api_key: Honeycomb Configuration API key for dashboards
make dev-up # Start the development stack
make dev-down # Stop the development stack- SMTP Server: Available at
localhost:1025 - Web Interface: Available at http://localhost:1080
After bringing the development stack up, you can access the following services:
| Service | URL | Notes |
|---|---|---|
| Admin Panel | http://admin.localhost:4455 | Admin panel for managing the platform |
| Customer Portal | http://app.localhost:4455 | App for customers to see their data |
- Open Admin Panel in your browser
- Use email
[email protected]to log in - You're in!
- Create customer from Admin Panel
- Open Customer Portal in a separate browser (or incognito mode)
- Use the customer email to try and login
- Get the login code by running
make get-customer-login-code [email protected] - You're in!
If you see a cookie error, delete the cookie and reload the page (but this should not happen if you're using separate browsers)
You might need to add these entries in your /etc/hosts file for authentication to work correctly on the customer portal:
127.0.0.1 app.localhost
::1 app.localhost
- Simply visit
http://localhost:3000.
make reset-deps next-watchmake e2emake dev-up # launch the full stack
# In a different terminal with tilt running:
cd apps/admin-panel && pnpm run cypress:run-ui # or run-headlessWe use BigQuery for analytics and reporting. To set up the BigQuery tables, you need to have the TF_VAR_sa_creds environment variable set to the service account credentials.
Authenticate with Google Cloud SDK
gcloud auth application-default login
Verify access
gcloud auth application-default print-access-token
Commands to re-run when adding new BQ tables
git checkout pre-merged-commit
# this is important to have the previous state before pulling
make reset-deps
git pull
make init-bq
If you are doing work that requires adding a new big query table you need to add it to ./tf/bq-setup/bq.tf
We use Honeycomb for observability and tracing. To set up dashboards locally:
Set your Honeycomb API key TF_VAR_honeycomb_api_key in your .env.
Note: this needs to be a Configuration API Keys, not an Ingest API Keys
make honeycomb-init # Initialize OpenTofu
make honeycomb-plan # Preview changes
make honeycomb-apply # Create dashboards