Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ketola committed Aug 25, 2021
1 parent fbd812e commit 158f11a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class BatchRequestExample {
private static final Logger logger = LoggerFactory.getLogger(BatchRequestExample.class);

public static void main(String[] args) throws Exception {
String address = "346ab4c79c27dd7596dbf26cbab8be6b";
String address = "79153273a34e0aadf26c963367973760";

DiemClient client = DiemClient.builder()
.withUrl("https://testnet.diem.com/v1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class GetAccountStateExample {
private static final Logger logger = LoggerFactory.getLogger(GetAccountStateExample.class);

public static void main(String[] args) throws Exception {
String address = "b3f7e8e38f8c8393f281a2f0792a2849";
String address = "79153273a34e0aadf26c963367973760";

DiemClient client = DiemClient.builder()
.withUrl("https://testnet.diem.com/v1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class GetAccountTransactionBySequenceNumberExample {
private static final Logger logger = LoggerFactory.getLogger(GetAccountTransactionBySequenceNumberExample.class);

public static void main(String[] args) {
String address = "c1e431460cae9772400fcd254e3cf912";
String address = "9ed85589fb5617a18521636181a12b88";
int sequenceNumber = 0;

DiemClient client = DiemClient.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class GetAccountTransactionsExample {
private static final Logger logger = LoggerFactory.getLogger(GetAccountTransactionsExample.class);

public static void main(String[] args) {
String address = "c1e431460cae9772400fcd254e3cf912";
String address = "9ed85589fb5617a18521636181a12b88";

DiemClient client = DiemClient.builder()
.withUrl("https://testnet.diem.com/v1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class MintExample {

public static void main(String[] args) {
AuthenticationKey authenticationKey = AuthenticationKey
.fromHexString("c0c19d6b1d48371ea28f0cdc5f74bba7b3f7e8e38f8c8393f281a2f0792a2849");
.fromHexString("8f30171675008e598af4d57c159dad7240fc2800a33e1790730244ab931630a2");

Faucet faucet = Faucet.builder().build();
faucet.mint(authenticationKey, 100L * 1_000_000L, CURRENCY);
Expand Down

0 comments on commit 158f11a

Please sign in to comment.