diff --git a/web3j-ext/README.md b/web3j-ext/README.md
index a08b7020a..73fbb8e51 100644
--- a/web3j-ext/README.md
+++ b/web3j-ext/README.md
@@ -1,4 +1,4 @@
-# Web3j extension for Klaytn
+# Web3j extension for Kaia
## Requirements
### Setting Java
@@ -6,19 +6,19 @@
- Visit https://adoptopenjdk.net/ site
- Download OpenJDK
-## Install Web3j Klaytn extension
+## Install Web3j Kaia extension
To add the [Gradle Library](https://docs.gradle.org/current/userguide/getting_started.html) to your project:
```shell
repositories {
- mavenCentral()
+ mavenCentral()
}
dependencies {
- implementation "foundation.klaytn:web3j-ext:v0.9.3"
- implementation "foundation.klaytn:web3rpc-java:v0.9.0"
- implementation "org.web3j:core:4.9.8"
+ implementation "foundation.klaytn:web3j-ext:v0.9.3"
+ implementation "foundation.klaytn:web3rpc-java:v0.9.0"
+ implementation "org.web3j:core:4.9.8"
}
````
## Usage
@@ -28,17 +28,17 @@ See [example](./web3j-ext/src/main/java/org/web3j/example).
For basic web3j usage, you can learn through [Web3j tutorial](https://docs.web3j.io/4.10.0/quickstart/) .
### Send Fee Delegated Transaction on Baobab Test network
-If you want to know more about the concept of fee delegated transaction supported by Klaytn network, please refer to [Klaytn docs](https://docs.klaytn.foundation/content/klaytn/design/transactions).
+If you want to know more about the concept of fee delegated transaction supported by Kaia network, please refer to [Kaia docs](https://docs.klaytn.foundation/content/klaytn/design/transactions).
-Check FeeDelegatedValueTransferExample.java file in web3j-ext [examples](https://github.com/klaytn/web3klaytn/tree/dev/web3j-ext/web3j-ext/src/main/java/org/web3j/example).
+Check FeeDelegatedValueTransferExample.java file in web3j-ext [examples](https://github.com/kaiachain/kaia-sdk/tree/dev/web3j-ext/web3j-ext/src/main/java/org/web3j/example).
```file
package org.web3j.example;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeValueTransfer;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -46,17 +46,17 @@ import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class FeeDelegatedValueTransferExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -70,7 +70,7 @@ public class FeeDelegatedValueTransferExample implements keySample {
TxType.Type type = Type.FEE_DELEGATED_VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -80,10 +80,10 @@ public class FeeDelegatedValueTransferExample implements keySample {
from);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -98,13 +98,13 @@ public class FeeDelegatedValueTransferExample implements keySample {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedValueTransfer rawTransaction = TxTypeFeeDelegatedValueTransfer
.decodeFromRawTransaction(hexValue);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
````
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayCredentials.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaCredentials.java
similarity index 73%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayCredentials.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaCredentials.java
index 7c1a3f8d8..1a5ee7ba8 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayCredentials.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaCredentials.java
@@ -23,11 +23,11 @@
import org.web3j.utils.Numeric;
import org.web3j.utils.Strings;
-public class KlayCredentials {
+public class KaiaCredentials {
private final ECKeyPair ecKeyPair;
private final String address;
- private KlayCredentials(ECKeyPair ecKeyPair, String address) {
+ private KaiaCredentials(ECKeyPair ecKeyPair, String address) {
this.ecKeyPair = ecKeyPair;
this.address = !Strings.isEmpty(address) ? Numeric.toHexStringWithPrefixZeroPadded(Numeric.toBigInt(address), 40) : "";
}
@@ -41,38 +41,38 @@ public String getAddress() {
}
/**
- * Static method for creating KlayCredentials instance
+ * Static method for creating KaiaCredentials instance
* Use address extracted from private key
*
* @param privateKey private key for transaction signing
- * @return KlayCredentials
+ * @return KaiaCredentials
*/
- public static KlayCredentials create(String privateKey) {
+ public static KaiaCredentials create(String privateKey) {
ECKeyPair ecKeyPair = ECKeyPair.create(Numeric.toBigInt(privateKey));
String address = Numeric.prependHexPrefix(Keys.getAddress(ecKeyPair));
return create(ecKeyPair, address);
}
/**
- * Static method for creating KlayCredentials instance
+ * Static method for creating KaiaCredentials instance
* Use address extracted from private key
*
* @param ecKeyPair ecKeyPair for transaction signing
- * @return KlayCredentials
+ * @return KaiaCredentials
*/
- public static KlayCredentials create(ECKeyPair ecKeyPair) {
+ public static KaiaCredentials create(ECKeyPair ecKeyPair) {
String address = Numeric.prependHexPrefix(Keys.getAddress(ecKeyPair));
return create(ecKeyPair, address);
}
/**
- * Static method for creating KlayCredentials instance
+ * Static method for creating KaiaCredentials instance
*
* @param privateKey private key for transaction signing
* @param address address of account
- * @return KlayCredentials
+ * @return KaiaCredentials
*/
- public static KlayCredentials create(String privateKey, String address) {
+ public static KaiaCredentials create(String privateKey, String address) {
return create(ECKeyPair.create(Numeric.toBigInt(privateKey)), Numeric.prependHexPrefix(address));
}
@@ -95,20 +95,20 @@ public static boolean isDeCoupled(String privKey, String address) {
/**
- * Static method for creating KlayCredentials instance
+ * Static method for creating KaiaCredentials instance
*
* @param ecKeyPair ecKeyPair for transaction signing
* @param address address of account
- * @return KlayCredentials
+ * @return KaiaCredentials
*/
- public static KlayCredentials create(ECKeyPair ecKeyPair, String address) {
- return new KlayCredentials(ecKeyPair, address);
+ public static KaiaCredentials create(ECKeyPair ecKeyPair, String address) {
+ return new KaiaCredentials(ecKeyPair, address);
}
- public static KlayCredentials createWithKlaytnWalletKey(String klaytnWalletKey) {
- klaytnWalletKey = Numeric.cleanHexPrefix(klaytnWalletKey);
- String privateKey = klaytnWalletKey.substring(0, 64);
- String address = klaytnWalletKey.substring(68);
+ public static KaiaCredentials createWithKaiaWalletKey(String kaiaWalletKey) {
+ kaiaWalletKey = Numeric.cleanHexPrefix(kaiaWalletKey);
+ String privateKey = kaiaWalletKey.substring(0, 64);
+ String address = kaiaWalletKey.substring(68);
return create(privateKey, address);
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayRawTransaction.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaRawTransaction.java
similarity index 88%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayRawTransaction.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaRawTransaction.java
index fc19216ff..0f889835b 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayRawTransaction.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaRawTransaction.java
@@ -16,7 +16,7 @@
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.crypto.transaction.account.AccountKey;
import org.web3j.crypto.transaction.type.ITransaction;
import org.web3j.crypto.transaction.type.TxType;
@@ -57,33 +57,33 @@
* yellow
* paper.
*/
-public class KlayRawTransaction extends RawTransaction {
+public class KaiaRawTransaction extends RawTransaction {
private byte[] value;
- private Set signatureData;
+ private Set signatureData;
- public KlayRawTransaction(ITransaction transaction, Set signatureData) {
+ public KaiaRawTransaction(ITransaction transaction, Set signatureData) {
super(transaction);
this.signatureData = signatureData;
}
- public KlayRawTransaction(ITransaction transaction, KlaySignatureData signatureData) {
+ public KaiaRawTransaction(ITransaction transaction, KaiaSignatureData signatureData) {
super(transaction);
this.signatureData = new HashSet<>(Arrays.asList(signatureData));
}
- public KlayRawTransaction(ITransaction transaction, byte[] value, Set signatureData) {
+ public KaiaRawTransaction(ITransaction transaction, byte[] value, Set signatureData) {
super(transaction);
this.value = value;
this.signatureData = signatureData;
}
- public KlayRawTransaction(ITransaction transaction, byte[] value, KlaySignatureData signatureData) {
+ public KaiaRawTransaction(ITransaction transaction, byte[] value, KaiaSignatureData signatureData) {
super(transaction);
this.value = value;
this.signatureData = new HashSet<>(Arrays.asList(signatureData));
}
- public KlaySignatureData getSignatureData() {
+ public KaiaSignatureData getSignatureData() {
try {
return signatureData.iterator().next();
} catch (Exception e) {
@@ -91,11 +91,11 @@ public KlaySignatureData getSignatureData() {
}
}
- protected KlayRawTransaction(ITransaction transaction) {
+ protected KaiaRawTransaction(ITransaction transaction) {
super(transaction);
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -104,7 +104,7 @@ public static KlayRawTransaction createTransaction(
AccountKey accountKey) {
if (type == Type.ACCOUNT_UPDATE) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeAccountUpdate.createTransaction(
type,
nonce,
@@ -115,7 +115,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_ACCOUNT_UPDATE) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedAccountUpdate.createTransaction(
type,
nonce,
@@ -130,7 +130,7 @@ else if (type == Type.FEE_DELEGATED_ACCOUNT_UPDATE) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -138,7 +138,7 @@ public static KlayRawTransaction createTransaction(
String from) {
if (type == Type.CANCEL) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeCancel.createTransaction(
type,
nonce,
@@ -148,7 +148,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_CANCEL) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedCancel.createTransaction(
type,
nonce,
@@ -162,7 +162,7 @@ else if (type == Type.FEE_DELEGATED_CANCEL) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -172,7 +172,7 @@ public static KlayRawTransaction createTransaction(
String from) {
if (type == Type.VALUE_TRANSFER) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeValueTransfer.createTransaction(
type,
nonce,
@@ -184,7 +184,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransfer.createTransaction(
type,
nonce,
@@ -198,7 +198,7 @@ else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -209,7 +209,7 @@ public static KlayRawTransaction createTransaction(
byte[] payload) {
if (type == Type.VALUE_TRANSFER_MEMO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeValueTransferMemo.createTransaction(
type,
nonce,
@@ -222,7 +222,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransferMemo.createTransaction(
type,
nonce,
@@ -235,7 +235,7 @@ else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO) {
}
else if (type == Type.SMART_CONTRACT_EXECUTION) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeSmartContractExecution.createTransaction(
type,
nonce,
@@ -248,7 +248,7 @@ else if (type == Type.SMART_CONTRACT_EXECUTION) {
}
else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractExecution.createTransaction(
type,
nonce,
@@ -265,7 +265,7 @@ else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -277,7 +277,7 @@ public static KlayRawTransaction createTransaction(
BigInteger option) {
if (type == Type.SMART_CONTRACT_DEPLOY) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeSmartContractDeploy.createTransaction(
type,
nonce,
@@ -290,7 +290,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractDeploy.createTransaction(
type,
nonce,
@@ -303,7 +303,7 @@ else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY) {
}
else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransferMemoWithRatio.createTransaction(
type,
nonce,
@@ -317,7 +317,7 @@ else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO) {
}
else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractExecutionWithRatio.createTransaction(
type,
nonce,
@@ -336,7 +336,7 @@ else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO) {
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -346,7 +346,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedAccountUpdateWithRatio.createTransaction(
type,
nonce,
@@ -362,7 +362,7 @@ public static KlayRawTransaction createTransaction(
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -371,7 +371,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_CANCEL_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedCancelWithRatio.createTransaction(
type,
nonce,
@@ -386,7 +386,7 @@ public static KlayRawTransaction createTransaction(
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -397,7 +397,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransferWithRatio.createTransaction(
type,
nonce,
@@ -412,7 +412,7 @@ public static KlayRawTransaction createTransaction(
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -425,7 +425,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractDeployWithRatio.createTransaction(
type,
nonce,
@@ -444,7 +444,7 @@ public static KlayRawTransaction createTransaction(
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -452,7 +452,7 @@ public static KlayRawTransaction createTransaction(
String from,
byte[] payload) {
if (type == Type.CHAIN_DATA_ANCHORING) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeChainDataAnchoring.createTransaction(
type,
nonce,
@@ -462,7 +462,7 @@ public static KlayRawTransaction createTransaction(
payload));
}
else if (type == Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedChainDataAnchoring.createTransaction(
type,
nonce,
@@ -476,7 +476,7 @@ else if (type == Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
TxType.Type type,
BigInteger nonce,
BigInteger gasPrice,
@@ -485,7 +485,7 @@ public static KlayRawTransaction createTransaction(
byte[] payload,
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedChainDataAnchoringWithRatio.createTransaction(
type,
nonce,
@@ -507,7 +507,7 @@ public static KlayRawTransaction createTransaction(
// with chainId
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -517,7 +517,7 @@ public static KlayRawTransaction createTransaction(
AccountKey accountKey) {
if (type == Type.ACCOUNT_UPDATE) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeAccountUpdate.createTransaction(
chainId,
type,
@@ -529,7 +529,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_ACCOUNT_UPDATE) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedAccountUpdate.createTransaction(
chainId,
type,
@@ -545,7 +545,7 @@ else if (type == Type.FEE_DELEGATED_ACCOUNT_UPDATE) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -554,7 +554,7 @@ public static KlayRawTransaction createTransaction(
String from) {
if (type == Type.CANCEL) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeCancel.createTransaction(
chainId,
type,
@@ -565,7 +565,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_CANCEL) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedCancel.createTransaction(
chainId,
type,
@@ -580,7 +580,7 @@ else if (type == Type.FEE_DELEGATED_CANCEL) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -591,7 +591,7 @@ public static KlayRawTransaction createTransaction(
String from) {
if (type == Type.VALUE_TRANSFER) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeValueTransfer.createTransaction(
chainId,
type,
@@ -604,7 +604,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransfer.createTransaction(
chainId,
type,
@@ -619,7 +619,7 @@ else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -631,7 +631,7 @@ public static KlayRawTransaction createTransaction(
byte[] payload) {
if (type == Type.VALUE_TRANSFER_MEMO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeValueTransferMemo.createTransaction(
chainId,
type,
@@ -645,7 +645,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransferMemo.createTransaction(
chainId,
type,
@@ -659,7 +659,7 @@ else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO) {
}
else if (type == Type.SMART_CONTRACT_EXECUTION) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeSmartContractExecution.createTransaction(
chainId,
type,
@@ -673,7 +673,7 @@ else if (type == Type.SMART_CONTRACT_EXECUTION) {
}
else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractExecution.createTransaction(
chainId,
type,
@@ -691,7 +691,7 @@ else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -704,7 +704,7 @@ public static KlayRawTransaction createTransaction(
BigInteger option) {
if (type == Type.SMART_CONTRACT_DEPLOY) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeSmartContractDeploy.createTransaction(
chainId,
type,
@@ -718,7 +718,7 @@ public static KlayRawTransaction createTransaction(
}
else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractDeploy.createTransaction(
chainId,
type,
@@ -732,7 +732,7 @@ else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY) {
}
else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransferMemoWithRatio.createTransaction(
chainId,
type,
@@ -747,7 +747,7 @@ else if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO) {
}
else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractExecutionWithRatio.createTransaction(
chainId,
type,
@@ -767,7 +767,7 @@ else if (type == Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO) {
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -778,7 +778,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedAccountUpdateWithRatio.createTransaction(
chainId,
type,
@@ -795,7 +795,7 @@ public static KlayRawTransaction createTransaction(
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -805,7 +805,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_CANCEL_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedCancelWithRatio.createTransaction(
chainId,
type,
@@ -821,7 +821,7 @@ public static KlayRawTransaction createTransaction(
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -833,7 +833,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedValueTransferWithRatio.createTransaction(
chainId,
type,
@@ -849,7 +849,7 @@ public static KlayRawTransaction createTransaction(
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -863,7 +863,7 @@ public static KlayRawTransaction createTransaction(
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedSmartContractDeployWithRatio.createTransaction(
chainId,
type,
@@ -883,7 +883,7 @@ public static KlayRawTransaction createTransaction(
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -892,7 +892,7 @@ public static KlayRawTransaction createTransaction(
String from,
byte[] payload) {
if (type == Type.CHAIN_DATA_ANCHORING) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeChainDataAnchoring.createTransaction(
chainId,
type,
@@ -903,7 +903,7 @@ public static KlayRawTransaction createTransaction(
payload));
}
else if (type == Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedChainDataAnchoring.createTransaction(
chainId,
type,
@@ -918,7 +918,7 @@ else if (type == Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING) {
}
}
- public static KlayRawTransaction createTransaction(
+ public static KaiaRawTransaction createTransaction(
long chainId,
TxType.Type type,
BigInteger nonce,
@@ -928,7 +928,7 @@ public static KlayRawTransaction createTransaction(
byte[] payload,
BigInteger feeRatio) {
if (type == Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING_WITH_RATIO) {
- return new KlayRawTransaction(
+ return new KaiaRawTransaction(
TxTypeFeeDelegatedChainDataAnchoringWithRatio.createTransaction(
chainId,
type,
@@ -949,9 +949,9 @@ public byte[] getRaw() {
}
- public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
+ public KaiaRawTransaction fillTransaction(Web3j web3j) throws IOException {
AbstractTxType tx = (AbstractTxType) this.getTransaction();
- TxType.Type type = tx.getKlayType();
+ TxType.Type type = tx.getKaiaType();
EthChainId EthchainId = web3j.ethChainId().send();
long chainId = EthchainId.getChainId().longValue();
@@ -963,18 +963,18 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
BigInteger nonce = ethGetTransactionCount.getTransactionCount();
- Object gasPriceResponse = web3j.klayGasPrice().send().getResult();
+ Object gasPriceResponse = web3j.kaiaGasPrice().send().getResult();
if (gasPriceResponse == null) {
throw new UnsupportedOperationException("Cannot get GasPrice");
}
BigInteger gasPrice = new BigInteger(Numeric.cleanHexPrefix((String) gasPriceResponse), 16);
- KlayRawTransaction raw;
+ KaiaRawTransaction raw;
if (!Type.isFeeDelegated(type) && !Type.isPartialFeeDelegated(type)) {
switch (type) {
case ACCOUNT_UPDATE:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -984,7 +984,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeAccountUpdate)tx).getAccountKey());
break;
case CANCEL:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -993,7 +993,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
tx.getFrom());
break;
case SMART_CONTRACT_DEPLOY:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1006,7 +1006,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeSmartContractDeploy)tx).getCodeFormat());
break;
case SMART_CONTRACT_EXECUTION:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1018,7 +1018,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeSmartContractExecution)tx).getPayload());
break;
case VALUE_TRANSFER:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1029,7 +1029,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
tx.getFrom());
break;
case VALUE_TRANSFER_MEMO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1041,7 +1041,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeValueTransferMemo)tx).getPayload());
break;
case CHAIN_DATA_ANCHORING:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1053,7 +1053,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeChainDataAnchoring)tx).getAnchoredData());
break;
default:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1070,7 +1070,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
else {
switch (type) {
case FEE_DELEGATED_CANCEL:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1079,7 +1079,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
tx.getFrom());
break;
case FEE_DELEGATED_CANCEL_WITH_RATIO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1089,7 +1089,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedCancelWithRatio) tx).getFeeRatio());
break;
case FEE_DELEGATED_SMART_CONTRACT_DEPLOY:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1102,7 +1102,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedSmartContractDeploy)tx).getCodeFormat());
break;
case FEE_DELEGATED_SMART_CONTRACT_DEPLOY_WITH_RATIO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1116,7 +1116,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedSmartContractDeployWithRatio)tx).getFeeRatio());
break;
case FEE_DELEGATED_SMART_CONTRACT_EXECUTION:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1128,7 +1128,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedSmartContractExecution)tx).getPayload());
break;
case FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1141,7 +1141,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedSmartContractExecution)tx).getFeeRatio());
break;
case FEE_DELEGATED_VALUE_TRANSFER:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1152,7 +1152,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
tx.getFrom());
break;
case FEE_DELEGATED_VALUE_TRANSFER_MEMO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1164,7 +1164,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedValueTransferMemoWithRatio)tx).getPayload());
break;
case FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1176,7 +1176,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedValueTransferWithRatio)tx).getFeeRatio());
break;
case FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1189,7 +1189,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedValueTransferMemoWithRatio)tx).getFeeRatio());
break;
case FEE_DELEGATED_CHAIN_DATA_ANCHORING_WITH_RATIO:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1201,7 +1201,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedChainDataAnchoring)tx).getAnchoredData());
break;
case FEE_DELEGATED_CHAIN_DATA_ANCHORING:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
@@ -1214,7 +1214,7 @@ public KlayRawTransaction fillTransaction(Web3j web3j) throws IOException {
((TxTypeFeeDelegatedChainDataAnchoring)tx).getFeeRatio());
break;
default:
- raw = KlayRawTransaction.createTransaction(
+ raw = KaiaRawTransaction.createTransaction(
chainId,
type,
nonce,
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlaySignatureData.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaSignatureData.java
similarity index 78%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlaySignatureData.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaSignatureData.java
index 2f936237b..6575be8ff 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlaySignatureData.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaSignatureData.java
@@ -32,22 +32,22 @@
import java.util.Arrays;
import java.util.List;
-public class KlaySignatureData {
+public class KaiaSignatureData {
private byte[] v;
private byte[] r;
private byte[] s;
- public KlaySignatureData() {
+ public KaiaSignatureData() {
}
- public KlaySignatureData(byte[] v, byte[] r, byte[] s) {
+ public KaiaSignatureData(byte[] v, byte[] r, byte[] s) {
this.v = v;
this.r = r;
this.s = s;
}
- public static KlaySignatureData getEmptySignature() {
- KlaySignatureData emptySig = new KlaySignatureData(
+ public static KaiaSignatureData getEmptySignature() {
+ KaiaSignatureData emptySig = new KaiaSignatureData(
Numeric.hexStringToByteArray("0x01"),
Numeric.hexStringToByteArray("0x"),
Numeric.hexStringToByteArray("0x"));
@@ -55,8 +55,8 @@ public static KlaySignatureData getEmptySignature() {
return emptySig;
}
- public static List decodeSignatures(List signatureRlpTypeList) {
- List signatureDataList = new ArrayList<>();
+ public static List decodeSignatures(List signatureRlpTypeList) {
+ List signatureDataList = new ArrayList<>();
for (RlpType signature : signatureRlpTypeList) {
List vrs = ((RlpList) signature).getValues();
@@ -65,7 +65,7 @@ public static List decodeSignatures(List signatureRl
byte[] v = ((RlpString) vrs.get(0)).getBytes();
byte[] r = ((RlpString) vrs.get(1)).getBytes();
byte[] s = ((RlpString) vrs.get(2)).getBytes();
- signatureDataList.add(new KlaySignatureData(v, r, s));
+ signatureDataList.add(new KaiaSignatureData(v, r, s));
}
return signatureDataList;
@@ -92,7 +92,7 @@ public boolean equals(Object o) {
return false;
}
- KlaySignatureData that = (KlaySignatureData) o;
+ KaiaSignatureData that = (KaiaSignatureData) o;
if (!Arrays.equals(v, that.v)) {
return false;
@@ -117,8 +117,8 @@ public String toString() {
+ Numeric.toBigInt(getS());
}
- public static KlaySignatureData createKlaySignatureDataFromChainId(long chainId) {
- return new KlaySignatureData(BigInteger.valueOf(chainId).toByteArray(), new byte[] {}, new byte[] {});
+ public static KaiaSignatureData createKaiaSignatureDataFromChainId(long chainId) {
+ return new KaiaSignatureData(BigInteger.valueOf(chainId).toByteArray(), new byte[] {}, new byte[] {});
}
public RlpList toRlpList() {
@@ -128,29 +128,29 @@ public RlpList toRlpList() {
RlpString.create(Bytes.trimLeadingZeroes(getS())));
}
- public static KlaySignatureData createEip155KlaySignatureData(
+ public static KaiaSignatureData createEip155KaiaSignatureData(
Sign.SignatureData signatureData, long chainId) {
long v = (Numeric.toBigInt(signatureData.getV()).intValue() + chainId * 2) + 8;
- return new KlaySignatureData(BigInteger.valueOf(v).toByteArray(), signatureData.getR(), signatureData.getS());
+ return new KaiaSignatureData(BigInteger.valueOf(v).toByteArray(), signatureData.getR(), signatureData.getS());
}
- public static byte[] getKlaytnMessageHash(String message) {
- final String preamble = "\u0019Klaytn Signed Message:\n";
+ public static byte[] getKaiaMessageHash(String message) {
+ final String preamble = "\u0019Ethereum Signed Message:\n";
byte[] messageArr = BytesUtils.isHexStrict(message) ? Numeric.hexStringToByteArray(message)
: message.getBytes();
byte[] preambleArr = preamble.concat(String.valueOf(messageArr.length)).getBytes();
- // klayMessage is concatenated array (preambleArr + messageArr)
- byte[] klayMessage = BytesUtils.concat(preambleArr, messageArr);
- byte[] result = Hash.sha3(klayMessage);
+ // kaiaMessage is concatenated array (preambleArr + messageArr)
+ byte[] kaiaMessage = BytesUtils.concat(preambleArr, messageArr);
+ byte[] result = Hash.sha3(kaiaMessage);
// return data after converting to hex string.
return result;
}
- public static Sign.SignatureData signPrefixedMessage(String message, KlayCredentials cred) {
- byte[] messageBytes = getKlaytnMessageHash(message);
+ public static Sign.SignatureData signPrefixedMessage(String message, KaiaCredentials cred) {
+ byte[] messageBytes = getKaiaMessageHash(message);
return Sign.signMessage(messageBytes, cred.getEcKeyPair(), false);
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayTransactionEncoder.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaTransactionEncoder.java
similarity index 90%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayTransactionEncoder.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaTransactionEncoder.java
index 708f910f2..271974c88 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayTransactionEncoder.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaTransactionEncoder.java
@@ -36,15 +36,15 @@
import org.web3j.crypto.transaction.type.TxTypeSmartContractExecution;
import org.web3j.crypto.transaction.type.TxTypeValueTransfer;
import org.web3j.crypto.transaction.type.TxTypeValueTransferMemo;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
/**
* Create RLP encoded transaction, implementation as per p4 of the yellow paper.
*/
-public class KlayTransactionEncoder extends TransactionEncoder{
+public class KaiaTransactionEncoder extends TransactionEncoder{
- public static byte[] signMessage(RawTransaction rawTransaction, long chainId, KlayCredentials credentials) {
+ public static byte[] signMessage(RawTransaction rawTransaction, long chainId, KaiaCredentials credentials) {
if(credentials.isDeCoupled()){
throw new Error("a legacy transaction must be with a legacy account key");
}
@@ -52,7 +52,7 @@ public static byte[] signMessage(RawTransaction rawTransaction, long chainId, Kl
return signMessage(rawTransaction, chainId, credentials.convertToCredentials());
}
- public static byte[] signMessage(RawTransaction rawTransaction, KlayCredentials credentials) {
+ public static byte[] signMessage(RawTransaction rawTransaction, KaiaCredentials credentials) {
if(credentials.isDeCoupled()){
throw new Error("a legacy transaction must be with a legacy account key");
}
@@ -62,11 +62,11 @@ public static byte[] signMessage(RawTransaction rawTransaction, KlayCredentials
- public static byte[] signMessage(KlayRawTransaction rawTransaction, KlayCredentials credentials) {
+ public static byte[] signMessage(KaiaRawTransaction rawTransaction, KaiaCredentials credentials) {
AbstractTxType tx = (AbstractTxType) rawTransaction.getTransaction();
long chainId = tx.getChainId();
- if (Type.isFeeDelegated(tx.getKlayType()) || Type.isPartialFeeDelegated(tx.getKlayType())) {
+ if (Type.isFeeDelegated(tx.getKaiaType()) || Type.isPartialFeeDelegated(tx.getKaiaType())) {
TxTypeFeeDelegate senderTx = (TxTypeFeeDelegate) rawTransaction.getTransaction();
return senderTx.sign(credentials, chainId).getRaw();
}
@@ -74,35 +74,35 @@ public static byte[] signMessage(KlayRawTransaction rawTransaction, KlayCredenti
}
- public static byte[] signMessage(KlayRawTransaction rawTransaction, long chainId, KlayCredentials credentials) {
+ public static byte[] signMessage(KaiaRawTransaction rawTransaction, long chainId, KaiaCredentials credentials) {
AbstractTxType tx = (AbstractTxType) rawTransaction.getTransaction();
- if (Type.isFeeDelegated(tx.getKlayType()) || Type.isPartialFeeDelegated(tx.getKlayType())) {
+ if (Type.isFeeDelegated(tx.getKaiaType()) || Type.isPartialFeeDelegated(tx.getKaiaType())) {
TxTypeFeeDelegate senderTx = (TxTypeFeeDelegate) rawTransaction.getTransaction();
return senderTx.sign(credentials, chainId).getRaw();
}
return tx.sign(credentials, chainId).getRaw();
}
- public static byte[] signMessageAsFeePayer(KlayRawTransaction rawTransaction, long chainId,
- KlayCredentials credentials) {
+ public static byte[] signMessageAsFeePayer(KaiaRawTransaction rawTransaction, long chainId,
+ KaiaCredentials credentials) {
TxTypeFeeDelegate senderTx = (TxTypeFeeDelegate) rawTransaction.getTransaction();
senderTx.setFeePayer(credentials.getAddress());
- KlayRawTransaction payerTx = new FeePayer(credentials, chainId).sign(senderTx);
+ KaiaRawTransaction payerTx = new FeePayer(credentials, chainId).sign(senderTx);
return payerTx.getRaw();
}
- public static byte[] signMessageAsFeePayer(KlayRawTransaction rawTransaction, KlayCredentials credentials) {
+ public static byte[] signMessageAsFeePayer(KaiaRawTransaction rawTransaction, KaiaCredentials credentials) {
TxTypeFeeDelegate senderTx = (TxTypeFeeDelegate) rawTransaction.getTransaction();
long chainId = senderTx.getChainId();
senderTx.setFeePayer(credentials.getAddress());
- KlayRawTransaction payerTx = new FeePayer(credentials, chainId).sign(senderTx);
+ KaiaRawTransaction payerTx = new FeePayer(credentials, chainId).sign(senderTx);
return payerTx.getRaw();
}
- public static byte[] signMessage(byte[] encodedSenderTransaction, long chainId, KlayCredentials credentials) {
+ public static byte[] signMessage(byte[] encodedSenderTransaction, long chainId, KaiaCredentials credentials) {
- TxType.Type type = KlayTransactionUtils.getType(encodedSenderTransaction);
+ TxType.Type type = KaiaTransactionUtils.getType(encodedSenderTransaction);
if (!Type.isFeeDelegated(type) && !Type.isPartialFeeDelegated(type)) {
AbstractTxType encodedTx;
switch (type) {
@@ -203,9 +203,9 @@ public static byte[] signMessage(byte[] encodedSenderTransaction, long chainId,
}
public static byte[] signMessageAsFeePayer(byte[] encodedSenderTransaction, long chainId,
- KlayCredentials credentials) {
+ KaiaCredentials credentials) {
- TxType.Type type = KlayTransactionUtils.getType(encodedSenderTransaction);
+ TxType.Type type = KaiaTransactionUtils.getType(encodedSenderTransaction);
TxTypeFeeDelegate senderTx;
switch (type) {
case FEE_DELEGATED_CANCEL:
@@ -262,7 +262,7 @@ public static byte[] signMessageAsFeePayer(byte[] encodedSenderTransaction, long
break;
}
- KlayRawTransaction payerTx = new FeePayer(credentials, chainId).sign(senderTx);
+ KaiaRawTransaction payerTx = new FeePayer(credentials, chainId).sign(senderTx);
return payerTx.getRaw();
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayWalletUtils.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaWelletUtils.java
similarity index 71%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayWalletUtils.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaWelletUtils.java
index 94203651c..f336409f5 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KlayWalletUtils.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/KaiaWelletUtils.java
@@ -11,7 +11,7 @@
import java.util.ArrayList;
import java.util.List;
-public class KlayWalletUtils {
+public class KaiaWelletUtils {
private static final int CURRENT_VERSION = 3;
private static final String CIPHER = "aes-128-ctr";
@@ -24,46 +24,46 @@ public class KlayWalletUtils {
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
}
- public KlayCredentials loadKlayCredentials(String password, String source)
+ public KaiaCredentials loadKaiaCredentials(String password, String source)
throws IOException, CipherException {
return loadCredentials(password, new File(source));
}
- public KlayCredentials loadCredentials(String password, File source)
+ public KaiaCredentials loadCredentials(String password, File source)
throws IOException, CipherException {
WalletFile walletFile = objectMapper.readValue(source, WalletFile.class);
- return KlayCredentials.create(Wallet.decrypt(password, walletFile), walletFile.getAddress());
+ return KaiaCredentials.create(Wallet.decrypt(password, walletFile), walletFile.getAddress());
}
- public static KlayCredentials loadJsonKlayCredentials(String password, String content)
+ public static KaiaCredentials loadJsonKaiaCredentials(String password, String content)
throws IOException, CipherException {
WalletFile walletFile = objectMapper.readValue(content, WalletFile.class);
- return KlayCredentials.create(Wallet.decrypt(password, walletFile), walletFile.getAddress());
+ return KaiaCredentials.create(Wallet.decrypt(password, walletFile), walletFile.getAddress());
}
- public static List> loadKlayCredentialsFromV4(String password, String source)
+ public static List> loadKaiaCredentialsFromV4(String password, String source)
throws Exception {
- return loadKlayCredentialsFromV4(password, new File(source));
+ return loadKaiaCredentialsFromV4(password, new File(source));
}
- public static List> loadKlayCredentialsFromV4(String password, File jsonFile)
+ public static List> loadKaiaCredentialsFromV4(String password, File jsonFile)
throws Exception {
JsonNode rootNode = objectMapper.readTree(jsonFile);
- return loadKlayCredentialsV4(password, rootNode);
+ return loadKaiaCredentialsV4(password, rootNode);
}
- public static List> loadJsonKlayCredentialsFromV4(String password, String content)
+ public static List> loadJsonKaiaCredentialsFromV4(String password, String content)
throws Exception {
JsonNode rootNode = objectMapper.readTree(content);
- return loadKlayCredentialsV4(password, rootNode);
+ return loadKaiaCredentialsV4(password, rootNode);
}
- static List> loadKlayCredentialsV4(String password, JsonNode rootNode) throws Exception {
+ static List> loadKaiaCredentialsV4(String password, JsonNode rootNode) throws Exception {
// Extracting the address
String address = rootNode.get("address").asText();
- List> cryptoLists = new ArrayList<>();
+ List> cryptoLists = new ArrayList<>();
JsonNode keyringNode = rootNode.get("keyring");
// Check if 'keyring' is an array of arrays(=roleBased) or a single array
@@ -71,19 +71,19 @@ static List> loadKlayCredentialsV4(String password, JsonNo
if (keyringNode.has(0) && keyringNode.get(0).isArray()) {
// It's a nested array
for (JsonNode arrayNode : keyringNode) {
- List cryptos = new ArrayList<>();
+ List cryptos = new ArrayList<>();
for (JsonNode cryptoNode : arrayNode) {
Crypto crypto = objectMapper.treeToValue(cryptoNode, Crypto.class);
- cryptos.add(decryptKlayCredentials(crypto, password, address));
+ cryptos.add(decryptKaiaCredentials(crypto, password, address));
}
cryptoLists.add(cryptos);
}
} else {
// It's a single array, create one list with all the elements
- List cryptos = new ArrayList<>();
+ List cryptos = new ArrayList<>();
for (JsonNode cryptoNode : keyringNode) {
Crypto crypto = objectMapper.treeToValue(cryptoNode, Crypto.class);
- cryptos.add(decryptKlayCredentials(crypto, password, address));
+ cryptos.add(decryptKaiaCredentials(crypto, password, address));
}
cryptoLists.add(cryptos);
}
@@ -92,14 +92,14 @@ static List> loadKlayCredentialsV4(String password, JsonNo
return cryptoLists;
}
- static KlayCredentials decryptKlayCredentials(Crypto crypto, String password, String address)
+ static KaiaCredentials decryptKaiaCredentials(Crypto crypto, String password, String address)
throws CipherException {
WalletFile temp = new WalletFile();
temp.setCrypto(crypto);
temp.setVersion(CURRENT_VERSION);
ECKeyPair privkey = Wallet.decrypt(password, temp);
- return KlayCredentials.create(privkey, address);
+ return KaiaCredentials.create(privkey, address);
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/fee/FeePayer.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/fee/FeePayer.java
index 3f6e1e97c..ead499316 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/fee/FeePayer.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/fee/FeePayer.java
@@ -1,7 +1,7 @@
package org.web3j.crypto.transaction.fee;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlaySignatureData;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaSignatureData;
import org.web3j.utils.BytesUtils;
import org.web3j.crypto.Sign;
import org.web3j.crypto.transaction.type.AbstractTxType;
@@ -20,21 +20,21 @@ public class FeePayer {
final static String EMPTY_FEE_PAYER_ADDRESS = "0x";
final static String ZERO_FEE_PAYER_ADDRESS = "0x0000000000000000000000000000000000000000";
- private KlayCredentials credentials;
+ private KaiaCredentials credentials;
private long chainId;
- public FeePayer(KlayCredentials credentials, long chainId) {
+ public FeePayer(KaiaCredentials credentials, long chainId) {
this.credentials = credentials;
this.chainId = chainId;
}
- public KlayRawTransaction sign(TxTypeFeeDelegate txType) {
- Set feePayerSignatureDataSet = getFeePayerSignatureData(txType);
+ public KaiaRawTransaction sign(TxTypeFeeDelegate txType) {
+ Set feePayerSignatureDataSet = getFeePayerSignatureData(txType);
List rlpTypeList = new ArrayList<>(txType.rlpValues());
List senderSignatureList = new ArrayList<>();
- for (KlaySignatureData senderSignature : txType.getSenderSignatureDataSet()) {
+ for (KaiaSignatureData senderSignature : txType.getSenderSignatureDataSet()) {
senderSignatureList.add(senderSignature.toRlpList());
}
rlpTypeList.add(new RlpList(senderSignatureList));
@@ -44,25 +44,25 @@ public KlayRawTransaction sign(TxTypeFeeDelegate txType) {
String feePayer = txType.getFeePayer();
if (!feePayer.equals(EMPTY_FEE_PAYER_ADDRESS) && !feePayer.equals(ZERO_FEE_PAYER_ADDRESS)) {
- for (KlaySignatureData feePayerSignatureData : txType.getFeePayerSignatureData()) {
+ for (KaiaSignatureData feePayerSignatureData : txType.getFeePayerSignatureData()) {
feePayerSignatureList.add(feePayerSignatureData.toRlpList());
}
}
- for (KlaySignatureData feePayerSignatureData : feePayerSignatureDataSet) {
+ for (KaiaSignatureData feePayerSignatureData : feePayerSignatureDataSet) {
feePayerSignatureList.add(feePayerSignatureData.toRlpList());
}
rlpTypeList.add(new RlpList(feePayerSignatureList));
byte[] encodedTransaction = RlpEncoder.encode(new RlpList(rlpTypeList));
- byte[] type = {txType.getKlayType().get()};
+ byte[] type = {txType.getKaiaType().get()};
byte[] rawTx = BytesUtils.concat(type, encodedTransaction);
- return new KlayRawTransaction(null, rawTx, feePayerSignatureDataSet);
+ return new KaiaRawTransaction(null, rawTx, feePayerSignatureDataSet);
}
@Deprecated
- public KlaySignatureData getSignatureData(AbstractTxType txType) {
- KlaySignatureData signatureData = KlaySignatureData.createKlaySignatureDataFromChainId(chainId);
+ public KaiaSignatureData getSignatureData(AbstractTxType txType) {
+ KaiaSignatureData signatureData = KaiaSignatureData.createKaiaSignatureDataFromChainId(chainId);
byte[] encodedTransaction = txType.getEncodedTransactionNoSig();
List rlpTypeList = new ArrayList<>();
@@ -72,7 +72,7 @@ public KlaySignatureData getSignatureData(AbstractTxType txType) {
byte[] encodedTransaction2 = RlpEncoder.encode(new RlpList(rlpTypeList));
Sign.SignatureData signedSignatureData = Sign.signMessage(encodedTransaction2, credentials.getEcKeyPair());
- return KlaySignatureData.createEip155KlaySignatureData(signedSignatureData, chainId);
+ return KaiaSignatureData.createEip155KaiaSignatureData(signedSignatureData, chainId);
}
/**
@@ -81,9 +81,9 @@ public KlaySignatureData getSignatureData(AbstractTxType txType) {
* @param txType txType to extract fee payer's signature data
* @return Set fee payer's signature data
*/
- private Set getFeePayerSignatureData(AbstractTxType txType) {
- KlaySignatureData signatureData = KlaySignatureData.createKlaySignatureDataFromChainId(chainId);
- Set feePayerSignatureDataSet = new HashSet<>();
+ private Set getFeePayerSignatureData(AbstractTxType txType) {
+ KaiaSignatureData signatureData = KaiaSignatureData.createKaiaSignatureDataFromChainId(chainId);
+ Set feePayerSignatureDataSet = new HashSet<>();
byte[] encodedTransactionNoSig = txType.getEncodedTransactionNoSig();
List rlpTypeList = new ArrayList<>();
@@ -93,7 +93,7 @@ private Set getFeePayerSignatureData(AbstractTxType txType) {
byte[] encodedTransaction = RlpEncoder.encode(new RlpList(rlpTypeList));
Sign.SignatureData signedSignatureData = Sign.signMessage(encodedTransaction, credentials.getEcKeyPair());
- feePayerSignatureDataSet.add(KlaySignatureData.createEip155KlaySignatureData(signedSignatureData, chainId));
+ feePayerSignatureDataSet.add(KaiaSignatureData.createEip155KaiaSignatureData(signedSignatureData, chainId));
return feePayerSignatureDataSet;
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/AbstractTxType.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/AbstractTxType.java
index 8f56ca05b..1fa2dfc47 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/AbstractTxType.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/AbstractTxType.java
@@ -16,9 +16,9 @@
* limitations under the License.
*/
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlaySignatureData;
-import org.web3j.crypto.KlayRawTransaction;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaSignatureData;
+import org.web3j.crypto.KaiaRawTransaction;
import org.web3j.utils.BytesUtils;
import org.web3j.crypto.Sign;
import org.web3j.rlp.RlpEncoder;
@@ -67,7 +67,7 @@ public abstract class AbstractTxType implements TxType, ITransaction {
* The cryptographic signature generated by the sender to let the receiver
* obtain the sender's address.
*/
- private Set senderSignatureDataSet;
+ private Set senderSignatureDataSet;
private TxType.Type type;
@@ -98,12 +98,12 @@ public AbstractTxType(long chainId, TxType.Type type, BigInteger nonce, BigInteg
this.senderSignatureDataSet = new HashSet<>();
}
- protected void setSenderSignatureData(KlaySignatureData signatureData) {
+ protected void setSenderSignatureData(KaiaSignatureData signatureData) {
addSenderSignatureData(signatureData);
}
- public KlaySignatureData getSenderSignatureData() {
- Iterator senderSignatureIterator = senderSignatureDataSet.iterator();
+ public KaiaSignatureData getSenderSignatureData() {
+ Iterator senderSignatureIterator = senderSignatureDataSet.iterator();
if (senderSignatureIterator.hasNext()) {
return senderSignatureIterator.next();
}
@@ -116,7 +116,7 @@ public KlaySignatureData getSenderSignatureData() {
*
* @param signatureData sender's signature data
*/
- protected void addSenderSignatureData(KlaySignatureData signatureData) {
+ protected void addSenderSignatureData(KaiaSignatureData signatureData) {
senderSignatureDataSet.add(signatureData);
}
@@ -125,7 +125,7 @@ protected void addSenderSignatureData(KlaySignatureData signatureData) {
*
* @param senderSignatureDataSet sender's signature data set
*/
- public void addSenderSignatureData(Set senderSignatureDataSet) {
+ public void addSenderSignatureData(Set senderSignatureDataSet) {
this.senderSignatureDataSet.addAll(senderSignatureDataSet);
}
@@ -142,7 +142,7 @@ protected void addSenderSignatureData(List signatureRlpTypeList) {
byte[] v = ((RlpString) vrs.get(0)).getBytes();
byte[] r = ((RlpString) vrs.get(1)).getBytes();
byte[] s = ((RlpString) vrs.get(2)).getBytes();
- addSenderSignatureData(new KlaySignatureData(v, r, s));
+ addSenderSignatureData(new KaiaSignatureData(v, r, s));
}
}
@@ -173,7 +173,7 @@ public void addSignatureData(AbstractTxType txType) {
*
* @return Set set of sender's signature data
*/
- public Set getSenderSignatureDataSet() {
+ public Set getSenderSignatureDataSet() {
return senderSignatureDataSet;
}
@@ -184,9 +184,9 @@ public Set getSenderSignatureDataSet() {
* @param chainId chain ID
* @return Set processed signature data
*/
- public Set getNewSenderSignatureDataSet(KlayCredentials credentials, long chainId) {
- Set senderSignatureDataList = new HashSet<>();
- KlaySignatureData signatureData = KlaySignatureData.createKlaySignatureDataFromChainId(chainId);
+ public Set getNewSenderSignatureDataSet(KaiaCredentials credentials, long chainId) {
+ Set senderSignatureDataList = new HashSet<>();
+ KaiaSignatureData signatureData = KaiaSignatureData.createKaiaSignatureDataFromChainId(chainId);
byte[] encodedTransaction = getEncodedTransactionNoSig();
List rlpTypeList = new ArrayList<>();
@@ -195,7 +195,7 @@ public Set getNewSenderSignatureDataSet(KlayCredentials crede
byte[] encodedTransaction2 = RlpEncoder.encode(new RlpList(rlpTypeList));
Sign.SignatureData signedSignatureData = Sign.signMessage(encodedTransaction2, credentials.getEcKeyPair());
- senderSignatureDataList.add(KlaySignatureData.createEip155KlaySignatureData(signedSignatureData, chainId));
+ senderSignatureDataList.add(KaiaSignatureData.createEip155KaiaSignatureData(signedSignatureData, chainId));
return senderSignatureDataList;
}
@@ -232,7 +232,7 @@ public BigInteger getValue() {
@Override
public byte[] getEncodedTransactionNoSig() {
List rlpTypeList = new ArrayList<>();
- rlpTypeList.add(RlpString.create(getKlayType().get()));
+ rlpTypeList.add(RlpString.create(getKaiaType().get()));
rlpTypeList.addAll(rlpValues());
return RlpEncoder.encode(new RlpList(rlpTypeList));
}
@@ -257,11 +257,11 @@ public List rlpValues() {
*
* @param credentials credential info of a signer
* @param chainId chain ID
- * @return KlaySignatureData processed signature data
+ * @return KaiaSignatureData processed signature data
*/
@Override
- public KlaySignatureData getSignatureData(KlayCredentials credentials, int chainId) {
- KlaySignatureData signatureData = KlaySignatureData.createKlaySignatureDataFromChainId(chainId);
+ public KaiaSignatureData getSignatureData(KaiaCredentials credentials, int chainId) {
+ KaiaSignatureData signatureData = KaiaSignatureData.createKaiaSignatureDataFromChainId(chainId);
byte[] encodedTransaction = getEncodedTransactionNoSig();
List rlpTypeList = new ArrayList<>();
@@ -270,7 +270,7 @@ public KlaySignatureData getSignatureData(KlayCredentials credentials, int chain
byte[] encodedTransaction2 = RlpEncoder.encode(new RlpList(rlpTypeList));
Sign.SignatureData signedSignatureData = Sign.signMessage(encodedTransaction2, credentials.getEcKeyPair());
- return KlaySignatureData.createEip155KlaySignatureData(signedSignatureData, chainId);
+ return KaiaSignatureData.createEip155KaiaSignatureData(signedSignatureData, chainId);
}
/**
@@ -278,36 +278,36 @@ public KlaySignatureData getSignatureData(KlayCredentials credentials, int chain
*
* @param credentials credential info of a signer
* @param chainId chain ID
- * @return KlayRawTransaction this contains transaction hash and processed
+ * @return KaiaRawTransaction this contains transaction hash and processed
* signature data
*/
@Override
- public KlayRawTransaction sign(KlayCredentials credentials, long chainId) {
+ public KaiaRawTransaction sign(KaiaCredentials credentials, long chainId) {
- Set newSignatureDataSet = getNewSenderSignatureDataSet(credentials, chainId);
+ Set newSignatureDataSet = getNewSenderSignatureDataSet(credentials, chainId);
addSenderSignatureData(newSignatureDataSet);
List rlpTypeList = new ArrayList<>(rlpValues());
List senderSignatureList = new ArrayList<>();
- for (KlaySignatureData klaySignatureData : getSenderSignatureDataSet()) {
- senderSignatureList.add(klaySignatureData.toRlpList());
+ for (KaiaSignatureData kaiaSignatureData : getSenderSignatureDataSet()) {
+ senderSignatureList.add(kaiaSignatureData.toRlpList());
}
rlpTypeList.add(new RlpList(senderSignatureList));
byte[] encodedTransaction = RlpEncoder.encode(new RlpList(rlpTypeList));
- byte[] type = { getKlayType().get() };
+ byte[] type = { getKaiaType().get() };
byte[] rawTx = BytesUtils.concat(type, encodedTransaction);
- return new KlayRawTransaction(this, rawTx, getSenderSignatureData());
+ return new KaiaRawTransaction(this, rawTx, getSenderSignatureData());
}
public long getChainId() {
return chainId;
}
- public TxType.Type getKlayType() {
+ public TxType.Type getKaiaType() {
return type;
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/KlayTransactionType.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/KaiaTransactionType.java
similarity index 79%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/KlayTransactionType.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/KaiaTransactionType.java
index 23dbe13ac..ed2e7cf45 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/KlayTransactionType.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/KaiaTransactionType.java
@@ -12,7 +12,7 @@
*/
package org.web3j.crypto.transaction.type;
-public enum KlayTransactionType {
+public enum KaiaTransactionType {
LEGACY(null),
EIP2930(((byte) 0x01)),
EIP1559(((byte) 0x02)),
@@ -20,7 +20,7 @@ public enum KlayTransactionType {
Byte type;
- KlayTransactionType(final Byte type) {
+ KaiaTransactionType(final Byte type) {
this.type = type;
}
@@ -29,15 +29,15 @@ public Byte getRlpType() {
}
public boolean isLegacy() {
- return this.equals(KlayTransactionType.LEGACY);
+ return this.equals(KaiaTransactionType.LEGACY);
}
public boolean isEip1559() {
- return this.equals(KlayTransactionType.EIP1559);
+ return this.equals(KaiaTransactionType.EIP1559);
}
public boolean isEip2930() {
- return this.equals(KlayTransactionType.EIP2930);
+ return this.equals(KaiaTransactionType.EIP2930);
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxType.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxType.java
index db2d8b3dc..5ac44d86b 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxType.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxType.java
@@ -16,9 +16,9 @@
package org.web3j.crypto.transaction.type;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlaySignatureData;
-import org.web3j.crypto.KlayRawTransaction;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaSignatureData;
+import org.web3j.crypto.KaiaRawTransaction;
import org.web3j.rlp.RlpType;
import java.util.List;
@@ -30,19 +30,19 @@ public interface TxType {
*
* @param credentials credential info of a signer
* @param chainId chain ID
- * @return KlaySignatureData processed signature data
+ * @return KaiaSignatureData processed signature data
*/
- KlaySignatureData getSignatureData(KlayCredentials credentials, int chainId);
+ KaiaSignatureData getSignatureData(KaiaCredentials credentials, int chainId);
/**
* rlp encoding for transaction hash(TxHash)
*
* @param credentials credential info of a signer
* @param chainId chain ID
- * @return KlayRawTransaction this contains transaction hash and processed
+ * @return KaiaRawTransaction this contains transaction hash and processed
* signature data
*/
- KlayRawTransaction sign(KlayCredentials credentials, long chainId);
+ KaiaRawTransaction sign(KaiaCredentials credentials, long chainId);
/**
* create RlpType List. List elements can be different depending on transaction
@@ -58,7 +58,7 @@ public interface TxType {
*
* @return Type transaction type
*/
- Type getKlayType();
+ Type getKaiaType();
/**
* create rlp encoded value for signature component
@@ -69,7 +69,7 @@ public interface TxType {
enum Type {
/**
- * This represents a type of transactions existed previously in Klaytn.
+ * This represents a type of transactions existed previously in Kaia.
*/
LEGACY((byte) 0x00),
@@ -96,12 +96,12 @@ enum Type {
FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO((byte) 0x22),
/**
- * This transfers KLAY only.
+ * This transfers KAIA only.
*/
VALUE_TRANSFER((byte) 0x08),
/**
- * This transfers KLAY with a memo.
+ * This transfers KAIA with a memo.
*/
VALUE_TRANSFER_MEMO((byte) 0x10),
@@ -117,12 +117,12 @@ enum Type {
FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO((byte) 0x0a),
/**
- * This transfers KLAY with a data. The fee is paid by the fee payer.
+ * This transfers KAIA with a data. The fee is paid by the fee payer.
*/
FEE_DELEGATED_VALUE_TRANSFER_MEMO((byte) 0x11),
/**
- * This transfers KLAY with a data. The given ratio of the transaction fee is
+ * This transfers KAIA with a data. The given ratio of the transaction fee is
* paid by the fee payer.
*/
FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO((byte) 0x12),
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeAccountUpdate.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeAccountUpdate.java
index 32e8eb141..07030a022 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeAccountUpdate.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeAccountUpdate.java
@@ -10,7 +10,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeAccountUpdate extends AbstractTxType {
@@ -66,7 +66,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.ACCOUNT_UPDATE;
}
@@ -79,7 +79,7 @@ public Type getKlayType() {
public static TxTypeAccountUpdate decodeFromRawTransaction(byte[] rawTransaction) {
//TxHashRLP = type + encode([nonce, gasPrice, gas, from, rlpEncodedKey, txSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeCancel.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeCancel.java
index e638716a1..c4e2bc2d6 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeCancel.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeCancel.java
@@ -7,7 +7,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeCancel extends AbstractTxType {
@@ -49,7 +49,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public TxType.Type getKlayType() {
+ public TxType.Type getKaiaType() {
return Type.CANCEL;
}
@@ -62,7 +62,7 @@ public TxType.Type getKlayType() {
public static TxTypeCancel decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, from, txSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeChainDataAnchoring.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeChainDataAnchoring.java
index 8f8400570..996902094 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeChainDataAnchoring.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeChainDataAnchoring.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
/**
@@ -71,7 +71,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.CHAIN_DATA_ANCHORING;
}
@@ -82,7 +82,7 @@ public Type getKlayType() {
* @return TxTypeChainDataAnchoringTransaction decoded transaction
*/
public static TxTypeChainDataAnchoring decodeFromRawTransaction(byte[] rawTransaction) {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegate.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegate.java
index 9ca86569e..daf7bc64d 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegate.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegate.java
@@ -6,9 +6,9 @@
import java.util.List;
import java.util.Set;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlaySignatureData;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaSignatureData;
import org.web3j.rlp.RlpEncoder;
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
@@ -20,7 +20,7 @@ public abstract class TxTypeFeeDelegate extends AbstractTxType {
final static String EMPTY_FEE_PAYER_ADDRESS = "0x30";
final static int DEFAULT_FEE_RATIO = 100;
- private Set feePayerSignatureData;
+ private Set feePayerSignatureData;
private String feePayer;
public TxTypeFeeDelegate(TxType.Type type, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit,
@@ -37,7 +37,7 @@ public TxTypeFeeDelegate(long chainId, TxType.Type type, BigInteger nonce, BigIn
this.feePayer = EMPTY_FEE_PAYER_ADDRESS;
}
- public Set getFeePayerSignatureData() {
+ public Set getFeePayerSignatureData() {
return feePayerSignatureData;
}
@@ -58,7 +58,7 @@ public BigInteger getFeeRatio() {
*
* @param feePayerSignatureData signature data signed by feePayer
*/
- public void addFeePayerSignatureData(KlaySignatureData feePayerSignatureData) {
+ public void addFeePayerSignatureData(KaiaSignatureData feePayerSignatureData) {
this.feePayerSignatureData.add(feePayerSignatureData);
}
@@ -67,7 +67,7 @@ public void addFeePayerSignatureData(KlaySignatureData feePayerSignatureData) {
*
* @param feePayerSignatureData signature data signed by feePayer
*/
- public void addFeePayerSignatureData(Set feePayerSignatureData) {
+ public void addFeePayerSignatureData(Set feePayerSignatureData) {
this.feePayerSignatureData.addAll(feePayerSignatureData);
}
@@ -84,7 +84,7 @@ protected void addFeePayerSignatureData(List signatureRlpTypeList) {
byte[] v = ((RlpString) vrs.get(0)).getBytes();
byte[] r = ((RlpString) vrs.get(1)).getBytes();
byte[] s = ((RlpString) vrs.get(2)).getBytes();
- addFeePayerSignatureData(new KlaySignatureData(v, r, s));
+ addFeePayerSignatureData(new KaiaSignatureData(v, r, s));
}
}
@@ -126,33 +126,33 @@ public void addSignatureData(TxTypeFeeDelegate txType) {
*
* @param credentials credential info of a signer
* @param chainId chain ID
- * @return KlayRawTransaction this contains transaction hash and processed
+ * @return KaiaRawTransaction this contains transaction hash and processed
* signature data
*/
@Override
- public KlayRawTransaction sign(KlayCredentials credentials, long chainId) {
- Set newSignatureDataSet = getNewSenderSignatureDataSet(credentials, chainId);
+ public KaiaRawTransaction sign(KaiaCredentials credentials, long chainId) {
+ Set newSignatureDataSet = getNewSenderSignatureDataSet(credentials, chainId);
addSenderSignatureData(newSignatureDataSet);
List rlpTypeList = new ArrayList<>(rlpValues());
List senderSignatureList = new ArrayList<>();
- for (KlaySignatureData klaySignatureData : getSenderSignatureDataSet()) {
- senderSignatureList.add(klaySignatureData.toRlpList());
+ for (KaiaSignatureData kaiaSignatureData : getSenderSignatureDataSet()) {
+ senderSignatureList.add(kaiaSignatureData.toRlpList());
}
rlpTypeList.add(new RlpList(senderSignatureList));
rlpTypeList.add(RlpString.create(Numeric.hexStringToByteArray(this.feePayer)));
List feePayerSignatureList = new ArrayList<>();
- for (KlaySignatureData klaySignatureData : this.feePayerSignatureData) {
- feePayerSignatureList.add(klaySignatureData.toRlpList());
+ for (KaiaSignatureData kaiaSignatureData : this.feePayerSignatureData) {
+ feePayerSignatureList.add(kaiaSignatureData.toRlpList());
}
rlpTypeList.add(new RlpList(feePayerSignatureList));
byte[] encodedTransaction = RlpEncoder.encode(new RlpList(rlpTypeList));
- byte[] type = { getKlayType().get() };
+ byte[] type = { getKaiaType().get() };
byte[] rawTx = BytesUtils.concat(type, encodedTransaction);
- return new KlayRawTransaction(this, rawTx, getSenderSignatureData());
+ return new KaiaRawTransaction(this, rawTx, getSenderSignatureData());
}
}
\ No newline at end of file
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdate.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdate.java
index 8e9a90e70..59347bbf2 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdate.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdate.java
@@ -9,7 +9,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedAccountUpdate extends TxTypeFeeDelegate {
@@ -62,7 +62,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_ACCOUNT_UPDATE;
}
@@ -75,7 +75,7 @@ public Type getKlayType() {
public static TxTypeFeeDelegatedAccountUpdate decodeFromRawTransaction(byte[] rawTransaction) {
//TxHashRLP = type + encode([nonce, gasPrice, gas, from, rlpEncodedKey, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdateWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdateWithRatio.java
index 84618fbff..cba6753dc 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdateWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedAccountUpdateWithRatio.java
@@ -9,7 +9,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedAccountUpdateWithRatio extends TxTypeFeeDelegate {
@@ -75,7 +75,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public TxType.Type getKlayType() {
+ public TxType.Type getKaiaType() {
return TxType.Type.FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO;
}
@@ -88,7 +88,7 @@ public TxType.Type getKlayType() {
public static TxTypeFeeDelegatedAccountUpdateWithRatio decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, feeRatio, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancel.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancel.java
index a5b10c631..9daf27428 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancel.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancel.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedCancel extends TxTypeFeeDelegate {
@@ -53,7 +53,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_CANCEL;
}
@@ -66,7 +66,7 @@ public Type getKlayType() {
public static TxTypeFeeDelegatedCancel decodeFromRawTransaction(byte[] rawTransaction) {
//TxHashRLP = type + encode([nonce, gasPrice, gas, from, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancelWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancelWithRatio.java
index 40dc001a2..4e796820e 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancelWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedCancelWithRatio.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
@@ -67,7 +67,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public TxType.Type getKlayType() {
+ public TxType.Type getKaiaType() {
return TxType.Type.FEE_DELEGATED_CANCEL_WITH_RATIO;
}
@@ -80,7 +80,7 @@ public TxType.Type getKlayType() {
public static TxTypeFeeDelegatedCancelWithRatio decodeFromRawTransaction(byte[] rawTransaction) {
//TxHashRLP = type + encode([nonce, gasPrice, gas, from, feeRatio, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoring.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoring.java
index 2d0c162da..3be574144 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoring.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoring.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
/**
@@ -71,7 +71,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING;
}
@@ -82,7 +82,7 @@ public Type getKlayType() {
* @return TxTypeChainDataAnchoringTransaction decoded transaction
*/
public static TxTypeFeeDelegatedChainDataAnchoring decodeFromRawTransaction(byte[] rawTransaction) {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoringWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoringWithRatio.java
index 6974a9ec2..13b55f1a9 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoringWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedChainDataAnchoringWithRatio.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
/**
@@ -76,7 +76,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_CHAIN_DATA_ANCHORING_WITH_RATIO;
}
@@ -87,7 +87,7 @@ public Type getKlayType() {
* @return TxTypeChainDataAnchoringTransaction decoded transaction
*/
public static TxTypeFeeDelegatedChainDataAnchoringWithRatio decodeFromRawTransaction(byte[] rawTransaction) {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeploy.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeploy.java
index f8f1044a4..ea270e397 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeploy.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeploy.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedSmartContractDeploy extends TxTypeFeeDelegate {
@@ -81,7 +81,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY;
}
@@ -94,7 +94,7 @@ public Type getKlayType() {
public static TxTypeFeeDelegatedSmartContractDeploy decodeFromRawTransaction(byte[] rawTransaction) {
//TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, humanReadable, codeFormat, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeployWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeployWithRatio.java
index 696ad0895..2bf115de6 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeployWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractDeployWithRatio.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedSmartContractDeployWithRatio extends TxTypeFeeDelegate {
@@ -96,7 +96,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY_WITH_RATIO;
}
@@ -109,7 +109,7 @@ public Type getKlayType() {
public static TxTypeFeeDelegatedSmartContractDeployWithRatio decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, humanReadable, feeRatio, codeFormat, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecution.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecution.java
index 9686d7eb2..642da29f6 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecution.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecution.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedSmartContractExecution extends TxTypeFeeDelegate {
@@ -70,7 +70,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION;
}
@@ -82,7 +82,7 @@ public Type getKlayType() {
*/
public static TxTypeFeeDelegatedSmartContractExecution decodeFromRawTransaction(byte[] rawTransaction) {
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecutionWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecutionWithRatio.java
index 422c8c839..29e0beea7 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecutionWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedSmartContractExecutionWithRatio.java
@@ -7,7 +7,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedSmartContractExecutionWithRatio extends TxTypeFeeDelegate {
@@ -82,7 +82,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public TxType.Type getKlayType() {
+ public TxType.Type getKaiaType() {
return TxType.Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO;
}
@@ -95,7 +95,7 @@ public TxType.Type getKlayType() {
public static TxTypeFeeDelegatedSmartContractExecutionWithRatio decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, txSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransfer.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransfer.java
index eeabbede5..a4fc746be 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransfer.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransfer.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedValueTransfer extends TxTypeFeeDelegate {
@@ -58,7 +58,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public TxType.Type getKlayType() {
+ public TxType.Type getKaiaType() {
return TxType.Type.FEE_DELEGATED_VALUE_TRANSFER;
}
@@ -73,7 +73,7 @@ public static TxTypeFeeDelegatedValueTransfer decodeFromRawTransaction(byte[] ra
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from,
// txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemo.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemo.java
index 4412bdeac..7419b5e8d 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemo.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemo.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedValueTransferMemo extends TxTypeFeeDelegate {
@@ -45,7 +45,7 @@ public byte[] getPayload() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO;
}
@@ -74,7 +74,7 @@ public List rlpValues() {
public static TxTypeFeeDelegatedValueTransferMemo decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemoWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemoWithRatio.java
index b01bda861..e04fae9d8 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemoWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferMemoWithRatio.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedValueTransferMemoWithRatio extends TxTypeFeeDelegate {
@@ -60,7 +60,7 @@ public BigInteger getFeeRatio() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO;
}
@@ -90,7 +90,7 @@ public List rlpValues() {
public static TxTypeFeeDelegatedValueTransferMemoWithRatio decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, feeRatio, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferWithRatio.java
index 0136693ec..666e1803a 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeFeeDelegatedValueTransferWithRatio.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeFeeDelegatedValueTransferWithRatio extends TxTypeFeeDelegate {
@@ -67,7 +67,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO;
}
@@ -80,7 +80,7 @@ public Type getKlayType() {
public static TxTypeFeeDelegatedValueTransferWithRatio decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, feeRatio, txSignatures, feePayer, feePayerSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractDeploy.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractDeploy.java
index d76910ea6..ece510f94 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractDeploy.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractDeploy.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeSmartContractDeploy extends AbstractTxType {
@@ -83,7 +83,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.SMART_CONTRACT_DEPLOY;
}
@@ -96,7 +96,7 @@ public Type getKlayType() {
public static TxTypeSmartContractDeploy decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, humanReadable, codeFormat, txSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractExecution.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractExecution.java
index a61380c1d..ab880c8e4 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractExecution.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeSmartContractExecution.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
public class TxTypeSmartContractExecution extends AbstractTxType {
@@ -70,7 +70,7 @@ public List rlpValues() {
* @return Type transaction type
*/
@Override
- public TxType.Type getKlayType() {
+ public TxType.Type getKaiaType() {
return TxType.Type.SMART_CONTRACT_EXECUTION;
}
@@ -83,7 +83,7 @@ public TxType.Type getKlayType() {
public static TxTypeSmartContractExecution decodeFromRawTransaction(byte[] rawTransaction) {
//TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, txSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransfer.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransfer.java
index 70a205601..364b83d6f 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransfer.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransfer.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
/**
@@ -47,7 +47,7 @@ public static TxTypeValueTransfer createTransaction(
public static TxTypeValueTransfer decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, txSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
@@ -81,7 +81,7 @@ public static TxTypeValueTransfer decodeFromRawTransaction(String rawTransaction
*
* @return Type transaction type
*/
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.VALUE_TRANSFER;
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransferMemo.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransferMemo.java
index 92e9de033..4c0293791 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransferMemo.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/crypto/transaction/type/TxTypeValueTransferMemo.java
@@ -8,7 +8,7 @@
import org.web3j.rlp.RlpList;
import org.web3j.rlp.RlpString;
import org.web3j.rlp.RlpType;
-import org.web3j.utils.KlayTransactionUtils;
+import org.web3j.utils.KaiaTransactionUtils;
import org.web3j.utils.Numeric;
/**
@@ -51,7 +51,7 @@ public static TxTypeValueTransferMemo createTransaction(
public static TxTypeValueTransferMemo decodeFromRawTransaction(byte[] rawTransaction) {
// TxHashRLP = type + encode([nonce, gasPrice, gas, to, value, from, input, txSignatures])
try {
- byte[] rawTransactionExceptType = KlayTransactionUtils.getRawTransactionNoType(rawTransaction);
+ byte[] rawTransactionExceptType = KaiaTransactionUtils.getRawTransactionNoType(rawTransaction);
RlpList rlpList = RlpDecoder.decode(rawTransactionExceptType);
List values = ((RlpList) rlpList.getValues().get(0)).getValues();
@@ -91,7 +91,7 @@ public byte[] getPayload() {
* @return Type transaction type
*/
@Override
- public Type getKlayType() {
+ public Type getKaiaType() {
return Type.VALUE_TRANSFER_MEMO;
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/README.md b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/README.md
index 8196e7d01..18c50a8aa 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/README.md
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/README.md
@@ -1,6 +1,6 @@
# web3j-ext examples
-- [accountKey](./accountKey) Klaytn AccountKey types
+- [accountKey](./accountKey) Kaia AccountKey types
- [contracts](./contracts) Smart contract usage
-- [transactions](./transactions) Klaytn transaction types
+- [transactions](./transactions) Kaia transaction types
- [utils](./utils) Utility functions
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithLegacyExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithLegacyExample.java
index ea3bf07fb..b86d7af3c 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithLegacyExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithLegacyExample.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.account.AccountKeyLegacy;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeAccountUpdate;
@@ -15,16 +15,16 @@
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.http.HttpService;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class AccountUpdateWithLegacyExample {
public static void run() throws Exception {
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
@@ -39,7 +39,7 @@ public static void run() throws Exception {
TxType.Type type = Type.ACCOUNT_UPDATE;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -47,7 +47,7 @@ public static void run() throws Exception {
from,
accountkey);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -61,13 +61,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeAccountUpdate rawTransaction = TxTypeAccountUpdate.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithMultiSigExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithMultiSigExample.java
index 496865fd6..8801e8419 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithMultiSigExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithMultiSigExample.java
@@ -7,9 +7,9 @@
import java.math.BigInteger;
import java.util.List;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.account.AccountKeyPublic;
import org.web3j.crypto.transaction.account.AccountKeyWeightedMultiSig;
import org.web3j.crypto.transaction.account.AccountKeyWeightedMultiSig.WeightedPublicKey;
@@ -19,19 +19,19 @@
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.http.HttpService;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class AccountUpdateWithMultiSigExample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credential1 = KlayCredentials.create(keySample.MULTI_KEY_privkey1, keySample.MULTI_KEY_address);
- KlayCredentials credential2 = KlayCredentials.create(keySample.MULTI_KEY_privkey2, keySample.MULTI_KEY_address);
- KlayCredentials credential3 = KlayCredentials.create(keySample.MULTI_KEY_privkey3, keySample.MULTI_KEY_address);
+ KaiaCredentials credential1 = KaiaCredentials.create(keySample.MULTI_KEY_privkey1, keySample.MULTI_KEY_address);
+ KaiaCredentials credential2 = KaiaCredentials.create(keySample.MULTI_KEY_privkey2, keySample.MULTI_KEY_address);
+ KaiaCredentials credential3 = KaiaCredentials.create(keySample.MULTI_KEY_privkey3, keySample.MULTI_KEY_address);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -60,7 +60,7 @@ public static void run() throws Exception {
TxType.Type type = Type.ACCOUNT_UPDATE;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -68,8 +68,8 @@ public static void run() throws Exception {
from,
accountkey);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credential1);
- signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credential2);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credential1);
+ signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credential2);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -83,13 +83,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeAccountUpdate rawTransaction = TxTypeAccountUpdate.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithPubKeyExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithPubKeyExample.java
index 8295f0025..bc794f831 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithPubKeyExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithPubKeyExample.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.account.AccountKeyPublic;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeAccountUpdate;
@@ -15,16 +15,16 @@
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.http.HttpService;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class AccountUpdateWithPubKeyExample {
public static void run() throws Exception {
- KlayCredentials credentials = KlayCredentials.create(keySample.PUBLIC_KEY_privkey, keySample.PUBLIC_KEY_address);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.PUBLIC_KEY_privkey, keySample.PUBLIC_KEY_address);
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
@@ -41,7 +41,7 @@ public static void run() throws Exception {
TxType.Type type = Type.ACCOUNT_UPDATE;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -49,7 +49,7 @@ public static void run() throws Exception {
from,
accountkey);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -63,13 +63,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeAccountUpdate rawTransaction = TxTypeAccountUpdate.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithRoleBasedExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithRoleBasedExample.java
index 9324c831c..2a88ff97a 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithRoleBasedExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/AccountUpdateWithRoleBasedExample.java
@@ -7,9 +7,9 @@
import java.math.BigInteger;
import java.util.List;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.account.AccountKey;
import org.web3j.crypto.transaction.account.AccountKeyPublic;
import org.web3j.crypto.transaction.account.AccountKeyRoleBased;
@@ -21,19 +21,19 @@
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.http.HttpService;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class AccountUpdateWithRoleBasedExample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credential1 = KlayCredentials.create(keySample.ROLEBASED_KEY_transactionkey, keySample.ROLEBASED_KEY_address);
- KlayCredentials credential2 = KlayCredentials.create(keySample.ROLEBASED_KEY_updatekey, keySample.ROLEBASED_KEY_address);
- KlayCredentials credential3 = KlayCredentials.create(keySample.ROLEBASED_KEY_feepayer, keySample.ROLEBASED_KEY_address);
+ KaiaCredentials credential1 = KaiaCredentials.create(keySample.ROLEBASED_KEY_transactionkey, keySample.ROLEBASED_KEY_address);
+ KaiaCredentials credential2 = KaiaCredentials.create(keySample.ROLEBASED_KEY_updatekey, keySample.ROLEBASED_KEY_address);
+ KaiaCredentials credential3 = KaiaCredentials.create(keySample.ROLEBASED_KEY_feepayer, keySample.ROLEBASED_KEY_address);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -56,7 +56,7 @@ public static void run() throws Exception {
TxType.Type type = Type.ACCOUNT_UPDATE;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -64,7 +64,7 @@ public static void run() throws Exception {
from,
accountkey);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credential2);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credential2);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -78,13 +78,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeAccountUpdate rawTransaction = TxTypeAccountUpdate.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithLegacyExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithLegacyExample.java
index 69799e31a..536cb4a8e 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithLegacyExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithLegacyExample.java
@@ -4,12 +4,12 @@
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
import java.io.IOException;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlaySignatureData;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaSignatureData;
import org.web3j.crypto.Sign.SignatureData;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromMessageResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromMessageResponse;
/**
*
@@ -21,15 +21,15 @@ public class SignMsgAndRecoverWithLegacyExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
String from = credentials1.getAddress();
String message = "0xdeadbeef";
String blockNumber = "latest";
- SignatureData signature = KlaySignatureData.signPrefixedMessage(message, credentials1);
- String result = KlaySignatureData.getSignatureString(signature);
+ SignatureData signature = KaiaSignatureData.signPrefixedMessage(message, credentials1);
+ String result = KaiaSignatureData.getSignatureString(signature);
- KlayRecoverFromMessageResponse response = web3j.klayRecoverFromMessage(from, message, result, blockNumber)
+ KaiaRecoverFromMessageResponse response = web3j.kaiaRecoverFromMessage(from, message, result, blockNumber)
.send();
System.out.println("Original address : " + from);
System.out.println("Result address : " + response.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithMultiSigExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithMultiSigExample.java
index 2abecbf14..cc6d37581 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithMultiSigExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithMultiSigExample.java
@@ -4,12 +4,12 @@
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
import java.io.IOException;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlaySignatureData;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaSignatureData;
import org.web3j.crypto.Sign.SignatureData;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromMessageResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromMessageResponse;
/**
*
@@ -21,35 +21,35 @@ public class SignMsgAndRecoverWithMultiSigExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.MULTI_KEY_privkey1,
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.MULTI_KEY_privkey1,
keySample.MULTI_KEY_address);
- KlayCredentials credentials2 = KlayCredentials.create(keySample.MULTI_KEY_privkey2,
+ KaiaCredentials credentials2 = KaiaCredentials.create(keySample.MULTI_KEY_privkey2,
keySample.MULTI_KEY_address);
- KlayCredentials credentials3 = KlayCredentials.create(keySample.MULTI_KEY_privkey3,
+ KaiaCredentials credentials3 = KaiaCredentials.create(keySample.MULTI_KEY_privkey3,
keySample.MULTI_KEY_address);
String from = credentials1.getAddress();
String message = "0xdeadbeef";
String blockNumber = "latest";
- SignatureData signature1 = KlaySignatureData.signPrefixedMessage(message, credentials1);
- String result1 = KlaySignatureData.getSignatureString(signature1);
+ SignatureData signature1 = KaiaSignatureData.signPrefixedMessage(message, credentials1);
+ String result1 = KaiaSignatureData.getSignatureString(signature1);
- SignatureData signature2 = KlaySignatureData.signPrefixedMessage(message, credentials2);
- String result2 = KlaySignatureData.getSignatureString(signature2);
+ SignatureData signature2 = KaiaSignatureData.signPrefixedMessage(message, credentials2);
+ String result2 = KaiaSignatureData.getSignatureString(signature2);
- SignatureData signature3 = KlaySignatureData.signPrefixedMessage(message, credentials3);
- String result3 = KlaySignatureData.getSignatureString(signature3);
+ SignatureData signature3 = KaiaSignatureData.signPrefixedMessage(message, credentials3);
+ String result3 = KaiaSignatureData.getSignatureString(signature3);
- KlayRecoverFromMessageResponse response1 = web3j
- .klayRecoverFromMessage(from, message, result1, blockNumber)
+ KaiaRecoverFromMessageResponse response1 = web3j
+ .kaiaRecoverFromMessage(from, message, result1, blockNumber)
.send();
- KlayRecoverFromMessageResponse response2 = web3j
- .klayRecoverFromMessage(from, message, result2, blockNumber)
+ KaiaRecoverFromMessageResponse response2 = web3j
+ .kaiaRecoverFromMessage(from, message, result2, blockNumber)
.send();
- KlayRecoverFromMessageResponse response3 = web3j
- .klayRecoverFromMessage(from, message, result3, blockNumber)
+ KaiaRecoverFromMessageResponse response3 = web3j
+ .kaiaRecoverFromMessage(from, message, result3, blockNumber)
.send();
System.out.println("Original address : " + from);
System.out.println("Result address for key 1 : " + response1.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithPubkeyExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithPubkeyExample.java
index 8a1e94298..e99049c09 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithPubkeyExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithPubkeyExample.java
@@ -4,12 +4,12 @@
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
import java.io.IOException;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlaySignatureData;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaSignatureData;
import org.web3j.crypto.Sign.SignatureData;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromMessageResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromMessageResponse;
/**
*
@@ -21,16 +21,16 @@ public class SignMsgAndRecoverWithPubkeyExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.PUBLIC_KEY_privkey,
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.PUBLIC_KEY_privkey,
keySample.PUBLIC_KEY_address);
String from = credentials1.getAddress();
String message = "0xdeadbeef";
String blockNumber = "latest";
- SignatureData signature = KlaySignatureData.signPrefixedMessage(message, credentials1);
- String result = KlaySignatureData.getSignatureString(signature);
+ SignatureData signature = KaiaSignatureData.signPrefixedMessage(message, credentials1);
+ String result = KaiaSignatureData.getSignatureString(signature);
- KlayRecoverFromMessageResponse response = web3j.klayRecoverFromMessage(from, message, result, blockNumber)
+ KaiaRecoverFromMessageResponse response = web3j.kaiaRecoverFromMessage(from, message, result, blockNumber)
.send();
System.out.println("Original address : " + from);
System.out.println("Result address : " + response.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithRoleBasedExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithRoleBasedExample.java
index 73e79d7f4..c3febc93b 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithRoleBasedExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignMsgAndRecoverWithRoleBasedExample.java
@@ -4,12 +4,12 @@
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
import java.io.IOException;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlaySignatureData;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaSignatureData;
import org.web3j.crypto.Sign.SignatureData;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromMessageResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromMessageResponse;
/**
*
@@ -21,35 +21,35 @@ public class SignMsgAndRecoverWithRoleBasedExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.ROLEBASED_KEY_transactionkey,
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.ROLEBASED_KEY_transactionkey,
keySample.ROLEBASED_KEY_address);
- KlayCredentials credentials2 = KlayCredentials.create(keySample.ROLEBASED_KEY_updatekey,
+ KaiaCredentials credentials2 = KaiaCredentials.create(keySample.ROLEBASED_KEY_updatekey,
keySample.ROLEBASED_KEY_address);
- KlayCredentials credentials3 = KlayCredentials.create(keySample.ROLEBASED_KEY_feepayer,
+ KaiaCredentials credentials3 = KaiaCredentials.create(keySample.ROLEBASED_KEY_feepayer,
keySample.ROLEBASED_KEY_address);
String from = credentials1.getAddress();
String message = "0xdeadbeef";
String blockNumber = "latest";
- SignatureData signature1 = KlaySignatureData.signPrefixedMessage(message, credentials1);
- String result1 = KlaySignatureData.getSignatureString(signature1);
+ SignatureData signature1 = KaiaSignatureData.signPrefixedMessage(message, credentials1);
+ String result1 = KaiaSignatureData.getSignatureString(signature1);
- SignatureData signature2 = KlaySignatureData.signPrefixedMessage(message, credentials2);
- String result2 = KlaySignatureData.getSignatureString(signature2);
+ SignatureData signature2 = KaiaSignatureData.signPrefixedMessage(message, credentials2);
+ String result2 = KaiaSignatureData.getSignatureString(signature2);
- SignatureData signature3 = KlaySignatureData.signPrefixedMessage(message, credentials3);
- String result3 = KlaySignatureData.getSignatureString(signature3);
+ SignatureData signature3 = KaiaSignatureData.signPrefixedMessage(message, credentials3);
+ String result3 = KaiaSignatureData.getSignatureString(signature3);
- KlayRecoverFromMessageResponse response1 = web3j
- .klayRecoverFromMessage(from, message, result1, blockNumber)
+ KaiaRecoverFromMessageResponse response1 = web3j
+ .kaiaRecoverFromMessage(from, message, result1, blockNumber)
.send();
- KlayRecoverFromMessageResponse response2 = web3j
- .klayRecoverFromMessage(from, message, result2, blockNumber)
+ KaiaRecoverFromMessageResponse response2 = web3j
+ .kaiaRecoverFromMessage(from, message, result2, blockNumber)
.send();
- KlayRecoverFromMessageResponse response3 = web3j
- .klayRecoverFromMessage(from, message, result3, blockNumber)
+ KaiaRecoverFromMessageResponse response3 = web3j
+ .kaiaRecoverFromMessage(from, message, result3, blockNumber)
.send();
System.out.println("Original address : " + from);
System.out.println("Result address for transaction key : " + response1.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithLegacyExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithLegacyExample.java
index 398945be0..1b8f2aef9 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithLegacyExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithLegacyExample.java
@@ -5,16 +5,16 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxType.Type;
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromTransactionResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromTransactionResponse;
import org.web3j.utils.Numeric;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
@@ -28,7 +28,7 @@ public class SignTxAndRecoverWithLegacyExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -42,7 +42,7 @@ public static void run() throws Exception {
TxType.Type type = Type.VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -51,13 +51,13 @@ public static void run() throws Exception {
value,
from);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials1);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials1);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
String blockNumber = "latest";
- KlayRecoverFromTransactionResponse response = web3j.klayRecoverFromTransaction(hexValue, blockNumber).send();
+ KaiaRecoverFromTransactionResponse response = web3j.kaiaRecoverFromTransaction(hexValue, blockNumber).send();
System.out.println("Original address : " + from);
System.out.println("Result address : " + response.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithMultiSigExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithMultiSigExample.java
index 7b7df3957..c5a3c9839 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithMultiSigExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithMultiSigExample.java
@@ -5,16 +5,16 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxType.Type;
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromTransactionResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromTransactionResponse;
import org.web3j.utils.Numeric;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
@@ -28,11 +28,11 @@ public class SignTxAndRecoverWithMultiSigExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.MULTI_KEY_privkey1,
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.MULTI_KEY_privkey1,
keySample.MULTI_KEY_address);
- KlayCredentials credentials2 = KlayCredentials.create(keySample.MULTI_KEY_privkey2,
+ KaiaCredentials credentials2 = KaiaCredentials.create(keySample.MULTI_KEY_privkey2,
keySample.MULTI_KEY_address);
- KlayCredentials credentials3 = KlayCredentials.create(keySample.MULTI_KEY_privkey3,
+ KaiaCredentials credentials3 = KaiaCredentials.create(keySample.MULTI_KEY_privkey3,
keySample.MULTI_KEY_address);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
@@ -47,7 +47,7 @@ public static void run() throws Exception {
TxType.Type type = Type.VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -56,16 +56,16 @@ public static void run() throws Exception {
value,
from);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials1);
- signedMessage = KlayTransactionEncoder.signMessage(signedMessage, chainId, credentials2);
- signedMessage = KlayTransactionEncoder.signMessage(signedMessage, chainId, credentials3);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials1);
+ signedMessage = KaiaTransactionEncoder.signMessage(signedMessage, chainId, credentials2);
+ signedMessage = KaiaTransactionEncoder.signMessage(signedMessage, chainId, credentials3);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
String blockNumber = "latest";
- KlayRecoverFromTransactionResponse response = web3j.klayRecoverFromTransaction(hexValue, blockNumber)
+ KaiaRecoverFromTransactionResponse response = web3j.kaiaRecoverFromTransaction(hexValue, blockNumber)
.send();
System.out.println("Original address : " + from);
System.out.println("Result address : " + response.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithPubkeyExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithPubkeyExample.java
index 33e47fbea..b1df0da0b 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithPubkeyExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithPubkeyExample.java
@@ -5,16 +5,16 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxType.Type;
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromTransactionResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromTransactionResponse;
import org.web3j.utils.Numeric;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
@@ -28,7 +28,7 @@ public class SignTxAndRecoverWithPubkeyExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.PUBLIC_KEY_privkey,
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.PUBLIC_KEY_privkey,
keySample.PUBLIC_KEY_address);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
@@ -43,7 +43,7 @@ public static void run() throws Exception {
TxType.Type type = Type.VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -52,13 +52,13 @@ public static void run() throws Exception {
value,
from);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials1);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials1);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
String blockNumber = "latest";
- KlayRecoverFromTransactionResponse response = web3j.klayRecoverFromTransaction(hexValue, blockNumber)
+ KaiaRecoverFromTransactionResponse response = web3j.kaiaRecoverFromTransaction(hexValue, blockNumber)
.send();
System.out.println("Original address : " + from);
System.out.println("Result address : " + response.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithRoleBasedExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithRoleBasedExample.java
index b33dc56ee..6160ad112 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithRoleBasedExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/accountKey/SignTxAndRecoverWithRoleBasedExample.java
@@ -5,16 +5,16 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxType.Type;
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromTransactionResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromTransactionResponse;
import org.web3j.utils.Numeric;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
@@ -28,7 +28,7 @@ public class SignTxAndRecoverWithRoleBasedExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials1 = KlayCredentials.create(keySample.ROLEBASED_KEY_transactionkey,
+ KaiaCredentials credentials1 = KaiaCredentials.create(keySample.ROLEBASED_KEY_transactionkey,
keySample.ROLEBASED_KEY_address);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
@@ -43,7 +43,7 @@ public static void run() throws Exception {
TxType.Type type = Type.VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -52,13 +52,13 @@ public static void run() throws Exception {
value,
from);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials1);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials1);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
String blockNumber = "latest";
- KlayRecoverFromTransactionResponse response = web3j.klayRecoverFromTransaction(hexValue, blockNumber)
+ KaiaRecoverFromTransactionResponse response = web3j.kaiaRecoverFromTransaction(hexValue, blockNumber)
.send();
System.out.println("Original address : " + from);
System.out.println("Result address : " + response.getResult());
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/DeployContractExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/DeployContractExample.java
index 70024fcf8..1d0fac4c3 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/DeployContractExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/DeployContractExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeSmartContractDeploy;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -12,9 +12,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
@@ -29,7 +29,7 @@ public class DeployContractExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -46,7 +46,7 @@ public static void run() throws Exception {
BigInteger codeFormat = BigInteger.ZERO;
TxType.Type type = Type.SMART_CONTRACT_DEPLOY;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -57,7 +57,7 @@ public static void run() throws Exception {
payload,
codeFormat);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -71,14 +71,14 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeSmartContractDeploy rawTransaction = TxTypeSmartContractDeploy
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/ReadContractExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/ReadContractExample.java
index ea68a9f5e..7e1c484ea 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/ReadContractExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/ReadContractExample.java
@@ -1,12 +1,12 @@
package org.web3j.example.contracts;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaCredentials;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.tx.gas.StaticGasProvider;
public class ReadContractExample {
@@ -17,7 +17,7 @@ public class ReadContractExample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
String contractAddr = "0x95Be48607498109030592C08aDC9577c7C2dD505";
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractExample.java
index a56deae63..9936326eb 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractExample.java
@@ -1,12 +1,12 @@
package org.web3j.example.contracts;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaCredentials;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.tx.gas.StaticGasProvider;
public class WriteContractExample {
@@ -17,7 +17,7 @@ public class WriteContractExample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
String contractAddr = "0x95Be48607498109030592C08aDC9577c7C2dD505";
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithFeeDelegationExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithFeeDelegationExample.java
index 38e743e30..26ebb9ed4 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithFeeDelegationExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithFeeDelegationExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedSmartContractExecution;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -16,10 +16,10 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.KlayCallResponse;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.KaiaCallResponse;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.gas.StaticGasProvider;
import org.web3j.abi.FunctionEncoder;
import org.web3j.abi.datatypes.Function;
@@ -35,8 +35,8 @@ public class WriteContractWithFeeDelegationExample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feePayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feePayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
String contractAddr = "0x95Be48607498109030592C08aDC9577c7C2dD505";
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -61,7 +61,7 @@ public static void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -72,10 +72,10 @@ public static void run() throws Exception {
payload);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feePayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feePayer);
String hexValue = Numeric.toHexString(signedMessage);
web3j.ethSendRawTransaction(hexValue).send();
try {
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithKlaytnTxTypeExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithKaiaTxTypeExample.java
similarity index 86%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithKlaytnTxTypeExample.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithKaiaTxTypeExample.java
index 620370884..65815d337 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithKlaytnTxTypeExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/contracts/WriteContractWithKaiaTxTypeExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedSmartContractExecution;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -16,10 +16,10 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.KlayCallResponse;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.KaiaCallResponse;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.gas.StaticGasProvider;
import org.web3j.abi.FunctionEncoder;
import org.web3j.abi.datatypes.Function;
@@ -27,7 +27,7 @@
import java.util.Arrays;
import java.util.Collections;
-public class WriteContractWithKlaytnTxTypeExample {
+public class WriteContractWithKaiaTxTypeExample {
/**
* @throws Exception
*
@@ -35,7 +35,7 @@ public class WriteContractWithKlaytnTxTypeExample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
String contractAddr = "0x95Be48607498109030592C08aDC9577c7C2dD505";
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -60,7 +60,7 @@ public static void run() throws Exception {
TxType.Type type = Type.SMART_CONTRACT_EXECUTION;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -71,7 +71,7 @@ public static void run() throws Exception {
payload);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
web3j.ethSendRawTransaction(hexValue).send();
try {
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/AccountUpdateExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/AccountUpdateExample.java
index 3352e244b..57d63429a 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/AccountUpdateExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/AccountUpdateExample.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.account.AccountKeyPublic;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeAccountUpdate;
@@ -15,10 +15,10 @@
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.http.HttpService;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -28,10 +28,10 @@ public class AccountUpdateExample implements keySample {
*
*/
- public static void run(KlayCredentials credentials) throws Exception {
+ public static void run(KaiaCredentials credentials) throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials new_credentials = KlayCredentials.create(PUBLIC_KEY_privkey, PUBLIC_KEY_address);
+ KaiaCredentials new_credentials = KaiaCredentials.create(PUBLIC_KEY_privkey, PUBLIC_KEY_address);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -47,7 +47,7 @@ public static void run(KlayCredentials credentials) throws Exception {
TxType.Type type = Type.ACCOUNT_UPDATE;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -55,7 +55,7 @@ public static void run(KlayCredentials credentials) throws Exception {
from,
accountkey);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -69,13 +69,13 @@ public static void run(KlayCredentials credentials) throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeAccountUpdate rawTransaction = TxTypeAccountUpdate.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/CancelExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/CancelExample.java
index 2f0a7add2..deb6f050d 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/CancelExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/CancelExample.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeCancel;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -15,9 +15,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -30,7 +30,7 @@ public class CancelExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -42,14 +42,14 @@ public static void run() throws Exception {
TxType.Type type = Type.CANCEL;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
GAS_LIMIT,
from);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -63,13 +63,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeCancel rawTransaction = TxTypeCancel.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateExample.java
index e0f5b864a..565fda529 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateExample.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.account.AccountKeyPublic;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedAccountUpdate;
@@ -16,20 +16,20 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
*/
public class FeeDelegatedAccountUpdateExample implements keySample {
- public static void run(KlayCredentials credentials) throws Exception {
+ public static void run(KaiaCredentials credentials) throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials new_credentials = KlayCredentials.create(PUBLIC_KEY_privkey, PUBLIC_KEY_address);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials new_credentials = KaiaCredentials.create(PUBLIC_KEY_privkey, PUBLIC_KEY_address);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
String from = credentials.getAddress();
@@ -44,7 +44,7 @@ public static void run(KlayCredentials credentials) throws Exception {
TxType.Type type = Type.FEE_DELEGATED_ACCOUNT_UPDATE;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -53,10 +53,10 @@ public static void run(KlayCredentials credentials) throws Exception {
accountkey);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -70,14 +70,14 @@ public static void run(KlayCredentials credentials) throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedAccountUpdate rawTransaction = TxTypeFeeDelegatedAccountUpdate
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateWithRatioExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateWithRatioExample.java
index da1d057c5..cb8f34dff 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateWithRatioExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedAccountUpdateWithRatioExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.account.AccountKeyPublic;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedAccountUpdate;
@@ -16,20 +16,20 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
*/
public class FeeDelegatedAccountUpdateWithRatioExample implements keySample {
- public static void run(KlayCredentials credentials) throws Exception {
+ public static void run(KaiaCredentials credentials) throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials new_credentials = KlayCredentials.create(PUBLIC_KEY_privkey, PUBLIC_KEY_address);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials new_credentials = KaiaCredentials.create(PUBLIC_KEY_privkey, PUBLIC_KEY_address);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
String from = credentials.getAddress();
@@ -44,7 +44,7 @@ public static void run(KlayCredentials credentials) throws Exception {
TxType.Type type = Type.FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -54,10 +54,10 @@ public static void run(KlayCredentials credentials) throws Exception {
feeRatio);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -71,14 +71,14 @@ public static void run(KlayCredentials credentials) throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedAccountUpdate rawTransaction = TxTypeFeeDelegatedAccountUpdate
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelExample.java
index 12b9ffac1..c4fcf97a9 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedCancel;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -15,9 +15,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -30,8 +30,8 @@ public class FeeDelegatedCancelExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -43,7 +43,7 @@ public static void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_CANCEL;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -51,10 +51,10 @@ public static void run() throws Exception {
from);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -69,13 +69,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedCancel rawTransaction = TxTypeFeeDelegatedCancel.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelWithRatioExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelWithRatioExample.java
index abb104467..edff44df3 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelWithRatioExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedCancelWithRatioExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedCancelWithRatio;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -15,9 +15,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -29,8 +29,8 @@ public class FeeDelegatedCancelWithRatioExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
String from = credentials.getAddress();
@@ -41,7 +41,7 @@ public static void run() throws Exception {
BigInteger feeRatio = BigInteger.valueOf(30);
TxType.Type type = Type.FEE_DELEGATED_CANCEL_WITH_RATIO;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -50,10 +50,10 @@ public static void run() throws Exception {
feeRatio);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -67,14 +67,14 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedCancelWithRatio rawTransaction = TxTypeFeeDelegatedCancelWithRatio
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployExample.java
index 514f679ab..d38d91ef7 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeSmartContractDeploy;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -15,9 +15,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -29,8 +29,8 @@ public class FeeDelegatedSmartContractDeployExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -48,7 +48,7 @@ public static void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -60,10 +60,10 @@ public static void run() throws Exception {
codeFormat);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -78,12 +78,12 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeSmartContractDeploy rawTransaction = TxTypeSmartContractDeploy.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployWithRatioExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployWithRatioExample.java
index 62ec483cc..7d8cf4b3b 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployWithRatioExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractDeployWithRatioExample.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxType.Type;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedSmartContractDeployWithRatio;
@@ -15,9 +15,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -29,8 +29,8 @@ public class FeeDelegatedSmartContractDeployWithRatioExample implements keySampl
public void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
String from = credentials.getAddress();
@@ -48,7 +48,7 @@ public void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_SMART_CONTRACT_DEPLOY;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -61,10 +61,10 @@ public void run() throws Exception {
feeRatio);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -78,13 +78,13 @@ public void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedSmartContractDeployWithRatio rawTransaction = TxTypeFeeDelegatedSmartContractDeployWithRatio
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionExample.java
index fe5d897fe..e66ca5fb9 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionExample.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedSmartContractExecution;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -15,9 +15,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -29,8 +29,8 @@ public class FeeDelegatedSmartContractExecutionExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -47,7 +47,7 @@ public static void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -58,10 +58,10 @@ public static void run() throws Exception {
payload);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -75,13 +75,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedSmartContractExecution rawTransaction = TxTypeFeeDelegatedSmartContractExecution
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionWithRatio.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionWithRatio.java
index 3ae3cdc2a..3281657c7 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionWithRatio.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedSmartContractExecutionWithRatio.java
@@ -5,9 +5,9 @@
import org.web3j.example.keySample;
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedSmartContractExecutionWithRatio;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -15,9 +15,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -29,8 +29,8 @@ public class FeeDelegatedSmartContractExecutionWithRatio implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -47,7 +47,7 @@ public static void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -59,10 +59,10 @@ public static void run() throws Exception {
feeRatio);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -75,13 +75,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedSmartContractExecutionWithRatio rawTransaction = TxTypeFeeDelegatedSmartContractExecutionWithRatio
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferExample.java
index 9296b0564..1bc3ff235 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferExample.java
@@ -6,9 +6,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedValueTransfer;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -16,16 +16,16 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class FeeDelegatedValueTransferExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -39,7 +39,7 @@ public static void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -49,10 +49,10 @@ public static void run() throws Exception {
from);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -67,12 +67,12 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedValueTransfer rawTransaction = TxTypeFeeDelegatedValueTransfer
.decodeFromRawTransaction(hexValue);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoExample.java
index 9c4851e94..26e9fa2b3 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoExample.java
@@ -6,9 +6,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeFeeDelegatedValueTransferMemo;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -16,16 +16,16 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class FeeDelegatedValueTransferMemoExample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -36,12 +36,12 @@ public static void run() throws Exception {
BigInteger nonce = web3j.ethGetTransactionCount(from, DefaultBlockParameterName.LATEST).send()
.getTransactionCount();
BigInteger value = BigInteger.valueOf(100);
- String data = "Klaytn Web3j";
+ String data = "Kaia Web3j";
byte[] payload = data.getBytes();
TxType.Type type = Type.FEE_DELEGATED_VALUE_TRANSFER_MEMO;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -52,10 +52,10 @@ public static void run() throws Exception {
payload);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -66,13 +66,13 @@ public static void run() throws Exception {
} catch (Exception e) {
System.out.println(e);
}
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeFeeDelegatedValueTransferMemo rawTransaction = TxTypeFeeDelegatedValueTransferMemo
.decodeFromRawTransaction(hexValue);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoWithRatioExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoWithRatioExample.java
index 87789706f..e1d3be175 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoWithRatioExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferMemoWithRatioExample.java
@@ -6,9 +6,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeValueTransfer;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -16,16 +16,16 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class FeeDelegatedValueTransferMemoWithRatioExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -37,12 +37,12 @@ public static void run() throws Exception {
.getTransactionCount();
BigInteger value = BigInteger.valueOf(100);
BigInteger feeRatio = BigInteger.valueOf(30);
- String data = "Klaytn Web3j";
+ String data = "Kaia Web3j";
byte[] payload = data.getBytes();
TxType.Type type = Type.FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -54,10 +54,10 @@ public static void run() throws Exception {
feeRatio);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -71,12 +71,12 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeValueTransfer rawTransaction = TxTypeValueTransfer.decodeFromRawTransaction(hexValue);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferWithRatioExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferWithRatioExample.java
index 68ab57823..fc9ebdf07 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferWithRatioExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/FeeDelegatedValueTransferWithRatioExample.java
@@ -6,9 +6,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeValueTransfer;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -16,16 +16,16 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
public class FeeDelegatedValueTransferWithRatioExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials credentials_feepayer = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials_feepayer = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -40,7 +40,7 @@ public static void run() throws Exception {
TxType.Type type = Type.FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -51,10 +51,10 @@ public static void run() throws Exception {
feeRatio);
// Sign as sender
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
// Sign same message as Fee payer
- signedMessage = KlayTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
+ signedMessage = KaiaTransactionEncoder.signMessageAsFeePayer(raw, chainId, credentials_feepayer);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
@@ -68,12 +68,12 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeValueTransfer rawTransaction = TxTypeValueTransfer.decodeFromRawTransaction(hexValue);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/KlayRawTransactionManagerExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/KaiaRawTransactionManagerExample.java
similarity index 76%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/KlayRawTransactionManagerExample.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/KaiaRawTransactionManagerExample.java
index c964249c1..24514344a 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/KlayRawTransactionManagerExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/KaiaRawTransactionManagerExample.java
@@ -2,7 +2,7 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaCredentials;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxType.Type;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
@@ -11,11 +11,11 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
-import org.web3j.tx.KlayRawTransactionManager;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
+import org.web3j.tx.KaiaRawTransactionManager;
-public class KlayRawTransactionManagerExample implements keySample {
+public class KaiaRawTransactionManagerExample implements keySample {
/**
*
*/
@@ -23,7 +23,7 @@ public class KlayRawTransactionManagerExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -35,8 +35,8 @@ public static void run() throws Exception {
TxType.Type type = Type.VALUE_TRANSFER;
- KlayRawTransactionManager manager = new KlayRawTransactionManager(web3j, credentials, chainId);
- EthSendTransaction transactionResponse = manager.sendKlayTransaction(type, GAS_PRICE, GAS_LIMIT, to, value,
+ KaiaRawTransactionManager manager = new KaiaRawTransactionManager(web3j, credentials, chainId);
+ EthSendTransaction transactionResponse = manager.sendKaiaTransaction(type, GAS_PRICE, GAS_LIMIT, to, value,
from);
System.out.println("TxHash : \n " + transactionResponse.getResult());
String txHash = transactionResponse.getResult();
@@ -49,8 +49,8 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/LegacyExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/LegacyExample.java
index a11efd3fc..81259bb6c 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/LegacyExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/LegacyExample.java
@@ -3,17 +3,17 @@
import java.io.IOException;
import java.math.BigInteger;
import org.web3j.crypto.Credentials;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.RawTransaction;
import org.web3j.protocol.core.DefaultBlockParameterName;
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
@@ -25,7 +25,7 @@ public class LegacyExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials klaycredentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials kaiacredentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
Credentials credentials = Credentials.create(LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
@@ -39,27 +39,27 @@ public static void run() throws Exception {
BigInteger value = BigInteger.valueOf(100);
// send legacy transaction with web3j-credentials
- RawTransaction raw = KlayRawTransaction.createEtherTransaction(
+ RawTransaction raw = KaiaRawTransaction.createEtherTransaction(
nonce,
GAS_PRICE,
GAS_LIMIT,
to,
value);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println(transactionResponse.getResult());
- // send legacy transaction with web3j-ext klaycredentials
- raw = KlayRawTransaction.createEtherTransaction(
+ // send legacy transaction with web3j-ext kaiacredentials
+ raw = KaiaRawTransaction.createEtherTransaction(
nonce,
GAS_PRICE,
GAS_LIMIT,
to,
value);
- signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, klaycredentials);
+ signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, kaiacredentials);
hexValue = Numeric.toHexString(signedMessage);
transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -72,8 +72,8 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractDeployExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractDeployExample.java
index b8489d31b..a8ebc66cb 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractDeployExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractDeployExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeSmartContractDeploy;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -12,9 +12,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
@@ -29,7 +29,7 @@ public class SmartContractDeployExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -46,7 +46,7 @@ public static void run() throws Exception {
BigInteger codeFormat = BigInteger.ZERO;
TxType.Type type = Type.SMART_CONTRACT_DEPLOY;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -57,7 +57,7 @@ public static void run() throws Exception {
payload,
codeFormat);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -71,13 +71,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeSmartContractDeploy rawTransaction = TxTypeSmartContractDeploy.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractExecutionExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractExecutionExample.java
index 9f157ba45..b839c91bf 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractExecutionExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/SmartContractExecutionExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeSmartContractExecution;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -12,9 +12,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
@@ -30,7 +30,7 @@ public class SmartContractExecutionExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -47,7 +47,7 @@ public static void run() throws Exception {
TxType.Type type = Type.SMART_CONTRACT_EXECUTION;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -57,7 +57,7 @@ public static void run() throws Exception {
from,
payload);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -70,13 +70,13 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeSmartContractExecution rawTransaction = TxTypeSmartContractExecution
.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferExample.java
index 9d210b903..d32517884 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeValueTransfer;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -12,9 +12,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
@@ -29,7 +29,7 @@ public class ValueTransferExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -43,7 +43,7 @@ public static void run() throws Exception {
TxType.Type type = Type.VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -52,7 +52,7 @@ public static void run() throws Exception {
value,
from);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -66,12 +66,12 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeValueTransfer rawTransaction = TxTypeValueTransfer.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferMemoExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferMemoExample.java
index f4429a034..012a28954 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferMemoExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/transactions/ValueTransferMemoExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeValueTransferMemo;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -12,9 +12,9 @@
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
@@ -30,7 +30,7 @@ public class ValueTransferMemoExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_PRICE = BigInteger.valueOf(50000000000L);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
@@ -42,12 +42,12 @@ public static void run() throws Exception {
.getTransactionCount();
BigInteger value = BigInteger.valueOf(100);
- String data = "Klaytn Web3j";
+ String data = "Kaia Web3j";
byte[] payload = data.getBytes();
TxType.Type type = Type.VALUE_TRANSFER_MEMO;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
type,
nonce,
GAS_PRICE,
@@ -57,7 +57,7 @@ public static void run() throws Exception {
from,
payload);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw, chainId, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw, chainId, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -71,12 +71,12 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeValueTransferMemo rawTransaction = TxTypeValueTransferMemo.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/AccountStoreExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/AccountStoreExample.java
index 6fa74b869..3a593e8ae 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/AccountStoreExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/AccountStoreExample.java
@@ -3,13 +3,13 @@
import java.io.IOException;
import java.util.List;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaCredentials;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
import org.web3j.example.keySample;
-import org.web3j.klayAccount.AccountStore;
-import org.web3j.klayAccount.Accounts;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.kaiaAccount.AccountStore;
+import org.web3j.kaiaAccount.Accounts;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.http.HttpService;
import org.web3j.utils.Numeric;
@@ -20,13 +20,13 @@ public class AccountStoreExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials cred_legacy = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
- KlayCredentials cred_legacy2 = KlayCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
- KlayCredentials cred_public = KlayCredentials.create(keySample.PUBLIC_KEY_privkey);
- KlayCredentials cred_multi = KlayCredentials.create(keySample.MULTI_KEY_privkey1,
+ KaiaCredentials cred_legacy = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials cred_legacy2 = KaiaCredentials.create(keySample.LEGACY_KEY_FEEPAYER_privkey);
+ KaiaCredentials cred_public = KaiaCredentials.create(keySample.PUBLIC_KEY_privkey);
+ KaiaCredentials cred_multi = KaiaCredentials.create(keySample.MULTI_KEY_privkey1,
keySample.MULTI_KEY_address);
- KlayCredentials cred_multi_with_orig_addr = KlayCredentials.create(keySample.MULTI_KEY_privkey1);
- KlayCredentials cred_rolebased = KlayCredentials.create(keySample.ROLEBASED_KEY_transactionkey,
+ KaiaCredentials cred_multi_with_orig_addr = KaiaCredentials.create(keySample.MULTI_KEY_privkey1);
+ KaiaCredentials cred_rolebased = KaiaCredentials.create(keySample.ROLEBASED_KEY_transactionkey,
keySample.ROLEBASED_KEY_address);
Accounts accounts = new Accounts();
@@ -40,13 +40,13 @@ public static void run() throws Exception {
accounts.remove(cred_legacy2);
- List result = accounts.credentialsByAddress(LEGACY_KEY_FEEPAYER_address);
- System.out.println("Accounts list has " + result.size() + " Klaycredentials for address="
+ List result = accounts.credentialsByAddress(LEGACY_KEY_FEEPAYER_address);
+ System.out.println("Accounts list has " + result.size() + " Kaiacredentials for address="
+ LEGACY_KEY_FEEPAYER_address);
- List result2 = accounts.credentialsByKey(Numeric.toBigInt(MULTI_KEY_privkey1));
- System.out.println("Accounts list has " + result2.size() + " Klaycredentials for given private key");
- List result3 = accounts.getList();
- System.out.println("Accounts list has " + result3.size() + " Klaycredentials for all");
+ List result2 = accounts.credentialsByKey(Numeric.toBigInt(MULTI_KEY_privkey1));
+ System.out.println("Accounts list has " + result2.size() + " Kaiacredentials for given private key");
+ List result3 = accounts.getList();
+ System.out.println("Accounts list has " + result3.size() + " Kaiacredentials for all");
AccountStore accStore = new AccountStore();
accStore.refresh(web3j, accounts);
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV3Example.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV3Example.java
index 0da710fcd..366ba092e 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV3Example.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV3Example.java
@@ -5,8 +5,8 @@
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.stream.Collectors;
-import org.web3j.crypto.KlayWalletUtils;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaWelletUtils;
+import org.web3j.crypto.KaiaCredentials;
import java.io.IOException;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
import org.web3j.tx.response.TransactionReceiptProcessor;
@@ -15,20 +15,20 @@
public class DecryptKeystoreV3Example implements keySample {
public static void run() throws Exception {
- String password = "Iloveklaytn";
+ String password = "Ilovekaia";
String[] keyFiles = { "/Legacy_V3.json", "/Public_V3.json" };
for (String keyFile : keyFiles) {
String json = getResourceJSON(keyFile);
- // Convert keystore to list of KlayCredentials
- KlayCredentials credentials = KlayWalletUtils.loadJsonKlayCredentials(password, json);
+ // Convert keystore to list of KaiaCredentials
+ KaiaCredentials credentials = KaiaWelletUtils.loadJsonKaiaCredentials(password, json);
- System.out.println("Load KlayCredentials from keystore file: " + keyFile);
+ System.out.println("Load KaiaCredentials from keystore file: " + keyFile);
String address = credentials.getAddress();
String privateKey = credentials.getEcKeyPair().getPrivateKey().toString(16);
- System.out.println("\tKlayCrendential : " + "Address: " + address + ", Private Key: 0x" + privateKey);
+ System.out.println("\tKaiaCredential : " + "Address: " + address + ", Private Key: 0x" + privateKey);
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV4Example.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV4Example.java
index ecca39076..4fd9efe9f 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV4Example.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/DecryptKeystoreV4Example.java
@@ -5,8 +5,8 @@
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.stream.Collectors;
-import org.web3j.crypto.KlayWalletUtils;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaWelletUtils;
+import org.web3j.crypto.KaiaCredentials;
import java.io.IOException;
import java.util.List;
import org.web3j.tx.response.PollingTransactionReceiptProcessor;
@@ -16,28 +16,28 @@
public class DecryptKeystoreV4Example implements keySample {
public static void run() throws Exception {
- String password = "Iloveklaytn";
+ String password = "Ilovekaia";
String[] keyFiles = { "/RoleBased_V4.json", "/Multi_V4.json", "/Public_V4.json" };
for (String keyFile : keyFiles) {
String json = getResourceJSON(keyFile);
- // Convert keystore to list of KlayCredentials
- List> credentialsLists = KlayWalletUtils.loadJsonKlayCredentialsFromV4(password,
+ // Convert keystore to list of KaiaCredentials
+ List> credentialsLists = KaiaWelletUtils.loadJsonKaiaCredentialsFromV4(password,
json);
- System.out.println("Load KlayCredentials from keystore file: " + keyFile);
- // Print KlayCredentials
+ System.out.println("Load KaiaCredentials from keystore file: " + keyFile);
+ // Print KaiaCredentials
for (int i = 0; i < credentialsLists.size(); i++) {
- List credentialsList = credentialsLists.get(i);
+ List credentialsList = credentialsLists.get(i);
System.out.println("Array " + (i + 1) + ":");
- for (KlayCredentials credentials : credentialsList) {
+ for (KaiaCredentials credentials : credentialsList) {
String address = credentials.getAddress();
String privateKey = credentials.getEcKeyPair().getPrivateKey().toString(16);
System.out
- .println("\tKlayCrendential : " + "Address: " + address + ", Private Key: 0x" + privateKey);
+ .println("\tKaiaCredential : " + "Address: " + address + ", Private Key: 0x" + privateKey);
}
}
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/FillTransactionExample.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/FillTransactionExample.java
index 7df9052c1..6220e5995 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/FillTransactionExample.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/example/utils/FillTransactionExample.java
@@ -2,9 +2,9 @@
import java.io.IOException;
import java.math.BigInteger;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.transaction.type.TxType;
import org.web3j.crypto.transaction.type.TxTypeValueTransfer;
import org.web3j.crypto.transaction.type.TxType.Type;
@@ -13,9 +13,9 @@
import org.web3j.example.keySample;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.utils.Numeric;
-import org.web3j.protocol.klaytn.core.method.response.TransactionReceipt;
+import org.web3j.protocol.kaia.core.method.response.TransactionReceipt;
/**
*
@@ -27,7 +27,7 @@ public class FillTransactionExample implements keySample {
public static void run() throws Exception {
Web3j web3j = Web3j.build(new HttpService(keySample.BAOBAB_URL));
- KlayCredentials credentials = KlayCredentials.create(keySample.LEGACY_KEY_privkey);
+ KaiaCredentials credentials = KaiaCredentials.create(keySample.LEGACY_KEY_privkey);
BigInteger GAS_LIMIT = BigInteger.valueOf(6721950);
String from = credentials.getAddress();
@@ -37,7 +37,7 @@ public static void run() throws Exception {
TxType.Type type = Type.VALUE_TRANSFER;
- KlayRawTransaction raw = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction raw = KaiaRawTransaction.createTransaction(
0, // set chainId to zero
type,
BigInteger.ZERO, // set nonce to zero
@@ -48,9 +48,9 @@ public static void run() throws Exception {
from);
// Fill transaction with fillTransaction
- KlayRawTransaction raw_fillTransaction = raw.fillTransaction(web3j);
+ KaiaRawTransaction raw_fillTransaction = raw.fillTransaction(web3j);
- byte[] signedMessage = KlayTransactionEncoder.signMessage(raw_fillTransaction, credentials);
+ byte[] signedMessage = KaiaTransactionEncoder.signMessage(raw_fillTransaction, credentials);
String hexValue = Numeric.toHexString(signedMessage);
EthSendTransaction transactionResponse = web3j.ethSendRawTransaction(hexValue).send();
System.out.println("TxHash : \n " + transactionResponse.getResult());
@@ -64,12 +64,12 @@ public static void run() throws Exception {
org.web3j.protocol.core.methods.response.TransactionReceipt ethReceipt = transactionReceiptProcessor
.waitForTransactionReceipt(txHash);
System.out.println("Receipt from eth_getTransactionReceipt : \n" + ethReceipt);
- TransactionReceipt receipt = web3j.klayGetTransactionReceipt(txHash).send().getResult();
- System.out.println("Receipt from klay_getTransactionReceipt : \n" + receipt);
+ TransactionReceipt receipt = web3j.kaiaGetTransactionReceipt(txHash).send().getResult();
+ System.out.println("Receipt from kaia_getTransactionReceipt : \n" + receipt);
web3j.shutdown();
TxTypeValueTransfer rawTransaction = TxTypeValueTransfer.decodeFromRawTransaction(signedMessage);
- System.out.println("TxType : " + rawTransaction.getKlayType());
+ System.out.println("TxType : " + rawTransaction.getKaiaType());
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountInfo.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountInfo.java
index 52e7f70bd..3d4488f8a 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountInfo.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountInfo.java
@@ -1,4 +1,4 @@
-package org.web3j.klayAccount;
+package org.web3j.kaiaAccount;
import java.math.BigDecimal;
import org.json.JSONArray;
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountStore.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountStore.java
index 5d7581bea..2e52335a7 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountStore.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/AccountStore.java
@@ -1,4 +1,4 @@
-package org.web3j.klayAccount;
+package org.web3j.kaiaAccount;
import java.io.IOException;
import java.util.HashMap;
@@ -7,10 +7,10 @@
import org.json.JSONArray;
import org.json.JSONObject;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaCredentials;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayGetAccount;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetAccount;
import org.web3j.protocol.core.DefaultBlockParameterName;
import com.fasterxml.jackson.core.JsonProcessingException;
@@ -27,14 +27,14 @@ public boolean refresh(Web3j web3j, Accounts list) throws IOException {
Set set = new HashSet();
- for (KlayCredentials element : list.getList()) {
+ for (KaiaCredentials element : list.getList()) {
set.add(element.getAddress());
}
for (String element : set) {
- KlayGetAccount acc = web3j.klayGetAccount(element, DefaultBlockParameterName.LATEST).send().getResult();
+ KaiaGetAccount acc = web3j.kaiaGetAccount(element, DefaultBlockParameterName.LATEST).send().getResult();
if (acc == null) {
- KlayCredentials credentials = list.credentialsByAddress(element).get(0);
+ KaiaCredentials credentials = list.credentialsByAddress(element).get(0);
if (!credentials.isDeCoupled()) {
JSONObject jsonKey = new JSONObject();
jsonKey.put("keyType", 1);
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/Accounts.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/Accounts.java
index 3d90f96e6..b7c774060 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/Accounts.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/klayAccount/Accounts.java
@@ -1,61 +1,61 @@
-package org.web3j.klayAccount;
+package org.web3j.kaiaAccount;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
-import org.web3j.crypto.KlayCredentials;
+import org.web3j.crypto.KaiaCredentials;
public class Accounts {
- private final List CredentialLists = new ArrayList<>();
+ private final List CredentialLists = new ArrayList<>();
public Accounts() {
}
- public boolean add(KlayCredentials credentials) {
+ public boolean add(KaiaCredentials credentials) {
return CredentialLists.add(credentials);
}
public boolean add(String privKey) {
- return CredentialLists.add(KlayCredentials.create(privKey));
+ return CredentialLists.add(KaiaCredentials.create(privKey));
}
- public boolean remove(KlayCredentials credentials) {
+ public boolean remove(KaiaCredentials credentials) {
return CredentialLists.remove(credentials);
}
- public List getList() {
+ public List getList() {
return this.CredentialLists;
}
- public List credentialsByKey(BigInteger privKey) {
- List returnKlayCredentials = new ArrayList<>();
- for (KlayCredentials element : CredentialLists) {
+ public List credentialsByKey(BigInteger privKey) {
+ List returnKaiaCredentials = new ArrayList<>();
+ for (KaiaCredentials element : CredentialLists) {
if (element.getEcKeyPair().getPrivateKey().equals(privKey)) {
- returnKlayCredentials.add(element);
+ returnKaiaCredentials.add(element);
}
}
- return returnKlayCredentials;
+ return returnKaiaCredentials;
}
- public List credentialsByPubKey(BigInteger pubKey) {
- List returnKlayCredentials = new ArrayList<>();
- for (KlayCredentials element : CredentialLists) {
+ public List credentialsByPubKey(BigInteger pubKey) {
+ List returnKaiaCredentials = new ArrayList<>();
+ for (KaiaCredentials element : CredentialLists) {
if (element.getEcKeyPair().getPublicKey().equals(pubKey)) {
- returnKlayCredentials.add(KlayCredentials.create(element.getEcKeyPair(), element.getAddress()));
+ returnKaiaCredentials.add(KaiaCredentials.create(element.getEcKeyPair(), element.getAddress()));
}
}
- return returnKlayCredentials;
+ return returnKaiaCredentials;
}
- public List credentialsByAddress(String address) {
- List returnKlayCredentials = new ArrayList<>();
- for (KlayCredentials element : CredentialLists) {
+ public List credentialsByAddress(String address) {
+ List returnKaiaCredentials = new ArrayList<>();
+ for (KaiaCredentials element : CredentialLists) {
if (address.equals(element.getAddress())) {
- returnKlayCredentials.add(element);
+ returnKaiaCredentials.add(element);
}
}
- return returnKlayCredentials;
+ return returnKaiaCredentials;
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/protocol/klaytn/Web3j.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/protocol/kaia/Web3j.java
similarity index 79%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/protocol/klaytn/Web3j.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/protocol/kaia/Web3j.java
index 8ddc412bb..8c85466a8 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/protocol/klaytn/Web3j.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/protocol/kaia/Web3j.java
@@ -1,4 +1,4 @@
-package org.web3j.protocol.klaytn;
+package org.web3j.protocol.kaia;
import java.util.Arrays;
import java.util.concurrent.ScheduledExecutorService;
@@ -7,17 +7,18 @@
import org.web3j.protocol.core.Request;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.utils.Async;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.AdminApi;
-import org.web3j.protocol.klaytn.core.DebugApi;
-import org.web3j.protocol.klaytn.core.GovernanceApi;
-import org.web3j.protocol.klaytn.core.KlayApi;
-import org.web3j.protocol.klaytn.core.NetApi;
-import org.web3j.protocol.klaytn.core.PersonalApi;
-import org.web3j.protocol.klaytn.core.TxpoolApi;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.AdminApi;
+import org.web3j.protocol.kaia.core.DebugApi;
+import org.web3j.protocol.kaia.core.GovernanceApi;
+import org.web3j.protocol.kaia.core.KlayApi;
+import org.web3j.protocol.kaia.core.NetApi;
+import org.web3j.protocol.kaia.core.PersonalApi;
+import org.web3j.protocol.kaia.core.TxpoolApi;
+import org.web3j.protocol.kaia.core.KaiaApi;
-public class Web3j extends JsonRpc2_0Web3j implements KlayApi, GovernanceApi, AdminApi, NetApi, PersonalApi, TxpoolApi, DebugApi{
+public class Web3j extends JsonRpc2_0Web3j implements KaiaApi, KlayApi, GovernanceApi, AdminApi, NetApi, PersonalApi, TxpoolApi, DebugApi{
public static final int DEFAULT_BLOCK_TIME = 15 * 1000;
public Web3j(Web3jService web3jService) {
@@ -65,10 +66,10 @@ public Request, EthSendTransaction> ethSendRawTransaction(String signedTransac
} catch (NumberFormatException e) {
// something
}
- // Klaytn transaction type
+ // Kaia transaction type
if(8 <= txType && txType <= 74) {
return new Request<>(
- "klay_sendRawTransaction",
+ "kaia_sendRawTransaction",
Arrays.asList(signedTransactionData),
web3jService,
org.web3j.protocol.core.methods.response.EthSendTransaction.class);
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/service/TxKlaySignServiceImpl.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/service/TxKaiaSignServiceImpl.java
similarity index 73%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/service/TxKlaySignServiceImpl.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/service/TxKaiaSignServiceImpl.java
index 54f7b1c92..7adb8e1a5 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/service/TxKlaySignServiceImpl.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/service/TxKaiaSignServiceImpl.java
@@ -13,33 +13,33 @@
package org.web3j.service;
import org.web3j.crypto.Credentials;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
-import org.web3j.crypto.KlayTransactionEncoder;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
+import org.web3j.crypto.KaiaTransactionEncoder;
import org.web3j.crypto.RawTransaction;
import org.web3j.crypto.TransactionEncoder;
import org.web3j.tx.ChainId;
/** Service to base sign transaction. */
-public class TxKlaySignServiceImpl{
+public class TxKaiaSignServiceImpl{
- private final KlayCredentials credentials;
+ private final KaiaCredentials credentials;
- public TxKlaySignServiceImpl(KlayCredentials credentials) {
+ public TxKaiaSignServiceImpl(KaiaCredentials credentials) {
this.credentials = credentials;
}
- public TxKlaySignServiceImpl(Credentials credentials) {
- this.credentials = KlayCredentials.create(credentials.getEcKeyPair());
+ public TxKaiaSignServiceImpl(Credentials credentials) {
+ this.credentials = KaiaCredentials.create(credentials.getEcKeyPair());
}
- public byte[] sign(KlayRawTransaction rawTransaction, long chainId) {
+ public byte[] sign(KaiaRawTransaction rawTransaction, long chainId) {
final byte[] signedMessage;
if (chainId > ChainId.NONE) {
- signedMessage = KlayTransactionEncoder.signMessage(rawTransaction, chainId, credentials);
+ signedMessage = KaiaTransactionEncoder.signMessage(rawTransaction, chainId, credentials);
} else {
- signedMessage = KlayTransactionEncoder.signMessage(rawTransaction, credentials.convertToCredentials());
+ signedMessage = KaiaTransactionEncoder.signMessage(rawTransaction, credentials.convertToCredentials());
}
return signedMessage;
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/tx/KlayRawTransactionManager.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/tx/KaiaRawTransactionManager.java
similarity index 84%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/tx/KlayRawTransactionManager.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/tx/KaiaRawTransactionManager.java
index 96c9ae0b6..c8233a77e 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/tx/KlayRawTransactionManager.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/tx/KaiaRawTransactionManager.java
@@ -17,8 +17,8 @@
import org.web3j.crypto.Credentials;
import org.web3j.crypto.Hash;
-import org.web3j.crypto.KlayCredentials;
-import org.web3j.crypto.KlayRawTransaction;
+import org.web3j.crypto.KaiaCredentials;
+import org.web3j.crypto.KaiaRawTransaction;
import org.web3j.crypto.RawTransaction;
import org.web3j.crypto.transaction.account.AccountKey;
import org.web3j.crypto.transaction.type.TxType;
@@ -30,7 +30,7 @@
import org.web3j.protocol.core.methods.response.EthGetCode;
import org.web3j.protocol.core.methods.response.EthGetTransactionCount;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
-import org.web3j.service.TxKlaySignServiceImpl;
+import org.web3j.service.TxKaiaSignServiceImpl;
import org.web3j.service.TxSignService;
import org.web3j.tx.exceptions.TxHashMismatchException;
import org.web3j.tx.response.TransactionReceiptProcessor;
@@ -45,68 +45,68 @@
* EIP155, as well as for locally signing
* RawTransaction instances without broadcasting them.
*/
-public class KlayRawTransactionManager extends TransactionManager {
+public class KaiaRawTransactionManager extends TransactionManager {
private final Web3j web3j;
- private final TxKlaySignServiceImpl txSignService;
+ private final TxKaiaSignServiceImpl txSignService;
private final long chainId;
protected TxHashVerifier txHashVerifier = new TxHashVerifier();
- public KlayRawTransactionManager(Web3j web3j, Credentials credentials, long chainId) {
+ public KaiaRawTransactionManager(Web3j web3j, Credentials credentials, long chainId) {
super(web3j, credentials.getAddress());
this.web3j = web3j;
this.chainId = chainId;
- this.txSignService = new TxKlaySignServiceImpl(credentials);
+ this.txSignService = new TxKaiaSignServiceImpl(credentials);
}
- public KlayRawTransactionManager(Web3j web3j, KlayCredentials credentials, long chainId) {
+ public KaiaRawTransactionManager(Web3j web3j, KaiaCredentials credentials, long chainId) {
super(web3j, credentials.getAddress());
this.web3j = web3j;
this.chainId = chainId;
- this.txSignService = new TxKlaySignServiceImpl(credentials);
+ this.txSignService = new TxKaiaSignServiceImpl(credentials);
}
- public KlayRawTransactionManager(Web3j web3j, TxSignService txSignService, long chainId) {
+ public KaiaRawTransactionManager(Web3j web3j, TxSignService txSignService, long chainId) {
super(web3j, txSignService.getAddress());
this.web3j = web3j;
this.chainId = chainId;
- this.txSignService = (TxKlaySignServiceImpl) txSignService;
+ this.txSignService = (TxKaiaSignServiceImpl) txSignService;
}
- public KlayRawTransactionManager(
+ public KaiaRawTransactionManager(
Web3j web3j,
- KlayCredentials credentials,
+ KaiaCredentials credentials,
long chainId,
TransactionReceiptProcessor transactionReceiptProcessor) {
super(transactionReceiptProcessor, credentials.getAddress());
this.web3j = web3j;
this.chainId = chainId;
- this.txSignService = new TxKlaySignServiceImpl(credentials);
+ this.txSignService = new TxKaiaSignServiceImpl(credentials);
}
- public KlayRawTransactionManager(
+ public KaiaRawTransactionManager(
Web3j web3j, Credentials credentials, long chainId, int attempts, long sleepDuration) {
super(web3j, attempts, sleepDuration, credentials.getAddress());
this.web3j = web3j;
this.chainId = chainId;
- this.txSignService = new TxKlaySignServiceImpl(credentials);
+ this.txSignService = new TxKaiaSignServiceImpl(credentials);
}
- public KlayRawTransactionManager(
- Web3j web3j, KlayCredentials credentials, long chainId, int attempts, long sleepDuration) {
+ public KaiaRawTransactionManager(
+ Web3j web3j, KaiaCredentials credentials, long chainId, int attempts, long sleepDuration) {
super(web3j, attempts, sleepDuration, credentials.getAddress());
this.web3j = web3j;
this.chainId = chainId;
- this.txSignService = new TxKlaySignServiceImpl(credentials);
+ this.txSignService = new TxKaiaSignServiceImpl(credentials);
}
- public KlayRawTransactionManager(Web3j web3j, Credentials credentials) {
+ public KaiaRawTransactionManager(Web3j web3j, Credentials credentials) {
this(web3j, credentials, ChainId.NONE);
}
- public KlayRawTransactionManager(
+ public KaiaRawTransactionManager(
Web3j web3j, Credentials credentials, int attempts, int sleepDuration) {
this(web3j, credentials, ChainId.NONE, attempts, sleepDuration);
}
@@ -155,14 +155,14 @@ public EthGetCode getCode(
* @param rawTransaction a RawTransaction istance to be signed
* @return The transaction signed and encoded without ever broadcasting it
*/
- public String sign(KlayRawTransaction rawTransaction) {
+ public String sign(KaiaRawTransaction rawTransaction) {
byte[] signedMessage = txSignService.sign(rawTransaction, chainId);
return Numeric.toHexString(signedMessage);
}
- public EthSendTransaction signAndSend(KlayRawTransaction rawTransaction) throws IOException {
+ public EthSendTransaction signAndSend(KaiaRawTransaction rawTransaction) throws IOException {
String hexValue = sign(rawTransaction);
EthSendTransaction ethSendTransaction = web3j.ethSendRawTransaction(hexValue).send();
@@ -236,7 +236,7 @@ public EthSendTransaction sendEIP1559Transaction(long chainId, BigInteger maxPri
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -244,7 +244,7 @@ public EthSendTransaction sendKlayTransaction(
AccountKey accountKey) throws IOException {
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -254,14 +254,14 @@ public EthSendTransaction sendKlayTransaction(
return signAndSend(rawTransaction);
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
String from) throws IOException {
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -273,7 +273,7 @@ public EthSendTransaction sendKlayTransaction(
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -282,7 +282,7 @@ public EthSendTransaction sendKlayTransaction(
String from) throws IOException {
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -295,7 +295,7 @@ public EthSendTransaction sendKlayTransaction(
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -305,7 +305,7 @@ public EthSendTransaction sendKlayTransaction(
byte[] payload) throws IOException {
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -319,7 +319,7 @@ public EthSendTransaction sendKlayTransaction(
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -331,7 +331,7 @@ public EthSendTransaction sendKlayTransaction(
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -348,7 +348,7 @@ public EthSendTransaction sendKlayTransaction(
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -358,7 +358,7 @@ public EthSendTransaction sendKlayTransaction(
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -372,7 +372,7 @@ public EthSendTransaction sendKlayTransaction(
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -380,7 +380,7 @@ public EthSendTransaction sendKlayTransaction(
BigInteger feeRatio) throws IOException {
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -392,7 +392,7 @@ public EthSendTransaction sendKlayTransaction(
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -403,7 +403,7 @@ public EthSendTransaction sendKlayTransaction(
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -416,7 +416,7 @@ public EthSendTransaction sendKlayTransaction(
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -429,7 +429,7 @@ public EthSendTransaction sendKlayTransaction(
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -446,7 +446,7 @@ public EthSendTransaction sendKlayTransaction(
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -455,7 +455,7 @@ public EthSendTransaction sendKlayTransaction(
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
@@ -469,7 +469,7 @@ public EthSendTransaction sendKlayTransaction(
}
- public EthSendTransaction sendKlayTransaction(
+ public EthSendTransaction sendKaiaTransaction(
TxType.Type type,
BigInteger gasPrice,
BigInteger gas,
@@ -479,7 +479,7 @@ public EthSendTransaction sendKlayTransaction(
BigInteger nonce = getNonce();
- KlayRawTransaction rawTransaction = KlayRawTransaction.createTransaction(
+ KaiaRawTransaction rawTransaction = KaiaRawTransaction.createTransaction(
type,
nonce,
gasPrice,
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KlayConvert.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KaiaConvert.java
similarity index 96%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KlayConvert.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KaiaConvert.java
index c57fce474..00e1fed13 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KlayConvert.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KaiaConvert.java
@@ -2,10 +2,10 @@
import java.math.BigDecimal;
-public class KlayConvert {
- private KlayConvert() { }
+public class KAIAConvert {
+ private KAIAConvert() { }
- // Klaytn units
+ // Kaia units
public static BigDecimal fromPeb(String number, Unit unit) {
return fromPeb(new BigDecimal(number), unit);
}
diff --git a/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KlayTransactionUtils.java b/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KaiaTransactionUtils.java
similarity index 93%
rename from web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KlayTransactionUtils.java
rename to web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KaiaTransactionUtils.java
index 451e076db..e45bdc88b 100644
--- a/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KlayTransactionUtils.java
+++ b/web3j-ext/web3j-ext/src/main/java/org/web3j/utils/KaiaTransactionUtils.java
@@ -4,7 +4,7 @@
import org.web3j.crypto.transaction.type.TxType;
-public class KlayTransactionUtils {
+public class KaiaTransactionUtils {
public static TxType.Type getType(byte[] rawTransaction) {
return TxType.Type.findByValue(rawTransaction[0]);
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminAddPeerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminAddPeerExample.java
index 1ad1022f9..20130f666 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminAddPeerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminAddPeerExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.BooleanResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class AdminAddPeerExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminDataDirExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminDataDirExample.java
index 493fa8db7..055236343 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminDataDirExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminDataDirExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.AdminDatadirResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminDatadirResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminExportChainExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminExportChainExample.java
index 7ccc1180a..2a22fafd0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminExportChainExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminExportChainExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.AdminExportChainResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminExportChainResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerCandidateListExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerCandidateListExample.java
index 9d8a32dbc..59f447322 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerCandidateListExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerCandidateListExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminGetSpamThrottlerCandidateListResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminGetSpamThrottlerCandidateListResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerThrottleListExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerThrottleListExample.java
index f83fb178a..7832e3b0c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerThrottleListExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerThrottleListExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminGetSpamThrottlerThrottleListResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminGetSpamThrottlerThrottleListResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerWhiteListExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerWhiteListExample.java
index a03423ca2..ee81e48f0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerWhiteListExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminGetSpamThrottlerWhiteListExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminGetSpamThrottlerWhiteListResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminGetSpamThrottlerWhiteListResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainExample.java
index ac45c4f08..9593a9e69 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminImportChainResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminImportChainResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainFromStringExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainFromStringExample.java
index a6a9aea0a..769ac4777 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainFromStringExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminImportChainFromStringExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminImportChainFromStringResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminImportChainFromStringResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeConfigExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeConfigExample.java
index 9a4bb029f..3475d8738 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeConfigExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeConfigExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.admin.AdminNodeConfig;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeInfoExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeInfoExample.java
index 820819458..b3afc7e98 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeInfoExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminNodeInfoExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.admin.AdminNodeInfo;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminPeersExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminPeersExample.java
index 0b2173746..9cbc1d1b1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminPeersExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminPeersExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.admin.AdminPeers;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminRemovePeerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminRemovePeerExample.java
index 7edb97502..88961fd22 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminRemovePeerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminRemovePeerExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.BooleanResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSaveTrieNodeCacheToDiskExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSaveTrieNodeCacheToDiskExample.java
index 6ba029cdb..e390672d9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSaveTrieNodeCacheToDiskExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSaveTrieNodeCacheToDiskExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminSaveTrieNodeCacheToDiskResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminSaveTrieNodeCacheToDiskResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetMaxSubscriptionPerWSConnExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetMaxSubscriptionPerWSConnExample.java
index bcd2db063..ce4ee304c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetMaxSubscriptionPerWSConnExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetMaxSubscriptionPerWSConnExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminSetMaxSubscriptionPerWSConnResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminSetMaxSubscriptionPerWSConnResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetSpamThrottlerWhiteListExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetSpamThrottlerWhiteListExample.java
index f885aefa0..1562ae415 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetSpamThrottlerWhiteListExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSetSpamThrottlerWhiteListExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminSetSpamThrottlerWhiteListResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminSetSpamThrottlerWhiteListResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.List;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSpamThrottlerConfigExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSpamThrottlerConfigExample.java
index b2ba9bc7a..3b71705ae 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSpamThrottlerConfigExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminSpamThrottlerConfigExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminSpamThrottlerConfigResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminSpamThrottlerConfigResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartHTTPExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartHTTPExample.java
index 87ed06f0e..ef8a2cb70 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartHTTPExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartHTTPExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStartHTTPResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStartHTTPResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartSpamThrottlerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartSpamThrottlerExample.java
index 4b24b5233..00ba3a0b1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartSpamThrottlerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartSpamThrottlerExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStartSpamThrottlerResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStartSpamThrottlerResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartStateMigrationExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartStateMigrationExample.java
index bc60fc883..e0d1d431a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartStateMigrationExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartStateMigrationExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStartStateMigrationResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStartStateMigrationResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartWSExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartWSExample.java
index 0c7ab6b03..c4d2f3ce2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartWSExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStartWSExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStartWSResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStartWSResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStateMigrationStatusExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStateMigrationStatusExample.java
index 1fdd1f235..2902c3108 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStateMigrationStatusExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStateMigrationStatusExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStateMigrationStatusResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStateMigrationStatusResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopHTTPExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopHTTPExample.java
index 67c6e6bf7..786909cd6 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopHTTPExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopHTTPExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStopHTTPResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStopHTTPResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopSpamThrottlerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopSpamThrottlerExample.java
index 9d54dbcfe..3cbc9eb9f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopSpamThrottlerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopSpamThrottlerExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStopSpamThrottlerResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStopSpamThrottlerResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopStateMigrationExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopStateMigrationExample.java
index 93c01aeeb..8f6c88112 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopStateMigrationExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopStateMigrationExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStopStateMigrationResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStopStateMigrationResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopWSExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopWSExample.java
index e3321c58c..34318d85d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopWSExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/admin/AdminStopWSExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.AdminStopWSResponse;
+import org.web3j.protocol.kaia.core.method.response.AdminStopWSResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpBlockExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpBlockExample.java
index 1e7e930b2..97304dc01 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpBlockExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpBlockExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugDumpBlockResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugDumpBlockResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpStateTrieExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpStateTrieExample.java
index 3f56e6d57..8e8477f7a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpStateTrieExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugDumpStateTrieExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugDumpStateTrieResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugDumpStateTrieResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBadBlocksExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBadBlocksExample.java
index af9950dee..6cac3fac4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBadBlocksExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBadBlocksExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugGetBadBlocksResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugGetBadBlocksResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBlockRlpExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBlockRlpExample.java
index 1cd8a371e..9e08ca513 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBlockRlpExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetBlockRlpExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugGetBlockRlpResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugGetBlockRlpResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByHashExample.java
index 472315cab..f62fb22a0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugGetModifiedAccountsByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugGetModifiedAccountsByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByNumberExample.java
index e46a429e6..a623a6264 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugGetModifiedAccountsByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugGetModifiedAccountsByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugGetModifiedAccountsByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPreimageExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPreimageExample.java
index ebef218f6..f3cb1411e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPreimageExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPreimageExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugPreimageResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugPreimageResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPrintBlockExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPrintBlockExample.java
index 804435d0e..7e8bb41e3 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPrintBlockExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugPrintBlockExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugPrintBlockResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugPrintBlockResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugSetHeadExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugSetHeadExample.java
index 1d6918bc1..4188c8023 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugSetHeadExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugSetHeadExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugSetHeadResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugSetHeadResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartCollectingTrieStatsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartCollectingTrieStatsExample.java
index 4fc7a5c51..12a28537f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartCollectingTrieStatsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartCollectingTrieStatsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStartCollectingTrieStatsResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStartCollectingTrieStatsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartContractWarmUpExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartContractWarmUpExample.java
index 9cf2afef7..7e7185379 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartContractWarmUpExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartContractWarmUpExample.java
@@ -1,8 +1,8 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.DebugStartContractWarmUpResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStartContractWarmUpResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class DebugStartContractWarmUpExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net")); void debugStartContractWarmUpExample() throws IOException {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartWarmUpExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartWarmUpExample.java
index 1d895faa5..3a7d4e469 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartWarmUpExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStartWarmUpExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStartWarmUpResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStartWarmUpResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStopWarmUpExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStopWarmUpExample.java
index 6e5a452ee..dbfc2d79b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStopWarmUpExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/blockchainInspection/DebugStopWarmUpExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStopWarmUpResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStopWarmUpResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugBacktraceAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugBacktraceAtExample.java
index 2ce3dda04..a7b4ee159 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugBacktraceAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugBacktraceAtExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugBacktraceAtResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugBacktraceAtResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugSetVMLogTargetExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugSetVMLogTargetExample.java
index e77051001..df08f60fd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugSetVMLogTargetExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugSetVMLogTargetExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugSetVMLogTargetResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugSetVMLogTargetResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVModuleExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVModuleExample.java
index 60f9be9d3..5404516ee 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVModuleExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVModuleExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugVmoduleResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugVmoduleResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByIDExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByIDExample.java
index 5f33b377c..7f518f221 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByIDExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByIDExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugVerbosityByIDResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugVerbosityByIDResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByNameExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByNameExample.java
index 74823ef49..2b95fdb48 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByNameExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityByNameExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugVerbosityByNameResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugVerbosityByNameResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityExample.java
index e4cba5088..ef7570afb 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/logging/DebugVerbosityExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugVerbosityResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugVerbosityResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbCompactExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbCompactExample.java
index 86be25468..1ec9e2bfd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbCompactExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbCompactExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugChaindbCompactResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugChaindbCompactResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbPropertyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbPropertyExample.java
index ee9e033e4..09814e423 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbPropertyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugChaindbPropertyExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugChaindbPropertyResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugChaindbPropertyResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugGetModifiedStorageNodesByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugGetModifiedStorageNodesByNumberExample.java
index b52529aa0..2b8fc163c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugGetModifiedStorageNodesByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugGetModifiedStorageNodesByNumberExample.java
@@ -1,8 +1,8 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.DebugGetModifiedStorageNodesByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugGetModifiedStorageNodesByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class DebugGetModifiedStorageNodesByNumberExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net")); void debugGetModifiedStorageNodesByNumberExample() throws IOException {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugSetMutexProfileFractionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugSetMutexProfileFractionExample.java
index 79c861236..b962020a2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugSetMutexProfileFractionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugSetMutexProfileFractionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugSetMutexProfileFractionResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugSetMutexProfileFractionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugStorageRangeAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugStorageRangeAtExample.java
index 58e632515..4ce792605 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugStorageRangeAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/others/DebugStorageRangeAtExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStorageRangeAtResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStorageRangeAtResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugBlockProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugBlockProfileExample.java
index 477055967..80e7fd220 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugBlockProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugBlockProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugBlockProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugBlockProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugCPUProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugCPUProfileExample.java
index bc62f78d7..544e4984b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugCPUProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugCPUProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugCpuProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugCpuProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugIsPProfRunningExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugIsPProfRunningExample.java
index c7fe02596..dd0b37d35 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugIsPProfRunningExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugIsPProfRunningExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugIsPProfRunningResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugIsPProfRunningResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugMutexProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugMutexProfileExample.java
index 66509f887..45e10cac2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugMutexProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugMutexProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugMutexProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugMutexProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugSetBlockProfileRateExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugSetBlockProfileRateExample.java
index 20b618e3c..6c5a31911 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugSetBlockProfileRateExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugSetBlockProfileRateExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugSetBlockProfileRateResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugSetBlockProfileRateResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartCPUProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartCPUProfileExample.java
index 01706543e..58cdf63d9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartCPUProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartCPUProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStartCPUProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStartCPUProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartPProfExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartPProfExample.java
index d1d4f020d..b23fb270b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartPProfExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStartPProfExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStartPProfResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStartPProfResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopCPUProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopCPUProfileExample.java
index 6210aef77..0aec852b7 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopCPUProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopCPUProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStopCPUProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStopCPUProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopPProfExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopPProfExample.java
index ad37f1f4d..95a5984c2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopPProfExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugStopPProfExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStopPProfResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStopPProfResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteBlockProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteBlockProfileExample.java
index c02d578d0..42f806a97 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteBlockProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteBlockProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugWriteBlockProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugWriteBlockProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMemProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMemProfileExample.java
index d1690efef..6824e7c4a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMemProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMemProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugWriteMemProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugWriteMemProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMutexProfileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMutexProfileExample.java
index bcff13e79..8142f0dd6 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMutexProfileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/profiling/DebugWriteMutexProfileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugWriteMutexProfileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugWriteMutexProfileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugFreeOSMemoryExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugFreeOSMemoryExample.java
index ae397b4f4..d52fe3ed8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugFreeOSMemoryExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugFreeOSMemoryExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugFreeOSMemoryResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugFreeOSMemoryResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugGCStatsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugGCStatsExample.java
index fcde3579c..394777729 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugGCStatsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugGCStatsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugGcStatsResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugGcStatsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMemStatsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMemStatsExample.java
index 41a145555..a77b682a0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMemStatsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMemStatsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugMemStatsResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugMemStatsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMetricsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMetricsExample.java
index f05a7d638..f0fa712c2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMetricsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugMetricsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugMetricsResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugMetricsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugSetGCPercentExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugSetGCPercentExample.java
index 22be9c999..ebf000a14 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugSetGCPercentExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugSetGCPercentExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugSetGCPercentResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugSetGCPercentResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugStacksExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugStacksExample.java
index 741d7994a..b3b32c23d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugStacksExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeDebugging/DebugStacksExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStacksResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStacksResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugGoTraceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugGoTraceExample.java
index 23e27a9da..d72bc8d56 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugGoTraceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugGoTraceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugGoTraceResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugGoTraceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStartGoTraceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStartGoTraceExample.java
index 9ec203d09..2c5ac7e61 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStartGoTraceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStartGoTraceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStartGoTraceResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStartGoTraceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStopGoTraceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStopGoTraceExample.java
index 835624c3f..feb66b273 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStopGoTraceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/runtimeTracing/DebugStopGoTraceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStopGoTraceResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStopGoTraceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBadBlockToFileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBadBlockToFileExample.java
index 8c6624e8c..abca294a5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBadBlockToFileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBadBlockToFileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStandardTraceBadBlockToFileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStandardTraceBadBlockToFileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBlockToFileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBlockToFileExample.java
index 907ff4a54..c99c7655a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBlockToFileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMStandardTracing/DebugStandardTraceBlockToFileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugStandardTraceBlockToFileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugStandardTraceBlockToFileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBadBlockExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBadBlockExample.java
index f535b9f89..5daa344bf 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBadBlockExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBadBlockExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceBadBlockResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceBadBlockResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByHashExample.java
index 3345e75be..445de6da9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceBlockByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceBlockByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberExample.java
index 26aef82e4..9356966ac 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceBlockByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceBlockByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberRangeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberRangeExample.java
index 866d8a734..f4bf7391d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberRangeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockByNumberRangeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceBlockByNumberRangeResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceBlockByNumberRangeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockExample.java
index f5fcda32b..cca316303 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceBlockResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceBlockResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockFromFileExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockFromFileExample.java
index e3e72c509..e76d8d34d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockFromFileExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceBlockFromFileExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceBlockFromFileResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceBlockFromFileResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceCallExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceCallExample.java
index cee6a45b8..5165af30b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceCallExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceCallExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceBadBlockResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceBadBlockResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceTransactionExample.java
index 4fed4d52e..2742adaec 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/debug/vMTracing/DebugTraceTransactionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.DebugTraceTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.DebugTraceTransactionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthAccountsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthAccountsExample.java
index 4923fe7a3..4a041f813 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthAccountsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthAccountsExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthAccounts;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthAccountsExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetBalanceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetBalanceExample.java
index fe71f1f46..608681c00 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetBalanceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetBalanceExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthGetBalance;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetCodeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetCodeExample.java
index fd7816738..513cfb06a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetCodeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetCodeExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthGetCode;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetTransactionCountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetTransactionCountExample.java
index 7b0e3c94f..662b5d57d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetTransactionCountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthGetTransactionCountExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthGetTransactionCount;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthGetTransactionCountExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthSignExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthSignExample.java
index ea49655dd..902b17b6f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthSignExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/account/EthSignExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthSign;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthBlockNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthBlockNumberExample.java
index 5b96dc499..ce1637fcc 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthBlockNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthBlockNumberExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthBlockNumber;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByHashExample.java
index 78dda7696..f17019c95 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByHashExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthBlock;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthGetBlockByHashExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByNumberExample.java
index 81962889d..c7fd633f9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockByNumberExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthBlock;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockReceiptsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockReceiptsExampleGetBlockReceiptsExample.java
similarity index 80%
rename from web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockReceiptsExample.java
rename to web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockReceiptsExampleGetBlockReceiptsExample.java
index a555735fa..6ad49754f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockReceiptsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockReceiptsExampleGetBlockReceiptsExample.java
@@ -1,8 +1,6 @@
-
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockReceiptsResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockReceiptsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByHashExample.java
index 322272234..19a9c62ab 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByHashExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthGetBlockTransactionCountByHash;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByNumberExample.java
index 8212dd677..d7f3ad7f1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetBlockTransactionCountByNumberExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthGetBlockTransactionCountByNumber;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByHashExample.java
index 57a2ba22b..ced4ec015 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByHashExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthGetHeaderByHashResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthGetHeaderByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthGetHeaderByHashExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByNumberExample.java
index 57e7fcc47..eeabc4328 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetHeaderByNumberExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthGetHeaderByNumberResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthGetHeaderByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthGetHeaderByNumberExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetStorageAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetStorageAtExample.java
index abd7ac406..cc638fdb9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetStorageAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetStorageAtExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthGetStorageAt;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockHashAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockHashAndIndexExample.java
index 42b563dbf..0bfbe80d9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockHashAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockHashAndIndexExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.EthBlock;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockNumberAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockNumberAndIndexExample.java
index a7b64fdbd..c6ff0ff35 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockNumberAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleByBlockNumberAndIndexExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthBlock;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockHashExample.java
index 710af033c..2574fd2c9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockHashExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthGetUncleCountByBlockHash;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthGetUncleCountByBlockHashExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockNumberExample.java
index 49c515962..32a8ac3f1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthGetUncleCountByBlockNumberExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthGetUncleCountByBlockNumber;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthMiningExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthMiningExample.java
index 4d51c7249..88085582b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthMiningExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthMiningExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthMining;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthMiningExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthSycingExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthSycingExample.java
index f20577a1b..10a63aa24 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthSycingExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/block/EthSycingExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthSyncing;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthSycingExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthChainIdExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthChainIdExample.java
index 9cf119087..73e94e33b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthChainIdExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthChainIdExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthChainId;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthChainIdExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthCoinbaseExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthCoinbaseExample.java
index aee03a7e0..43e2d842e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthCoinbaseExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthCoinbaseExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthCoinbase;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthCoinbaseExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthEtherbaseExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthEtherbaseExample.java
index 7f5854ce8..64fad3337 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthEtherbaseExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthEtherbaseExample.java
@@ -1,6 +1,5 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthProtocolVersionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthProtocolVersionExample.java
index 730ab3df8..a2369f18c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthProtocolVersionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/configuration/EthProtocolVersionExample.java
@@ -4,7 +4,7 @@
import org.web3j.protocol.core.methods.response.EthProtocolVersion;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class EthProtocolVersionExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net"));
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterChangesExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterChangesExample.java
index 0f742e52c..e4bc81677 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterChangesExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterChangesExample.java
@@ -4,7 +4,7 @@
import org.web3j.protocol.core.methods.response.EthLog;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class EthGetFilterChangesExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net"));
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterLogsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterLogsExample.java
index 414b91b0e..9d99e8aae 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterLogsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetFilterLogsExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.EthLog;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetLogsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetLogsExample.java
index d58d07a66..835fe0951 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetLogsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthGetLogsExample.java
@@ -1,5 +1,5 @@
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.request.EthFilter;
import org.web3j.protocol.core.methods.response.EthLog;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewBlockFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewBlockFilterExample.java
index 8e852e95f..c839f581a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewBlockFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewBlockFilterExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.EthFilter;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewFilterExample.java
index 24cce09af..5f26fa57e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewFilterExample.java
@@ -1,7 +1,7 @@
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.request.EthFilter;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewPendingTransactionFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewPendingTransactionFilterExample.java
index 30240eb8c..7201e044d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewPendingTransactionFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthNewPendingTransactionFilterExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.EthFilter;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthNewPendingTransactionFilterExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthUninstallFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthUninstallFilterExample.java
index a19e1d385..b02d5e7ef 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthUninstallFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/filter/EthUninstallFilterExample.java
@@ -1,6 +1,6 @@
import org.web3j.protocol.core.methods.response.EthUninstallFilter;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthFeeHistoryExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthFeeHistoryExample.java
index 71dae4e4e..412519129 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthFeeHistoryExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthFeeHistoryExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthFeeHistory;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.List;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthGasPriceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthGasPriceExample.java
index c6fc5b17c..91c421ae6 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthGasPriceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthGasPriceExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthGasPrice;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthMaxPriorityFeePerGasExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthMaxPriorityFeePerGasExample.java
index 5ccee0691..9df6d6efd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthMaxPriorityFeePerGasExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/gas/EthMaxPriorityFeePerGasExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthMaxPriorityFeePerGas;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthHashrateExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthHashrateExample.java
index 041e97592..8e556eedd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthHashrateExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthHashrateExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthHashrate;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitHashrateExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitHashrateExample.java
index 2d94f8719..b49b13ab4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitHashrateExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitHashrateExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthSubmitHashrate;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitWorkExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitWorkExample.java
index 8bed2403e..6e7f2f077 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitWorkExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/miscellaneous/EthSubmitWorkExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthSubmitWork;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthSubmitWorkExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthCreateAccessListExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthCreateAccessListExample.java
index 82c0fe6e0..ae81fce83 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthCreateAccessListExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthCreateAccessListExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthCreateAccessListResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthCreateAccessListResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.core.methods.request.Transaction;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetProofExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetProofExample.java
index e3856347e..f38c3527c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetProofExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetProofExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthGetProofResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthGetProofResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.Arrays;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockHashAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockHashAndIndexExample.java
index 49127c56e..3b1d6d322 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockHashAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockHashAndIndexExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthGetRawTransactionByBlockHashAndIndexResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthGetRawTransactionByBlockHashAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockNumberAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockNumberAndIndexExample.java
index b106a10d7..36d5515d4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockNumberAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByBlockNumberAndIndexExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthGetRawTransactionByBlockNumberAndIndexResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthGetRawTransactionByBlockNumberAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByHashExample.java
index 9f0bc5bdb..cfccdb5f0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthGetRawTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthGetRawTransactionByHashResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthGetRawTransactionByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthResendExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthResendExample.java
index 9cd3930fe..a7c60ae05 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthResendExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/others/EthResendExample.java
@@ -1,9 +1,9 @@
import java.io.IOException;
import java.math.BigInteger;
-//import org.web3j.protocol.klaytn.core.method.response.EthResendResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthResendResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.core.methods.request.Transaction;
public class EthResendExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthCallExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthCallExample.java
index 8f476562b..3f7625b3e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthCallExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthCallExample.java
@@ -1,6 +1,5 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.request.Transaction;
import org.web3j.protocol.core.methods.response.EthCall;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthEstimateGasExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthEstimateGasExample.java
index 8216ec121..4a026acfc 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthEstimateGasExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthEstimateGasExample.java
@@ -1,6 +1,5 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.core.methods.request.Transaction;
import org.web3j.protocol.core.methods.response.EthEstimateGas;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthFillTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthFillTransactionExample.java
index 9e42c32d3..bc7cc2736 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthFillTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthFillTransactionExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthFillTransactionResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthFillTransactionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import org.web3j.protocol.core.methods.request.Transaction;
import org.web3j.utils.Numeric;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockHashAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockHashAndIndexExample.java
index d40ff2e59..d91cf393a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockHashAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockHashAndIndexExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockNumberAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockNumberAndIndexExample.java
index c1e3560b4..748482668 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockNumberAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByBlockNumberAndIndexExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.DefaultBlockParameter;
import org.web3j.protocol.core.methods.response.EthTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByHashExample.java
index c05f0bd6e..712ce4ac5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthGetTransactionByHashExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionReceiptExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionReceiptExample.java
index a73b5356e..fac6e786a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionReceiptExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthGetTransactionReceiptExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthGetTransactionReceipt;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthPendingTransactionsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthPendingTransactionsExample.java
index 291dcc397..689018955 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthPendingTransactionsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthPendingTransactionsExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthPendingTransactionsResponse;
+//import org.web3j.protocol.kaia.core.method.response.EthPendingTransactionsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendRawTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendRawTransactionExample.java
index 919841b34..db9799ffd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendRawTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendRawTransactionExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendTransactionExample.java
index a5821e90c..6e7d1bb9a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSendTransactionExample.java
@@ -1,8 +1,7 @@
-
import org.web3j.protocol.core.methods.request.Transaction;
import org.web3j.protocol.core.methods.response.EthSendTransaction;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.math.BigInteger;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSignTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSignTransactionExample.java
index 06c73b08f..a4c0a7320 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSignTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/eth/transaction/EthSignTransactionExample.java
@@ -1,8 +1,7 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.EthSignTransactionResponse;
-//import org.web3j.protocol.klaytn.core.method.response.TransactionArgs;
+//import org.web3j.protocol.kaia.core.method.response.EthSignTransactionResponse;
+//import org.web3j.protocol.kaia.core.method.response.TransactionArgs;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class EthSignTransactionExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceChainConfigExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceChainConfigExample.java
index b16cfba2e..201e032b3 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceChainConfigExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceChainConfigExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.GovernanceGetChainConfigResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.GovernanceGetChainConfigResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetChainConfigExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetChainConfigExample.java
index d265c7fdf..0193fd721 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetChainConfigExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetChainConfigExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.GovernanceGetChainConfigResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.GovernanceGetChainConfigResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetParamsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetParamsExample.java
index 4d753c254..302bb08ed 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetParamsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetParamsExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.GovernanceGetParamsResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.GovernanceGetParamsResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetRewardsAccumulatedExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetRewardsAccumulatedExample.java
index 6c5d56641..a201283b2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetRewardsAccumulatedExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetRewardsAccumulatedExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.GovernanceGetRewardsAccumulatedResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.GovernanceGetRewardsAccumulatedResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetStakingInfoExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetStakingInfoExample.java
index ab093e432..47c8ee0d3 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetStakingInfoExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceGetStakingInfoExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.GovernanceGetStakingInfoResponse;
+//import org.web3j.protocol.kaia.core.method.response.GovernanceGetStakingInfoResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheExample.java
index 81de195b7..a72b3cc89 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheExample.java
@@ -1,8 +1,6 @@
-
-
-import org.web3j.protocol.klaytn.core.method.response.GovernanceIdxCacheResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceIdxCacheResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheFromDbExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheFromDbExample.java
index 009988159..cbbd641c7 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheFromDbExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceIdxCacheFromDbExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.GovernanceIdxCacheFromDbResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceIdxCacheFromDbResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemCacheFromDbExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemCacheFromDbExample.java
index e6d0b05b2..d0391a697 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemCacheFromDbExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemCacheFromDbExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.GovernanceItemCacheFromDbResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceItemCacheFromDbResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemsAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemsAtExample.java
index 116347627..b46ea7896 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemsAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceItemsAtExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.GovernanceItemsAtResponse;
+//import org.web3j.protocol.kaia.core.method.response.GovernanceItemsAtResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotesExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotesExample.java
index 61e611955..a18345e31 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotesExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotesExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.GovernanceMyVotesResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceMyVotesResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotingPowerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotingPowerExample.java
index 0cb831e0f..325a51c24 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotingPowerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceMyVotingPowerExample.java
@@ -1,8 +1,8 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.GovernanceMyVotingPowerResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceMyVotingPowerResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class GovernanceMyVotingPowerExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net")); void governanceMyVotingPowerExample() throws IOException {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceNodeAddressExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceNodeAddressExample.java
index 4a9c6c8f8..7f6231c3d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceNodeAddressExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceNodeAddressExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.GovernanceNodeAddressResponse;
+//import org.web3j.protocol.kaia.core.method.response.GovernanceNodeAddressResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernancePendingChangesExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernancePendingChangesExample.java
index 76839c696..07333c4e8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernancePendingChangesExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernancePendingChangesExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.GovernancePendingChangesResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernancePendingChangesResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceShowTallyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceShowTallyExample.java
index 1a44c75cf..42517d881 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceShowTallyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceShowTallyExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.GovernanceShowTallyResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceShowTallyResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceTotalVotingPowerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceTotalVotingPowerExample.java
index 3c71f890d..24ed8f7ce 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceTotalVotingPowerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceTotalVotingPowerExample.java
@@ -1,8 +1,8 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.GovernanceTotalVotingPowerResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceTotalVotingPowerResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class GovernanceTotalVotingPowerExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net"));
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVoteExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVoteExample.java
index c3867ea91..1e91cebe4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVoteExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVoteExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.GovernanceVoteResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceVoteResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVotesExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVotesExample.java
index 4fb4f7313..7600d1d72 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVotesExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/governance/GovernanceVotesExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.GovernanceVotesResponse;
+import org.web3j.protocol.kaia.core.method.response.GovernanceVotesResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountCreatedExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountCreatedExample.java
index 55ce8141e..e8a79df2a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountCreatedExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountCreatedExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaAccountCreatedResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaAccountCreatedResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountsExample.java
index 01f2306e5..086462ba2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaAccountsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaAccountsResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaAccountsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaDecodeAccountKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaDecodeAccountKeyExample.java
index 2d5d8b0b3..033f1b2fe 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaDecodeAccountKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaDecodeAccountKeyExample.java
@@ -1,8 +1,6 @@
-
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KaiaDecodeAccountKeyResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaDecodeAccountKeyResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaEncodeAccountKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaEncodeAccountKeyExample.java
index 989db2fa7..aa373cdb4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaEncodeAccountKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaEncodeAccountKeyExample.java
@@ -2,8 +2,8 @@
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KaiaEncodeAccountKeyResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaEncodeAccountKeyResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountExample.java
index cefec9408..8b7398840 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountKeyExample.java
index 70280cb4a..41a7bcfba 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetAccountKeyExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetAccountKeyResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetAccountKeyResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetBalanceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetBalanceExample.java
index 767f90d21..715ef6a92 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetBalanceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetBalanceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBalanceResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBalanceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetCodeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetCodeExample.java
index e581609cd..43f30fe32 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetCodeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetCodeExample.java
@@ -1,8 +1,6 @@
-
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetCodeResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetCodeResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetTransactionCountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetTransactionCountExample.java
index 84ec3c27c..c00831d21 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetTransactionCountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaGetTransactionCountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetTransactionCountResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetTransactionCountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaIsContractAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaIsContractAccountExample.java
index 0b76c9e50..ce1814149 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaIsContractAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaIsContractAccountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaIsContractAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaIsContractAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaSignExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaSignExample.java
index df34d54e6..2b9781a0b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaSignExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/account/KaiaSignExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaSignResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaSignResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaBlockNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaBlockNumberExample.java
index d16c30de8..b3a08a497 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaBlockNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaBlockNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaBlockNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaBlockNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByHashExample.java
index 82d82b414..3152efbe9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByNumberExample.java
index e18eab643..6d8698b59 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockReceiptsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockReceiptsExample.java
index 2fb368c03..f8a23c7dc 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockReceiptsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockReceiptsExample.java
@@ -1,8 +1,6 @@
-
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockReceiptsResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockReceiptsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByHashExample.java
index 285ab4ff6..e388b79c8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockTransactionCountByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockTransactionCountByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByNumberExample.java
index 68a81d5e4..226647236 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockTransactionCountByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockTransactionCountByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockTransactionCountByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByHashExample.java
index 1a5167cc5..79af74ce0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockWithConsensusInfoByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockWithConsensusInfoByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberExample.java
index 639d7a25e..5430992ee 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockWithConsensusInfoByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockWithConsensusInfoByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberRangeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberRangeExample.java
index 5290bf8be..a6e6c4708 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberRangeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetBlockWithConsensusInfoByNumberRangeExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetBlockWithConsensusInfoByNumberRangeResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetBlockWithConsensusInfoByNumberRangeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class KaiaGetBlockWithConsensusInfoByNumberRangeExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeExample.java
index 78ba0972a..724c07e8d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetCommitteeResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetCommitteeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeSizeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeSizeExample.java
index 8cd55aaec..2eac3cdc5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeSizeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCommitteeSizeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetCommitteeSizeResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetCommitteeSizeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilExample.java
index d835895ef..575204cb5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetCouncilResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetCouncilResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilSizeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilSizeExample.java
index 1337fd161..6435274fd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilSizeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetCouncilSizeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetCouncilSizeResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetCouncilSizeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByHashExample.java
index 663ed7c7a..a66bbc8b8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetHeaderByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetHeaderByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByNumberExample.java
index ea0d6c478..233160dc9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetHeaderByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetHeaderByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetHeaderByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetRewardsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetRewardsExample.java
index 6724e4913..5bbebf146 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetRewardsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetRewardsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetRewardsResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetRewardsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetStorageAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetStorageAtExample.java
index 5c7f35aa4..f60b3ec4e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetStorageAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaGetStorageAtExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetStorageAtResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetStorageAtResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaSyncingExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaSyncingExample.java
index 6cdc26975..99f91733b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaSyncingExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/block/KaiaSyncingExample.java
@@ -1,8 +1,8 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.KaiaSyncingResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaSyncingResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class KaiaSyncingExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net")); void kaiaSyncingExample() throws IOException {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaChainIdExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaChainIdExample.java
index 8cac89a0b..b5f0c6d32 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaChainIdExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaChainIdExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaChainIDResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaChainIDResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaClientVersionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaClientVersionExample.java
index a2e085bbf..8becfd740 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaClientVersionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaClientVersionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaClientVersionResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaClientVersionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaForkStatusExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaForkStatusExample.java
index 9ebbb9db4..16927d5db 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaForkStatusExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaForkStatusExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KaiaForkStatusResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaForkStatusResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceAtExample.java
index bd4f21908..6d4e1c993 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceAtExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.KaiaGasPriceAtResponse;
+//import org.web3j.protocol.kaia.core.method.response.KaiaGasPriceAtResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceExample.java
index a2079d429..8f19ee44c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGasPriceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGasPriceResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGasPriceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGetChainConfigExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGetChainConfigExample.java
index 3ca860966..804c04fd6 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGetChainConfigExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaGetChainConfigExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetChainConfigResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetChainConfigResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsParallelDBWriteExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsParallelDBWriteExample.java
index db69cf951..a75072600 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsParallelDBWriteExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsParallelDBWriteExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaIsParallelDBWriteResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaIsParallelDBWriteResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsSenderTxHashIndexingEnabledExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsSenderTxHashIndexingEnabledExample.java
index 524d3cd71..765a44b75 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsSenderTxHashIndexingEnabledExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaIsSenderTxHashIndexingEnabledExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaIsSenderTxHashIndexingEnabledResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaIsSenderTxHashIndexingEnabledResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaProtocolVersionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaProtocolVersionExample.java
index 4ba86eb3f..4d5bbc67c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaProtocolVersionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaProtocolVersionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaProtocolVersionResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaProtocolVersionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaRewardBaseExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaRewardBaseExample.java
index 8d4f7dec9..423b843cd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaRewardBaseExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/configuration/KaiaRewardBaseExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaRewardbaseResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaRewardbaseResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterChangesExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterChangesExample.java
index dbe2e5819..c242470df 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterChangesExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterChangesExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetFilterChangesResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetFilterChangesResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterLogsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterLogsExample.java
index d657ec120..4b44e70b7 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterLogsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetFilterLogsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetFilterLogsResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetFilterLogsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetLogsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetLogsExample.java
index 0cd6a82d0..d09413d53 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetLogsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaGetLogsExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.FilterOptions;
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetLogsResponse;
+import org.web3j.protocol.kaia.core.method.response.FilterOptions;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetLogsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewBlockFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewBlockFilterExample.java
index fd6c34803..24eac749f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewBlockFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewBlockFilterExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaNewBlockFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaNewBlockFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewFilterExample.java
index d418cf541..e657b118f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewFilterExample.java
@@ -1,9 +1,9 @@
import java.util.List;
-import org.web3j.protocol.klaytn.core.method.response.FilterOptions;
-import org.web3j.protocol.klaytn.core.method.response.KaiaNewFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.FilterOptions;
+import org.web3j.protocol.kaia.core.method.response.KaiaNewFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewPendingTransactionFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewPendingTransactionFilterExample.java
index 5a4172d67..6fcee9d72 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewPendingTransactionFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaNewPendingTransactionFilterExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaNewPendingTransactionFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaNewPendingTransactionFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaUninstallFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaUninstallFilterExample.java
index 983e3a992..96e69660a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaUninstallFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/filter/KaiaUninstallFilterExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaUninstallFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaUninstallFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaFeeHistoryExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaFeeHistoryExample.java
index c3ca877c7..5b1413bb4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaFeeHistoryExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaFeeHistoryExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaFeeHistoryResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaFeeHistoryResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.List;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaLowerBoundGasPriceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaLowerBoundGasPriceExample.java
index 3642a16d6..23fc9a66f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaLowerBoundGasPriceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaLowerBoundGasPriceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaLowerBoundGasPriceResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaLowerBoundGasPriceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaMaxPriorityFeePerGasExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaMaxPriorityFeePerGasExample.java
index 16735449c..4a004433d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaMaxPriorityFeePerGasExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaMaxPriorityFeePerGasExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaMaxPriorityFeePerGasResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaMaxPriorityFeePerGasResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaUpperBoundGasPriceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaUpperBoundGasPriceExample.java
index e2bcee9dc..10aed8acf 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaUpperBoundGasPriceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/gas/KaiaUpperBoundGasPriceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaUpperBoundGasPriceResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaUpperBoundGasPriceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromMessageExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromMessageExample.java
index fb937ab16..7012d631c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromMessageExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromMessageExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KaiaRecoverFromMessageResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromMessageResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromTransactionExample.java
index 1b6703bda..532d7640a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaRecoverFromTransactionExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KaiaRecoverFromTransactionResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KaiaRecoverFromTransactionResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaSha3Example.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaSha3Example.java
index af4626e2f..1b9015abb 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaSha3Example.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/miscellaneous/KaiaSha3Example.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaSha3Response;
+import org.web3j.protocol.kaia.core.method.response.KaiaSha3Response;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaCreateAccessListExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaCreateAccessListExample.java
index 1ff550cf6..40d33145b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaCreateAccessListExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaCreateAccessListExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KaiaCreateAccessListResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaCallObject;
+import org.web3j.protocol.kaia.core.method.response.KaiaCreateAccessListResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetNodeAddressExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetNodeAddressExample.java
index f47e973ce..578deb71c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetNodeAddressExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetNodeAddressExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaNodeAddressResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaNodeAddressResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockHashAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockHashAndIndexExample.java
index b22534189..ead9c94a6 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockHashAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockHashAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetRawTransactionByBlockHashAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetRawTransactionByBlockHashAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockNumberAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockNumberAndIndexExample.java
index 57e420cbe..d05790e51 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockNumberAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByBlockNumberAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetRawTransactionByBlockNumberAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetRawTransactionByBlockNumberAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByHashExample.java
index 4b5f700ed..d284c77e2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetRawTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetRawTransactionByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetRawTransactionByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetStakingInfoExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetStakingInfoExample.java
index 023eb4fe4..046ef1679 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetStakingInfoExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaGetStakingInfoExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetStakingInfoResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetStakingInfoResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaResendExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaResendExample.java
index 931a700d8..b7de8a84d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaResendExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/others/KaiaResendExample.java
@@ -1,10 +1,10 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.KaiaResendResponse;
-import org.web3j.protocol.klaytn.core.method.response.SendArgs;
+import org.web3j.protocol.kaia.core.method.response.KaiaResendResponse;
+import org.web3j.protocol.kaia.core.method.response.SendArgs;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class KaiaResendExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net"));
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaCallExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaCallExample.java
index e58c2e2fd..03cd7f9a0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaCallExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaCallExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KaiaCallResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaCallObject;
+import org.web3j.protocol.kaia.core.method.response.KaiaCallResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class KaiaCallExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateComputationCostExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateComputationCostExample.java
index 9ad22625f..dae72f3e8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateComputationCostExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateComputationCostExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KaiaEstimateComputationCostResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaCallObject;
+import org.web3j.protocol.kaia.core.method.response.KaiaEstimateComputationCostResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateGasExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateGasExample.java
index d9ce9f939..e68eecaac 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateGasExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaEstimateGasExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KaiaEstimateGasResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaCallObject;
+import org.web3j.protocol.kaia.core.method.response.KaiaEstimateGasResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetDecodedAnchoringTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetDecodedAnchoringTransactionByHashExample.java
index d0e385c44..45ca64d8d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetDecodedAnchoringTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetDecodedAnchoringTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetDecodedAnchoringTransactionByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetDecodedAnchoringTransactionByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockHashAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockHashAndIndexExample.java
index bf403290d..8e926a94c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockHashAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockHashAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetTransactionByBlockHashAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetTransactionByBlockHashAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockNumberAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockNumberAndIndexExample.java
index e703ff491..9284fc2b2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockNumberAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByBlockNumberAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetTransactionByBlockNumberAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetTransactionByBlockNumberAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByHashExample.java
index 0eb95bd29..5499765ce 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetTransactionByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetTransactionByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionBySenderTxHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionBySenderTxHashExample.java
index d74ad7d86..1e7e1d60c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionBySenderTxHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionBySenderTxHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetTransactionBySenderTxHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetTransactionBySenderTxHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptBySenderTxHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptBySenderTxHashExample.java
index f12a477f7..aaf5ed988 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptBySenderTxHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptBySenderTxHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetTransactionReceiptBySenderTxHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetTransactionReceiptBySenderTxHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptExample.java
index 01c54ee67..9eca6df9f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaGetTransactionReceiptExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaGetTransactionReceiptResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaGetTransactionReceiptResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaPendingTransactionsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaPendingTransactionsExample.java
index 17164a950..432167361 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaPendingTransactionsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaPendingTransactionsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaPendingTransactionsResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaPendingTransactionsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendRawTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendRawTransactionExample.java
index e3adafabe..81dcfda01 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendRawTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendRawTransactionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaSendRawTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiaSendRawTransactionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionAsFeePayerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionAsFeePayerExample.java
index a88891190..3f338f7c0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionAsFeePayerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionAsFeePayerExample.java
@@ -1,9 +1,8 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaSendTransactionAsFeePayerResponse;
-import org.web3j.protocol.klaytn.core.method.response.KaiatnTransactionTypes;
-import org.web3j.protocol.klaytn.core.method.response.Signature;
+import org.web3j.protocol.kaia.core.method.response.KaiaSendTransactionAsFeePayerResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiatnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.Signature;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.List;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionExample.java
index 569ec7823..7f815dc24 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSendTransactionExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaSendTransactionResponse;
-import org.web3j.protocol.klaytn.core.method.response.KaiatnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.KaiaSendTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiatnTransactionTypes;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionAsFeePayerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionAsFeePayerExample.java
index 2a58b1ac5..8514b2109 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionAsFeePayerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionAsFeePayerExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaSignTransactionAsFeePayerResponse;
-import org.web3j.protocol.klaytn.core.method.response.KaiatnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.KaiaSignTransactionAsFeePayerResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiatnTransactionTypes;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionExample.java
index 8dbe04d2f..5593a4ccf 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/kaia/transaction/KaiaSignTransactionExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KaiaSignTransactionResponse;
-import org.web3j.protocol.klaytn.core.method.response.KaiatnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.KaiaSignTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.KaiatnTransactionTypes;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountCreatedExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountCreatedExample.java
index aafcf614e..6af8d938b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountCreatedExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountCreatedExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayAccountCreatedResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayAccountCreatedResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountsExample.java
index 29a3f7d1e..e169d9d0d 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayAccountsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayAccountsResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayAccountsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayDecodeAccountKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayDecodeAccountKeyExample.java
index ec907ab8c..9f15c9453 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayDecodeAccountKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayDecodeAccountKeyExample.java
@@ -1,8 +1,6 @@
-
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayDecodeAccountKeyResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayDecodeAccountKeyResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayEncodeAccountKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayEncodeAccountKeyExample.java
index e44b25fde..ee1765fc1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayEncodeAccountKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayEncodeAccountKeyExample.java
@@ -2,8 +2,8 @@
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayEncodeAccountKeyResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayEncodeAccountKeyResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountExample.java
index 91a151d50..5b7c6376c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountKeyExample.java
index ded220121..e9f310ec8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetAccountKeyExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetAccountKeyResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetAccountKeyResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetBalanceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetBalanceExample.java
index 21476c72a..91be85ea3 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetBalanceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetBalanceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBalanceResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBalanceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetCodeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetCodeExample.java
index b7e3bab02..263ec88ef 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetCodeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetCodeExample.java
@@ -1,8 +1,6 @@
-
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayGetCodeResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayGetCodeResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetTransactionCountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetTransactionCountExample.java
index 3e3e4090f..b8f65922e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetTransactionCountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayGetTransactionCountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTransactionCountResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTransactionCountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayIsContractAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayIsContractAccountExample.java
index 8905460c9..8b3fe80ea 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayIsContractAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlayIsContractAccountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayIsContractAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayIsContractAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlaySignExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlaySignExample.java
index 04203ffa2..b0f4a1239 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlaySignExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/account/KlaySignExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlaySignResponse;
+import org.web3j.protocol.kaia.core.method.response.KlaySignResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayBlockNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayBlockNumberExample.java
index 25e3b8fac..2df3bbb1c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayBlockNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayBlockNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayBlockNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayBlockNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByHashExample.java
index e286c58bf..153cb62eb 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByNumberExample.java
index b95671e63..f57d9c377 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockReceiptsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockReceiptsExample.java
index 4a1f3bc6e..ad3e50b9e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockReceiptsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockReceiptsExample.java
@@ -1,8 +1,6 @@
-
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockReceiptsResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockReceiptsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByHashExample.java
index aff9749ce..d4e1f84f8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockTransactionCountByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockTransactionCountByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByNumberExample.java
index 6e8102f2f..65b0122c2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockTransactionCountByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockTransactionCountByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockTransactionCountByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByHashExample.java
index 229c3fc2c..81e3f6e98 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockWithConsensusInfoByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockWithConsensusInfoByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberExample.java
index 545e8edff..e61f8f63c 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockWithConsensusInfoByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockWithConsensusInfoByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberRangeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberRangeExample.java
index 14aba1557..167e4797a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberRangeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetBlockWithConsensusInfoByNumberRangeExample.java
@@ -1,6 +1,6 @@
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlockWithConsensusInfoByNumberRangeResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlockWithConsensusInfoByNumberRangeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class KlayGetBlockWithConsensusInfoByNumberRangeExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeExample.java
index 16e7e9150..65539cc47 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetCommitteeResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetCommitteeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeSizeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeSizeExample.java
index 1502d1662..5c7ca2b04 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeSizeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCommitteeSizeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetCommitteeSizeResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetCommitteeSizeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilExample.java
index c2025df46..f0f963791 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetCouncilResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetCouncilResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilSizeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilSizeExample.java
index 34f013fc9..3e47488cd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilSizeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetCouncilSizeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetCouncilSizeResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetCouncilSizeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByHashExample.java
index f0a45201f..5d82419a3 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetHeaderByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetHeaderByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByNumberExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByNumberExample.java
index 7b8799afd..0177323c1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByNumberExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetHeaderByNumberExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetHeaderByNumberResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetHeaderByNumberResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetRewardsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetRewardsExample.java
index e815c05af..25ec11031 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetRewardsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetRewardsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetRewardsResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetRewardsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetStorageAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetStorageAtExample.java
index 83e818eb9..ead59a940 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetStorageAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlayGetStorageAtExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetStorageAtResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetStorageAtResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlaySyncingExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlaySyncingExample.java
index 0abb5e601..41f2c9858 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlaySyncingExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/block/KlaySyncingExample.java
@@ -1,8 +1,8 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.KlaySyncingResponse;
+import org.web3j.protocol.kaia.core.method.response.KlaySyncingResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class KlaySyncingExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net")); void klaySyncingExample() throws IOException {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayChainIdExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayChainIdExample.java
index bd0fa0c7b..1c761b6d1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayChainIdExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayChainIdExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayChainIDResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayChainIDResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayClientVersionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayClientVersionExample.java
index 5e4d10e37..09b1bca99 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayClientVersionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayClientVersionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayClientVersionResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayClientVersionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayForkStatusExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayForkStatusExample.java
index 65629fbb4..2701eedbe 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayForkStatusExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayForkStatusExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayForkStatusResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayForkStatusResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayGetChainConfigExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayGetChainConfigExample.java
index 402384803..8e687f97a 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayGetChainConfigExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayGetChainConfigExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetChainConfigResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetChainConfigResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsParallelDBWriteExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsParallelDBWriteExample.java
index 595aaeb42..3e594afa5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsParallelDBWriteExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsParallelDBWriteExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayIsParallelDBWriteResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayIsParallelDBWriteResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsSenderTxHashIndexingEnabledExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsSenderTxHashIndexingEnabledExample.java
index 68ee68540..75bb1f8c4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsSenderTxHashIndexingEnabledExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayIsSenderTxHashIndexingEnabledExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayIsSenderTxHashIndexingEnabledResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayIsSenderTxHashIndexingEnabledResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayProtocolVersionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayProtocolVersionExample.java
index 3c42dbb8a..e098728fe 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayProtocolVersionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayProtocolVersionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayProtocolVersionResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayProtocolVersionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayRewardBaseExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayRewardBaseExample.java
index e9829af62..7bcdd9881 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayRewardBaseExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/configuration/KlayRewardBaseExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayRewardbaseResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayRewardbaseResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterChangesExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterChangesExample.java
index ef9cb28d4..9b9e2d484 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterChangesExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterChangesExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetFilterChangesResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetFilterChangesResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterLogsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterLogsExample.java
index 34ca45008..5c0c9afbd 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterLogsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetFilterLogsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetFilterLogsResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetFilterLogsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetLogsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetLogsExample.java
index e315dfc73..44f66cdf2 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetLogsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayGetLogsExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.FilterOptions;
-import org.web3j.protocol.klaytn.core.method.response.KlayGetLogsResponse;
+import org.web3j.protocol.kaia.core.method.response.FilterOptions;
+import org.web3j.protocol.kaia.core.method.response.KlayGetLogsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewBlockFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewBlockFilterExample.java
index e6f4445e0..5e0b43e72 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewBlockFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewBlockFilterExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayNewBlockFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayNewBlockFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewFilterExample.java
index fa33871bb..0206360cb 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewFilterExample.java
@@ -1,9 +1,9 @@
import java.util.List;
-import org.web3j.protocol.klaytn.core.method.response.FilterOptions;
-import org.web3j.protocol.klaytn.core.method.response.KlayNewFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.FilterOptions;
+import org.web3j.protocol.kaia.core.method.response.KlayNewFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewPendingTransactionFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewPendingTransactionFilterExample.java
index 4c7c57c70..b6978eb03 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewPendingTransactionFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayNewPendingTransactionFilterExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayNewPendingTransactionFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayNewPendingTransactionFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayUninstallFilterExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayUninstallFilterExample.java
index 1bb1e21bb..b31156c08 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayUninstallFilterExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/filter/KlayUninstallFilterExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayUninstallFilterResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayUninstallFilterResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayFeeHistoryExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayFeeHistoryExample.java
index 2a3585d3c..fe4649956 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayFeeHistoryExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayFeeHistoryExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayFeeHistoryResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayFeeHistoryResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.List;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceAtExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceAtExample.java
index ad50537f5..db65cbf4b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceAtExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceAtExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.KlayGasPriceAtResponse;
+//import org.web3j.protocol.kaia.core.method.response.KlayGasPriceAtResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceExample.java
index 4b26c2617..f2ed6c672 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayGasPriceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGasPriceResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGasPriceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayLowerBoundGasPriceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayLowerBoundGasPriceExample.java
index 6fca2f85e..07186cb83 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayLowerBoundGasPriceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayLowerBoundGasPriceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayLowerBoundGasPriceResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayLowerBoundGasPriceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayMaxPriorityFeePerGasExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayMaxPriorityFeePerGasExample.java
index ee5731c74..5350c10ca 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayMaxPriorityFeePerGasExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayMaxPriorityFeePerGasExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayMaxPriorityFeePerGasResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayMaxPriorityFeePerGasResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayUpperBoundGasPriceExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayUpperBoundGasPriceExample.java
index c16bfa0be..aae23711e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayUpperBoundGasPriceExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/gas/KlayUpperBoundGasPriceExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayUpperBoundGasPriceResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayUpperBoundGasPriceResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetActiveAddressFromRegistryExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetActiveAddressFromRegistryExample.java
index e785de3c9..bf91f3bca 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetActiveAddressFromRegistryExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetActiveAddressFromRegistryExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayGetActiveAddressFromRegistryResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayGetActiveAddressFromRegistryResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetAllRecordsFromRegistryExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetAllRecordsFromRegistryExample.java
index b9638c6ac..6737ebd13 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetAllRecordsFromRegistryExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetAllRecordsFromRegistryExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayGetAllRecordsFromRegistryResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayGetAllRecordsFromRegistryResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetBlsInfosExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetBlsInfosExample.java
index 76fda30a7..b4032f7cb 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetBlsInfosExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetBlsInfosExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayGetBlsInfosResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayGetBlsInfosResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetTotalSupplyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetTotalSupplyExample.java
index 81c14b66a..c863c5dd6 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetTotalSupplyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayGetTotalSupplyExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTotalSupplyResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTotalSupplyResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromMessageExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromMessageExample.java
index d0284a880..5f196263e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromMessageExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromMessageExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromMessageResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayRecoverFromMessageResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromTransactionExample.java
index 9e28ada79..4a7a56719 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlayRecoverFromTransactionExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
-import org.web3j.protocol.klaytn.core.method.response.KlayRecoverFromTransactionResponse;
+import org.web3j.protocol.kaia.Web3j;
+import org.web3j.protocol.kaia.core.method.response.KlayRecoverFromTransactionResponse;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlaySha3Example.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlaySha3Example.java
index 6fbae8bf6..8983d2214 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlaySha3Example.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/miscellaneous/KlaySha3Example.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlaySha3Response;
+import org.web3j.protocol.kaia.core.method.response.KlaySha3Response;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayCreateAccessListExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayCreateAccessListExample.java
index 17195f883..545c3a6ab 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayCreateAccessListExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayCreateAccessListExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KlayCreateAccessListResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayCallObject;
+import org.web3j.protocol.kaia.core.method.response.KlayCreateAccessListResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetNodeAddressExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetNodeAddressExample.java
index 1053dee59..026952fdf 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetNodeAddressExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetNodeAddressExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayNodeAddressResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayNodeAddressResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockHashAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockHashAndIndexExample.java
index bd340de5c..a79b31ae0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockHashAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockHashAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetRawTransactionByBlockHashAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetRawTransactionByBlockHashAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockNumberAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockNumberAndIndexExample.java
index 580adc870..141f2591b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockNumberAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByBlockNumberAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetRawTransactionByBlockNumberAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetRawTransactionByBlockNumberAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByHashExample.java
index 9ff4e3ec0..4bbee2229 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetRawTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetRawTransactionByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetRawTransactionByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetStakingInfoExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetStakingInfoExample.java
index e2a32eb04..56fc8fddb 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetStakingInfoExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayGetStakingInfoExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetStakingInfoResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetStakingInfoResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayResendExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayResendExample.java
index 899758f81..2d83c4ad5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayResendExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/others/KlayResendExample.java
@@ -1,10 +1,10 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.KlayResendResponse;
-import org.web3j.protocol.klaytn.core.method.response.SendArgs;
+import org.web3j.protocol.kaia.core.method.response.KlayResendResponse;
+import org.web3j.protocol.kaia.core.method.response.SendArgs;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class KlayResendExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net"));
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayCallExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayCallExample.java
index 666da2b74..9e736f200 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayCallExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayCallExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KlayCallResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayCallObject;
+import org.web3j.protocol.kaia.core.method.response.KlayCallResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class KlayCallExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateComputationCostExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateComputationCostExample.java
index 2ccb514ec..c56669a37 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateComputationCostExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateComputationCostExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KlayEstimateComputationCostResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayCallObject;
+import org.web3j.protocol.kaia.core.method.response.KlayEstimateComputationCostResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateGasExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateGasExample.java
index 5ded9a23a..9c8f6a6d9 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateGasExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayEstimateGasExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayCallObject;
-import org.web3j.protocol.klaytn.core.method.response.KlayEstimateGasResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayCallObject;
+import org.web3j.protocol.kaia.core.method.response.KlayEstimateGasResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetDecodedAnchoringTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetDecodedAnchoringTransactionByHashExample.java
index faaea8016..3c099c089 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetDecodedAnchoringTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetDecodedAnchoringTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetDecodedAnchoringTransactionByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetDecodedAnchoringTransactionByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockHashAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockHashAndIndexExample.java
index fdf6fad73..755a10a84 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockHashAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockHashAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTransactionByBlockHashAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTransactionByBlockHashAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockNumberAndIndexExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockNumberAndIndexExample.java
index 6ec68d07b..131f80ed4 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockNumberAndIndexExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByBlockNumberAndIndexExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTransactionByBlockNumberAndIndexResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTransactionByBlockNumberAndIndexResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByHashExample.java
index 2b674a2f6..dd2974641 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionByHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTransactionByHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTransactionByHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionBySenderTxHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionBySenderTxHashExample.java
index bfa8fc0e3..5ccdc8db1 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionBySenderTxHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionBySenderTxHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTransactionBySenderTxHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTransactionBySenderTxHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptBySenderTxHashExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptBySenderTxHashExample.java
index 073442181..e9b0bd444 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptBySenderTxHashExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptBySenderTxHashExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTransactionReceiptBySenderTxHashResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTransactionReceiptBySenderTxHashResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptExample.java
index 51f296c31..4659b1d02 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayGetTransactionReceiptExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayGetTransactionReceiptResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayGetTransactionReceiptResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayPendingTransactionsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayPendingTransactionsExample.java
index f93eec31d..e04865318 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayPendingTransactionsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlayPendingTransactionsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlayPendingTransactionsResponse;
+import org.web3j.protocol.kaia.core.method.response.KlayPendingTransactionsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendRawTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendRawTransactionExample.java
index 3334dce54..c5e7158e5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendRawTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendRawTransactionExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlaySendRawTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.KlaySendRawTransactionResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionAsFeePayerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionAsFeePayerExample.java
index 9291d14f8..80f46211f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionAsFeePayerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionAsFeePayerExample.java
@@ -1,9 +1,8 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlaySendTransactionAsFeePayerResponse;
-import org.web3j.protocol.klaytn.core.method.response.KlaytnTransactionTypes;
-import org.web3j.protocol.klaytn.core.method.response.Signature;
+import org.web3j.protocol.kaia.core.method.response.KlaySendTransactionAsFeePayerResponse;
+import org.web3j.protocol.kaia.core.method.response.KlaytnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.Signature;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.List;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionExample.java
index 0904297fa..6e5720bcc 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySendTransactionExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlaySendTransactionResponse;
-import org.web3j.protocol.klaytn.core.method.response.KlaytnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.KlaySendTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.KlaytnTransactionTypes;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionAsFeePayerExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionAsFeePayerExample.java
index c32e2718f..f50c17978 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionAsFeePayerExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionAsFeePayerExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlaySignTransactionAsFeePayerResponse;
-import org.web3j.protocol.klaytn.core.method.response.KlaytnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.KlaySignTransactionAsFeePayerResponse;
+import org.web3j.protocol.kaia.core.method.response.KlaytnTransactionTypes;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionExample.java
index 78addaebf..6459cd17b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/klay/transaction/KlaySignTransactionExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.KlaySignTransactionResponse;
-import org.web3j.protocol.klaytn.core.method.response.KlaytnTransactionTypes;
+import org.web3j.protocol.kaia.core.method.response.KlaySignTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.KlaytnTransactionTypes;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetListeningExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetListeningExample.java
index 4da878578..757745181 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetListeningExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetListeningExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.NetListening;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
public class NetListeningExample {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetNetworkIDExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetNetworkIDExample.java
index 7ac83a5e5..2b06463fc 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetNetworkIDExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetNetworkIDExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.NetNetworkIDResponse;
+import org.web3j.protocol.kaia.core.method.response.NetNetworkIDResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountByTypeExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountByTypeExample.java
index bb27d801a..cdb022155 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountByTypeExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountByTypeExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.NetPeerCountByTypeResponse;
+import org.web3j.protocol.kaia.core.method.response.NetPeerCountByTypeResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountExample.java
index 88a5a4e55..1c524e887 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetPeerCountExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.NetPeerCount;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetVersionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetVersionExample.java
index dd13f57e4..83f2603d5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetVersionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/net/NetVersionExample.java
@@ -1,7 +1,6 @@
-
import org.web3j.protocol.core.methods.response.NetVersion;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalDeriveAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalDeriveAccountExample.java
index cefb8e943..b066531eb 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalDeriveAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalDeriveAccountExample.java
@@ -1,8 +1,8 @@
import java.io.IOException;
-import org.web3j.protocol.klaytn.core.method.response.PersonalDeriveAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalDeriveAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
public class PersonalDeriveAccountExample {
private Web3j w3 = Web3j.build(new HttpService("https://public-en-baobab.klaytn.net")); void personalDeriveAccountExample() throws IOException {
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalEcRecoverExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalEcRecoverExample.java
index 8e672cab5..638c98dfe 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalEcRecoverExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalEcRecoverExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalEcRecoverResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalEcRecoverResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalImportRawKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalImportRawKeyExample.java
index f0d3876f8..a1555d0b6 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalImportRawKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalImportRawKeyExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalImportRawKeyResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalImportRawKeyResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListAccountsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListAccountsExample.java
index 7e4e6dd73..ec4eebf1b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListAccountsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListAccountsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalListAccountsResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalListAccountsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListWalletsExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListWalletsExample.java
index f9c3b71c7..45858d28f 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListWalletsExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalListWalletsExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalListWalletsResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalListWalletsResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalLockAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalLockAccountExample.java
index e602aaa98..5a6764a35 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalLockAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalLockAccountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalLockAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalLockAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalNewAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalNewAccountExample.java
index f0e2f912c..62fcf6c65 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalNewAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalNewAccountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalNewAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalNewAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalOpenWalletExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalOpenWalletExample.java
index 962c1a82b..346040e4e 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalOpenWalletExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalOpenWalletExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalOpenWalletResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalOpenWalletResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalReplaceRawKeyExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalReplaceRawKeyExample.java
index 2b9ece898..5938af82b 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalReplaceRawKeyExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalReplaceRawKeyExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalReplaceRawKeyResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalReplaceRawKeyResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendAccountUpdateExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendAccountUpdateExample.java
index c057510e4..d916450bf 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendAccountUpdateExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendAccountUpdateExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalSendAccountUpdateResponse;
-import org.web3j.protocol.klaytn.core.method.response.TransactionObject;
+import org.web3j.protocol.kaia.core.method.response.PersonalSendAccountUpdateResponse;
+import org.web3j.protocol.kaia.core.method.response.TransactionObject;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendTransactionExample.java
index 41bd95f2f..a989e11e7 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendTransactionExample.java
@@ -1,8 +1,7 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.PersonalSendTransactionResponse;
-import org.web3j.protocol.klaytn.core.method.response.TransactionObject;
+//import org.web3j.protocol.kaia.core.method.response.PersonalSendTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.TransactionObject;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendValueTransferExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendValueTransferExample.java
index a3184c840..aca909d27 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendValueTransferExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSendValueTransferExample.java
@@ -1,8 +1,7 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalSendValueTransferResponse;
-import org.web3j.protocol.klaytn.core.method.response.TransactionObject;
+import org.web3j.protocol.kaia.core.method.response.PersonalSendValueTransferResponse;
+import org.web3j.protocol.kaia.core.method.response.TransactionObject;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignExample.java
index 84a27706e..0cf21f0f0 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignExample.java
@@ -1,7 +1,6 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.PersonalSignResponse;
+//import org.web3j.protocol.kaia.core.method.response.PersonalSignResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignTransactionExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignTransactionExample.java
index 46b7b8fb5..9a6d5c721 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignTransactionExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalSignTransactionExample.java
@@ -1,8 +1,7 @@
-
-//import org.web3j.protocol.klaytn.core.method.response.PersonalSignTransactionResponse;
-import org.web3j.protocol.klaytn.core.method.response.TransactionObject;
+//import org.web3j.protocol.kaia.core.method.response.PersonalSignTransactionResponse;
+import org.web3j.protocol.kaia.core.method.response.TransactionObject;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalUnlockAccountExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalUnlockAccountExample.java
index 1c74aafec..d2391a8d3 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalUnlockAccountExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/personal/PersonalUnlockAccountExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.PersonalUnlockAccountResponse;
+import org.web3j.protocol.kaia.core.method.response.PersonalUnlockAccountResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolContentExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolContentExample.java
index 8dffe2239..07bf63d17 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolContentExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolContentExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.TxpoolContentResponse;
+import org.web3j.protocol.kaia.core.method.response.TxpoolContentResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolInspectExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolInspectExample.java
index 435538d01..fb390bdb5 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolInspectExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolInspectExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.TxpoolInspectResponse;
+import org.web3j.protocol.kaia.core.method.response.TxpoolInspectResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;
diff --git a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolStatusExample.java b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolStatusExample.java
index 1ccde2eb2..b385ee1e8 100644
--- a/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolStatusExample.java
+++ b/web3rpc/rpc-specs/code-samples/java/src/main/java/opensdk/sdk/apis/txpool/TxpoolStatusExample.java
@@ -1,7 +1,6 @@
-
-import org.web3j.protocol.klaytn.core.method.response.TxpoolStatusResponse;
+import org.web3j.protocol.kaia.core.method.response.TxpoolStatusResponse;
import org.web3j.protocol.http.HttpService;
-import org.web3j.protocol.klaytn.Web3j;
+import org.web3j.protocol.kaia.Web3j;
import java.io.IOException;