Skip to content

Commit 00140b5

Browse files
Simi Hunjangitbook-bot
authored andcommitted
update token example Java
1 parent 963689b commit 00140b5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

getting-started-hedera-native-developers/create-a-token.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Create a new **Maven** project and name it `HederaExamples`. Add the following d
9090
</dependencies>
9191
```
9292

93-
Or for **Gradle** projects, add these dependencies to your `build.gradle` file:
93+
Or for **Gradle** projects using the Groovy DSL, add these dependencies to your `build.gradle` file and install the dependencies using `./gradlew build`
9494

9595
```gradle
9696
plugins {
@@ -124,6 +124,7 @@ import java.net.http.HttpResponse;
124124
import java.net.URI;
125125
import com.google.gson.Gson;
126126
import com.google.gson.JsonObject;
127+
import com.google.gson.JsonArray;
127128

128129
public class CreateTokenDemo {
129130
public static void main(String[] args ) throws Exception {
@@ -165,7 +166,7 @@ go mod tidy
165166

166167
## Environment Variables
167168

168-
Set your operator credentials as environment variables:
169+
Set your operator credentials as environment variables. Your `OPERATOR_ID` is your testnet account ID. Your `OPERATOR_KEY` is your testnet account's corresponding ECDSA private key.
169170

170171
```bash
171172
export OPERATOR_ID="0.0.1234"
@@ -176,7 +177,7 @@ export OPERATOR_KEY="3030020100300506032b657004220420..."
176177

177178
## Step 1: Initialize Hedera client
178179

179-
Load your operator credentials from environment variables and initialize your Hedera testnet client. This client will connect to the network and use your operator account to sign transactions and pay fees.
180+
Load your operator credentials from environment variables and initialize your Hedera testnet client. This client will connect to the Hedera test network and use your operator account to sign transactions and pay transaction fees.
180181

181182
{% tabs %}
182183
{% tab title="JavaScript" %}

0 commit comments

Comments
 (0)