🙂🙂 GRIN wallet713 setup on Docker

Here is the easiest tutorial to have a running GRIN cryptocurrency wallet with Wallet713, you just need Docker and a computer with internet connection.

grin

In an empty directory put a Dockerfile like this:

# Multistage docker build, requires docker 17.05

# builder stage
FROM rust:1.31 as builder

RUN set -ex && \
    apt-get update && \
    apt-get --no-install-recommends --yes install \
    clang \
    libclang-dev \
    llvm-dev \
    libncurses5 \
    libncursesw5 \
    cmake \
    git

WORKDIR /usr/src

# Building grin wallet713
RUN git clone https://github.com/vault713/wallet713 && \
    cd wallet713 && \
    cargo build --release

# runtime stage
FROM debian:9

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales openssl ca-certificates

RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
    dpkg-reconfigure --frontend=noninteractive locales && \
    update-locale LANG=en_US.UTF-8

ENV LANG en_US.UTF-8

COPY --from=builder /usr/src/wallet713/target/release/wallet713 /usr/local/bin/wallet713

WORKDIR /

EXPOSE 13413 13414 13415 13416 13417 13418 13419 13420

Build the Wallet713 image

docker build -t my/wallet713 .

Run the Wallet713 image

docker run --rm --name wallet713 -ti -v $PWD/data:/root/.wallet713 my/wallet713 wallet713

Congratulation! No you can run all the wallet713 commands

wallet713>

You can try initfor a new address or listen to listen for incoming transactions

Remove the container

docker rm -f wallet713

The important data will still be available in the data directory

UPDATE

wallet713 do not accept the tx via ip address, but if you use the file tx mode both wallets can transact.

If you liked the post you can make a donation to the GRIN address gVuF8E2wCqdAHHKg8oWVf4WJbPF7qFEZ6DKSwcXxVVYMQEFQhaTe, thanks!

H2
H3
H4
3 columns
2 columns
1 column
2 Comments