{"id":16165218,"url":"https://github.com/massmux/nutshell-docker","last_synced_at":"2025-07-01T03:40:34.321Z","repository":{"id":204907872,"uuid":"712937926","full_name":"massmux/nutshell-docker","owner":"massmux","description":"Nutshell Cashu Docker setup with PostgreSQL","archived":false,"fork":false,"pushed_at":"2024-02-17T06:24:05.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T20:40:25.972Z","etag":null,"topics":["cashu","chaumian","ecash","lightning","nutshell"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/massmux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-01T14:10:52.000Z","updated_at":"2024-08-18T18:53:21.000Z","dependencies_parsed_at":"2024-02-17T07:27:54.335Z","dependency_job_id":"5b2b0f78-62c9-4482-8ffe-d2b887a9f68a","html_url":"https://github.com/massmux/nutshell-docker","commit_stats":null,"previous_names":["massmux/nutshell-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/massmux/nutshell-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massmux%2Fnutshell-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massmux%2Fnutshell-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massmux%2Fnutshell-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massmux%2Fnutshell-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/massmux","download_url":"https://codeload.github.com/massmux/nutshell-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massmux%2Fnutshell-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262891291,"owners_count":23380596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cashu","chaumian","ecash","lightning","nutshell"],"created_at":"2024-10-10T02:49:30.020Z","updated_at":"2025-07-01T03:40:34.285Z","avatar_url":"https://github.com/massmux.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cashu Nutshell Docker\n\n**Cashu Nutshell is a Chaumian Ecash wallet and mint for Bitcoin Lightning. Cashu Nutshell is the reference implementation in Python.**\n\nThis is a full docker setup for [nutshell](https://github.com/cashubtc/nutshell) by Calle\n\nCashu is an Ecash implementation based on David Wagner's variant of Chaumian blinding ([protocol specs](https://github.com/cashubtc/nuts)). Token logic based on [minicash](https://github.com/phyro/minicash) ([description](https://gist.github.com/phyro/935badc682057f418842c72961cf096c)) which implements a [Blind Diffie-Hellman Key Exchange](https://cypherpunks.venona.com/date/1996/03/msg01848.html) scheme written down [here](https://gist.github.com/RubenSomsen/be7a4760dd4596d06963d67baf140406). The database mechanics in Cashu Nutshell and the Lightning backend uses parts from [LNbits](https://github.com/lnbits/lnbits-legend).\n\nThe goal of this repo is to provide a full Dockerized cashu mint, with postreSQL easy to setup and run. This is based on a Lnbits funding source that must be specified inside the .env configuration file.\n\n## Install and run\n\nThis will run a nutshell system with postgreSQL included.\n\nFirst step is to get image from dockerhub\n\n```\ndocker pull massmux/nutshell:0.15.0\n```\n\n- configure the .env file (use the .env.example provided)\n- configure the docker-compose.yml file to define postgreSQL password\n\nMinimal parameters to configure in .env\n\n- mint private key\n- funding Lnbits wallet details\n- mint description\n- cashu PostgreSQL database password to match with details in docker-compose.yml\n\nMinimal parameters to configure in docker-compose.yml\n\n- cashu PostgreSQL database password\n\nIf needed a different version, specify the image version in docker-compose.yml\n\nRun\n\n```\ncd nutshell-docker\ndocker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassmux%2Fnutshell-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmassmux%2Fnutshell-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassmux%2Fnutshell-docker/lists"}