Sign inSign up

omisego/ewallet

By omisego

Updated almost 6 years ago

eWallet Backend for the OmiseGO SDKs

Image
0

100K+

omisego/ewallet repository overview

Supported tags

For anything that resembles production environment, it’s recommended to pin the image to specific commit tag. You can retrieve this commit IDs from GitHub.

Quick reference

About OmiseGO eWallet

The OmiseGO eWallet is an application that serve as a base for OmiseGO eWallet server. All the eWallets will then become a federated network forming the top layer of the OMG network, allowing the exchange of any currency into any other in a transparent way.

The OmiseGO eWallet and SDKs are still under heavy development, and therefore things might break or change suddenly. We are moving fast, and until the official release, we'd like to keep it that way. Please do not expect to find anything related to blockchain integration yet. It will come, when it's ready.

How to use this image

Assuming PostgreSQL is already setup, OmiseGO eWallet server can be deployed using the following command:

$ docker run \
    -e DATABASE_URL="postgresql://[email protected]:5432/ewallet" \
    -e LOCAL_LEDGER_DATABASE_URL="postgresql://[email protected]:5432/local_ledger" \
    -p 4000:4000 \
    omisego/ewallet:latest

It is important to understand that the eWallet actually connects to two different databases. The first one, the local ledger database, is only used to store transactions, making it easier for audits and comply with legal requirement in some jurisdiction. The second one contains everything else.

After running the image, you will also have to perform migration:

$ docker exec <container-id> mix do ecto.create, ecto.migrate

Tag summary

Content type

Image

Digest

Size

122.7 MB

Last updated

almost 6 years ago

docker pull omisego/ewallet:4eb67bd0