diff --git a/.gitignore b/.gitignore index aa724b7..478f543 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,8 @@ .externalNativeBuild .cxx local.properties + +# Keystore files +*.keystore +*.jks +debug.keystore \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 20e2a01..051013a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx4096m -Xms1024m -XX:MaxMetaspaceSize=512m -XX:+UseG1GC -XX:+UseStringDeduplication -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. For more details, visit # https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects diff --git a/lib/src/main/java/com/circle/modularwallets/core/chains/ArcTestnet.kt b/lib/src/main/java/com/circle/modularwallets/core/chains/ArcTestnet.kt new file mode 100644 index 0000000..10b6442 --- /dev/null +++ b/lib/src/main/java/com/circle/modularwallets/core/chains/ArcTestnet.kt @@ -0,0 +1,25 @@ +/* + * Copyright 2025 Circle Internet Group, Inc. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at. + * + * Http://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.circle.modularwallets.core.chains + +object ArcTestnet : Chain() { + override val chainId: Long + get() = 5042002L +} + diff --git a/lib/src/main/java/com/circle/modularwallets/core/constants/AbiConstants.kt b/lib/src/main/java/com/circle/modularwallets/core/constants/AbiConstants.kt index 916b0ee..720abb1 100644 --- a/lib/src/main/java/com/circle/modularwallets/core/constants/AbiConstants.kt +++ b/lib/src/main/java/com/circle/modularwallets/core/constants/AbiConstants.kt @@ -27,6 +27,7 @@ internal val CONTRACT_ADDRESS: Map = mapOf( Token.Arbitrum_USDC.name to "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", Token.Arbitrum_ARB.name to "0x912CE59144191C1204E64559FE8253a0e49E6548", Token.ArbitrumSepolia_USDC.name to "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d", + Token.ArcTestnet_USDC.name to "0x3600000000000000000000000000000000000000", Token.Avalanche_USDC.name to "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E", Token.AvalancheFuji_USDC.name to "0x5425890298aed601595a70AB815c96711a31Bc65", Token.Base_USDC.name to "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", diff --git a/lib/src/main/java/com/circle/modularwallets/core/models/Token.kt b/lib/src/main/java/com/circle/modularwallets/core/models/Token.kt index 4669659..ba94306 100644 --- a/lib/src/main/java/com/circle/modularwallets/core/models/Token.kt +++ b/lib/src/main/java/com/circle/modularwallets/core/models/Token.kt @@ -27,6 +27,7 @@ enum class Token { Arbitrum_USDC, Arbitrum_ARB, ArbitrumSepolia_USDC, + ArcTestnet_USDC, Avalanche_USDC, AvalancheFuji_USDC, Base_USDC,