From bb933dcd694aef8a3856c37c35978916a869ac9d Mon Sep 17 00:00:00 2001 From: James Date: Fri, 18 Jan 2019 09:55:05 +0100 Subject: [PATCH] Update ports for mainnet in API doc (#2406) --- doc/api/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/api.md b/doc/api/api.md index 3de9f8806..6facdea4a 100644 --- a/doc/api/api.md +++ b/doc/api/api.md @@ -12,11 +12,11 @@ To learn about what specific calls can be made read the [node API doc](node_api. ### Foreign Wallet API -The foreign API is an endpoint mainly designed to receiving grins through a network. This REST API can be started with the `grin wallet listen` command and by default will listen on `localhost:13415`. +The foreign API is an endpoint mainly designed to receiving grins through a network. This REST API can be started with the `grin wallet listen` command and by default will listen on `localhost:3415`. To learn about what specific calls can be made read the [wallet foreign API doc](wallet_foreign_api.md). ### Wallet Owner API -The wallet owner API is an endpoint to manage the user wallet: broadcast transaction, sign transaction, see the current balance... This REST API can be started with the `grin wallet owner_api` command and will listen on `localhost:13420`. This endpoint must **never** be exposed to the outside world. +The wallet owner API is an endpoint to manage the user wallet: broadcast transaction, sign transaction, see the current balance... This REST API can be started with the `grin wallet owner_api` command and will listen on `localhost:3420`. This endpoint must **never** be exposed to the outside world. This endpoint requires, by default, Basic Authentication. The username is `grin` and the password can be found in the `.api_secret` file. To learn about what specific calls can be made read the [wallet owner API doc](wallet_owner_api.md).