File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,19 @@ The project is based on [Maven](https://maven.apache.org/). To build the project
8888```
8989
9090The tests in the project are working against the Hedera testnet.
91- To run the tests, you need to provide the "DER Encoded Private Key" of the "ECDSA" testnet account in a ` .env ` file in
92- the root of the project. The file should look like this:
91+ To run the tests, you need to provide the account id and the "DER Encoded Private Key" of the "ECDSA" testnet account.
92+ That information can be provided as environemt variables:
93+
94+ ``` shell
95+ export HEDERA_ACCOUNT_ID=0.0.3447271
96+ export HEDERA_PRIVATE_KEY=2130020100312346052b8104400304220420c236508c429395a8180b1230f436d389adc5afaa9145456783b57b2045c6cc37
97+ ```
98+
99+ As an alternative you can define the information in a ` .env ` file in each sub-module that contains tests.
100+ The file should look like this:
93101
94102```
103+ spring.hedera.accountId=0.0.3447271
95104spring.hedera.privateKey=2130020100312346052b8104400304220420c236508c429395a8180b1230f436d389adc5afaa9145456783b57b2045c6cc37
96105```
97106
You can’t perform that action at this time.
0 commit comments