From 4f458be1c43331f639e1259bc89bf6d39695eede Mon Sep 17 00:00:00 2001 From: sad7hana Date: Wed, 31 Jan 2024 12:03:02 +0530 Subject: [PATCH] noraml commit --- src/main/java/org/web3j/sample/Application.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/web3j/sample/Application.java b/src/main/java/org/web3j/sample/Application.java index 5abb0f6..687e5b4 100644 --- a/src/main/java/org/web3j/sample/Application.java +++ b/src/main/java/org/web3j/sample/Application.java @@ -61,11 +61,7 @@ private void run() throws Exception { // We then need to load our Ethereum wallet file // FIXME: Generate a new wallet file using the web3j command line tools https://docs.web3j.io/command_line.html - Credentials credentials = - WalletUtils.loadCredentials( - "", - "/path/to/"); - log.info("Credentials loaded"); + // FIXME: Request some Ether for the Rinkeby test network at https://www.rinkeby.io/#faucet log.info("Sending 1 Wei (" @@ -103,11 +99,6 @@ private void run() throws Exception { // contract to the blockchain. Index events cannot be logged in their entirety. // For Strings and arrays, the hash of values is provided, not the original value. // For further information, refer to https://docs.web3j.io/filters.html#filters-and-events - for (Greeter.ModifiedEventResponse event : contract.getModifiedEvents(transactionReceipt)) { - log.info("Modify event fired, previous value: " + event.oldGreeting - + ", new value: " + event.newGreeting); - log.info("Indexed event previous value: " + Numeric.toHexString(event.oldGreetingIdx) - + ", new value: " + Numeric.toHexString(event.newGreetingIdx)); - } + } }