{"id":16193535,"url":"https://github.com/pyramation/denarius-docker","last_synced_at":"2025-04-07T15:19:21.987Z","repository":{"id":66351071,"uuid":"118857932","full_name":"pyramation/denarius-docker","owner":"pyramation","description":"docker based denarius wallet w local persistent data dir","archived":false,"fork":false,"pushed_at":"2018-01-25T05:32:38.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T02:03:51.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pyramation.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,"publiccode":null,"codemeta":null}},"created_at":"2018-01-25T03:38:13.000Z","updated_at":"2018-01-25T04:40:21.000Z","dependencies_parsed_at":"2023-02-21T16:00:14.895Z","dependency_job_id":null,"html_url":"https://github.com/pyramation/denarius-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fdenarius-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fdenarius-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fdenarius-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fdenarius-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyramation","download_url":"https://codeload.github.com/pyramation/denarius-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675598,"owners_count":20977378,"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":[],"created_at":"2024-10-10T08:15:17.374Z","updated_at":"2025-04-07T15:19:21.956Z","avatar_url":"https://github.com/pyramation.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-based denarius wallet\n\nThis image provides `denariusd` via docker while mounting a local folder for the denarius `data-dir` to keep blockchain and wallet info on your host machine.\n\n## usage\n\n### build the image\n\n```sh\nmake\n```\n\n### run it\n\n```sh\nmake run\n```\n\nor if you want to use `docker` manually:\n\n```sh\ndocker run -v `pwd`/denarius-data:/root/.denarius -w /denarius/src -i -t pyramation/denarius bash\n```\n\n### start `denariusd`\n\n```sh\ncd /denarius/src\n./denariusd\n```\n\nIt will give you a prompt to edit the `denarius.conf` in the data dir. Copy and paste the credentials it gives you. Edit `denarius-data/denarius.conf`, or if you're inside the docker container, you can edit `/root/.denarius/denarius.conf` using `vim`:\n\n```sh\nrpcuser=denariusrpc\nrpcpassword=\u003csomelongpassword\u003e\n```\n\n### now you'll need to restart `denariusd`\n\n```sh\n./denarius\n```\n\n### now, open another shell\n\nLeaving that other shell running, `ssh` into the existing container. You can get the container id like so\n\n```sh\n$ docker ps\nCONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS              PORTS               NAMES\nd173377e3757        pyramation/denarius   \"bash\"              5 minutes ago       Up 5 minutes                            dazzling_booth\n```\n\nNow jump inside with the `exec` command:\n\n```sh\ndocker exec -ti d173377e3757 /bin/bash\n```\n\n### now, run `denariusd` commands\n\n```sh\n./denariusd help\n```\n\n### managing your wallet\n\nThe data directory will end up on your host machine in a folder called `denarius-data`\n\n# helpful tips\n\n### encrypt your wallet\n\n```sh\n$ ./denariusd encryptwallet \u003csuperstrongpassword\u003e\n```\n\n### get your address\n\n```sh\n$ ./denariusd getaccountaddress 0\nDKhWkqMvpWBEL4D9RNtLxMvKDgCh8d32uN\n```\n\n### (carefully) get your private key\n\n```sh\n./denariusd dumpprivkey DKhWkqMvpWBEL4D9RNtLxMvKDgCh8d32uN\n```\n\n### importing your paper wallet (or from private key)\n\n```sh\n./denariusd importprivkey \u003cyourSuperPrivateKey\u003e \u003clabel\u003e\n```\n\n## Trouble Shooting\n\nIf you are not sure if something is working, maybe you haven't fully sync'd with the network. A tip is to look at your data dir and also you can tail the log to see if it's pulling down the blockchain:\n\nYou can check the size of the `blk0001.dat` and the `txleveldb` as they grow:\n\n```\nroot at 955f6129828c in /denarius/src on master*\n$ du -sh ~/.denarius/*\n6.7M\t/root/.denarius/blk0001.dat\n10M\t/root/.denarius/database\n0\t/root/.denarius/db.log\n3.9M\t/root/.denarius/debug.log\n4.0K\t/root/.denarius/denarius.conf\n60K\t/root/.denarius/peers.dat\n4.0K\t/root/.denarius/smsg.ini\n400K\t/root/.denarius/smsgDB\n8.3M\t/root/.denarius/txleveldb\n68K\t/root/.denarius/wallet.dat\n```\n\nAlso `tail -f debug.log` will show you that it's downloading the blockchain:\n\n```\nreceived block 0000000006b0f74936f7\nSetBestChain: new best=0000000006b0f74936f7  height=24753  trust=3701284023190831  blocktrust=130970706072  date=06/28/17 06:42:16\nProcessBlock: ACCEPTED\nreceived block 00000000047778b35e39\nSetBestChain: new best=00000000047778b35e39  height=24754  trust=3701519770547460  blocktrust=235747356629  date=06/28/17 06:43:20\nProcessBlock: ACCEPTED\nreceived block 0000000005cbcd418b1d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyramation%2Fdenarius-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyramation%2Fdenarius-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyramation%2Fdenarius-docker/lists"}