go-crypto-wallet
go-crypto-wallet copied to clipboard
Error --- bitcoind on Ubuntu 20.04
We faced this below issue. Let me know how to resolve this issue.
E: Unable to locate package bitcoind ERROR: Service 'btc-watch' failed to build
I switched docker image for bitcoind to https://hub.docker.com/r/lncm/bitcoind For now, no deeds to build anymore. Thanks for telling me :)
Is it possible to run this [go-crypto-wallet] without docker installation.
application depends on database and blockchain node like btc, eth. But I'm thinking to develop mock node for unittest.
Hi,
Thanks for your reply and support.
As I had deployed the container but unfortunately few containers are not exec and I can't able to sh into it.

I had attached the reference screenshot.
It may be timing issue because I pushed wrong code and tweaked later. Could you pull latest code and rebuild container again? Please compare latest code to your local compose file.
HI,
Yeah, I have done the new build as well but still, some containers are not up. could you please let us know? Even I tried your local docker-compose.yml file it showed some errors.
- git source.
- local code.
2
1

I had attached the screenshots kindly review them and give us your feedback
Could you tell me compose logs of containers which exited?
try bitcoind container one by one.
rm -rf docker/nodes/btc/data1
docker compose up btc-watch
I can't find any container logs since the container is not even running so it's hard to take the log of that container
I had attached the screenshot below for the container of lncm/bitcoind:v22.0

I'm getting below error if I start
docker compose up btc-watch
removing any data to initialize would be solution by rm -rf docker/nodes/btc/data1 before running.
I had done it it's still same error
Please remove any containers completely before running.
Even if you still face error, I'm using testnet always then I don't have any problem.
Copy bitcoin.conf into dataX directory according to comments of docker-compose.yml
I had done the changes as you said & I had checked with your last commit as well.
But unfortunately, It's not working
FYI: I had truncated all the images and containers before I deploy the containers every time.
-
Running container's

-
Container deployed

It would be environmental issue. I'm using it on
MacOS 10.15.7,
Docker version 20.10.12, build e91ed57
running on testnet
I don't know how it works on other OS or docker version
But error looks permission problem to write files or directory. could you check data directory mounted?
My environment I'm using
Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal
Docker :
Docker version 20.10.12, build e91ed57
Docker composer :
docker-compose version 1.29.2, build 5becea4c
Okay I will check with docker-compose.yml file and will get back to you
Hello I'm new in this will help me how i start ??
@manali1903 Could you read documentation?
@hiromaily I read it, but nothing works and gives me errors.
@manali1903 Please note your environment and error
the config file should be passed

I need to tweak configurations for ethereum The Merge. Give me some time to do that.
@manali1903 result looks you didn't set any environment variables. What environment variables are .envrc
It is mentioned at number 4 in https://github.com/hiromaily/go-crypto-wallet/blob/master/docs/Installation.md#common-setup
@hiromaily I already set that path i didn't change in .envrc file
@manali1903 Your error message occurred at https://github.com/hiromaily/go-crypto-wallet/blob/b13754532427661a76284647b248b9bfa218f549/pkg/account/toml.go#L29
This means toml config file for configuration is not found. Reasons would be
- environment variables are not set
- file is not existing
What happens by command echo $ETH_WATCH_WALLET_CONF ??
@hiromaily
Hello Still give me the same error of the config file...


@manali1903
just add -conf argument with config path.
For example keygen -conf <full_path>eth_keygen.toml
