You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/express/EXTERNAL_SIGNER.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,9 +60,14 @@ An example is provided in the file. To run the file, use the command:
60
60
yarn ts-node <path/to/fetchEncryptedPrivKeys.ts>
61
61
```
62
62
63
-
### Wallet passphrase environment variable
63
+
### Wallet passphrase
64
+
In order for the external signer instance of BitGo Express to decrypt the private key, the wallet passphrase is required. This can be supplied by one of the below methods.
64
65
65
-
In order for the external signer instance of BitGo Express to decrypt the private key, the wallet passphrase must be set as an environment variable in the format `WALLET_<walletId>_PASSPHRASE`. Note that the wallet passphrase must be set for each wallet.
66
+
#### Sending as a body parameter (recommended)
67
+
Set the parameter `walletPassphrase: <YOUR_WALLET_PASSPHRASE>` (without <>) in POST requests to the endpoint `/api/v2/ofc/signPayload`.
68
+
69
+
#### Set as environment variable
70
+
Set as an environment variable in the format `WALLET_<walletId>_PASSPHRASE`. Note that the wallet passphrase must be set for each wallet.
66
71
The environment variable can be set using `export`. For example, the wallet passphrases for the private keys above can be set with the following:
0 commit comments