From 3efd9bf81684e929322c617b38105f04db692bf1 Mon Sep 17 00:00:00 2001 From: SuperBatata Date: Mon, 15 Apr 2024 16:51:52 +0100 Subject: [PATCH] fix : added support to Amoy , previously Mumbai --- .../nftkit/utilis/providers/{MumbaiWeb3.kt => AmoyWeb3.kt} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/main/kotlin/id/walt/nftkit/utilis/providers/{MumbaiWeb3.kt => AmoyWeb3.kt} (81%) diff --git a/src/main/kotlin/id/walt/nftkit/utilis/providers/MumbaiWeb3.kt b/src/main/kotlin/id/walt/nftkit/utilis/providers/AmoyWeb3.kt similarity index 81% rename from src/main/kotlin/id/walt/nftkit/utilis/providers/MumbaiWeb3.kt rename to src/main/kotlin/id/walt/nftkit/utilis/providers/AmoyWeb3.kt index 6d8f1b4c..4b3cd079 100644 --- a/src/main/kotlin/id/walt/nftkit/utilis/providers/MumbaiWeb3.kt +++ b/src/main/kotlin/id/walt/nftkit/utilis/providers/AmoyWeb3.kt @@ -4,8 +4,8 @@ import id.walt.nftkit.services.WaltIdServices import org.web3j.protocol.Web3j import org.web3j.protocol.http.HttpService -class MumbaiWeb3 : Web3jInstance { +class AmoyWeb3 : Web3jInstance { override fun getWeb3j(): Web3j { - return Web3j.build(HttpService(WaltIdServices.loadChainConfig().providers.mumbai)) + return Web3j.build(HttpService(WaltIdServices.loadChainConfig().providers.amoy)) } } \ No newline at end of file