🙂🙂 GRIN wallet713 setup on Docker

in #grin7 years ago (edited)

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!

Sort:  

Thanks for the instructions... Really great. :-)

Greetings
Bob

Hi @luigi-tecnologo!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 2.822 which ranks you at #12460 across all Steem accounts.
Your rank has dropped 4 places in the last three days (old rank 12456).

In our last Algorithmic Curation Round, consisting of 220 contributions, your post is ranked at #174.

Evaluation of your UA score:
  • Only a few people are following you, try to convince more people with good work.
  • You have already convinced some users to vote for your post, keep trying!
  • Try to work on user engagement: the more people that interact with you via the comments, the higher your UA score!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.10
TRX 0.32
JST 0.033
BTC 111013.43
ETH 4036.28
USDT 1.00
SBD 0.61