Skip to content

Commit 7eafa4c

Browse files
committed
release script
1 parent 445c564 commit 7eafa4c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,19 @@ The project is based on [Maven](https://maven.apache.org/). To build the project
8888
```
8989

9090
The 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
95104
spring.hedera.privateKey=2130020100312346052b8104400304220420c236508c429395a8180b1230f436d389adc5afaa9145456783b57b2045c6cc37
96105
```
97106

0 commit comments

Comments
 (0)