Skip to content

Commit

Permalink
fix: Readme.md with payments info (#901)
Browse files Browse the repository at this point in the history
* fix: Document payments_settings.yaml

* feat: payment_settings.yaml always distributed. No need to copy sample file
  • Loading branch information
x1m3 authored Jan 27, 2025
1 parent 8c852db commit b8cc99f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .env-issuer.sample
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ ISSUER_RESOLVER_FILE=
ISSUER_UNIVERSAL_LINKS_BASE_URL=https://wallet.privado.id

#Payments configuration
# ISSUER_PAYMENTS_SETTINGS_PATH is the configutation file for payments.
# ISSUER_PAYMENTS_SETTINGS_PATH is the configuration file for payments.
# You can use another file by specifying the path. Be Sure to the file is mounted in the container (docker compose files)
ISSUER_PAYMENTS_SETTINGS_PATH=./payment_settings.yaml
#

#if you want, you can specify the content of the payments configuration encoded in base64. In this case ISSUER_PAYMENTS_SETTINGS_PATH have to be empty
ISSUER_PAYMENTS_SETTINGS_FILE=
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ bin/
.env-issuer
.env-ui
resolvers_settings.yaml
payment_settings.yaml

infrastructure/local/.vault/data
infrastructure/local/.vault/plugins
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,12 @@ bd7b69984f1c privadoid/issuernode-api "sh -c './migrate &&…" 38 sec
a4a1d3ec9159 redis:6-alpine "docker-entrypoint.s…" 38 seconds ago Up 36 seconds (healthy) 6379/tcp issuer-redis-1
```


5. Import your Ethereum private key

```shell
make private_key=<private-key> import-private-key-to-kms
```

**_TODO_**: Add section to configure payments

then visit:
* http://localhost:8088/ to access the UI (default username / password are: user-ui, password-ui). You can set them using env [vars](.env-ui.sample).
* <PUBLICLY_ACCESSIBLE_URL_POINTING_TO_ISSUER_SERVER_PORT>:3001/ to access the API. (default username / password are: user-issuer, password-issuer)
Expand Down Expand Up @@ -144,7 +141,6 @@ then modify the file with the proper values. The most important fields to run th
In this file you can define customizations for each type of blockchain and network. For this example, we only need to
define the RPCs. that will use.

**_TODO_**: Add section to configure payments****

4. Copy .env-ui sample file and fill the needed env variables:

Expand Down Expand Up @@ -176,7 +172,6 @@ action the given account has to be funded. For Amoy network you can request some
make private_key=<private-key> import-private-key-to-kms
```


### Running only Issuer Node API (docker compose and build from source)

If you want to run only the API, you can follow the steps below. You have to have the .env-issuer file filled with
Expand Down
File renamed without changes.

0 comments on commit b8cc99f

Please sign in to comment.