Hi, I’m trying to configure a docker wallet-only and connect it to my fullnode in same lan.
I cloned the official docker project which doesn’t support wallet-only mode and I have changed the entrypoint.sh as follows:
wget https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_amd64 -O /usr/bin/yq
chmod +x /usr/bin/yq
echo "Setting timezone to UTC"
ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone
cd /chia-blockchain
. ./activate
chia init
chia keys add -f /keys
chia configure --log-level INFO
chia configure --upnp false
mv /root/.chia/mainnet/config/config.yaml /root/.chia/mainnet/config/config.yaml.old
# replace default full_node_peer var with the remote ip & port in config.yaml
yq -M eval ". | (.wallet.full_node_peer.host |= \"$full_node_address\") | (.wallet.full_node_peer.port |= $full_node_port)" /root/.chia/mainnet/config/config.yaml.old > /root/.chia/mainnet/config/config.yaml
sed -i 's/localhost/127.0.0.1/g' /root/.chia/mainnet/config/config.yaml
chia start wallet-only
while true; do sleep 30; done;
I’have no error during build & run, but when I exec the command “chia wallet show” it’s result not syncing and height stay freezed at 0.
In the log of fullnode I can’t see any error.
The log of the docker show error of sync loop.
I’have tried also init chia with the ca of the fullnode but the problem persist.
Someone has been successful in connecting a wallet to a remote fullnode with the latest version ?