Skip to content

Commit

Permalink
Merge pull request #386 from icon-project/feature/icon-cluster-connec…
Browse files Browse the repository at this point in the history
…tion

feat: icon cluster connection
  • Loading branch information
bcsainju authored Nov 29, 2024
2 parents 0971607 + 6838c22 commit 65cde28
Show file tree
Hide file tree
Showing 4 changed files with 678 additions and 0 deletions.
55 changes: 55 additions & 0 deletions contracts/javascore/cluster-connection/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version = '0.1.0'

dependencies {
implementation project(':xcall-lib')

testImplementation 'org.bouncycastle:bcprov-jdk15on:1.70'
testImplementation 'foundation.icon:javaee-unittest:0.11.1'
testImplementation project(':test-lib')
}

test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}

optimizedJar {
dependsOn(project(':xcall-lib').jar)
mainClassName = 'xcall.adapter.cluster.ClusterConnection'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}

deployJar {
endpoints {
berlin {
uri = 'https://berlin.net.solidwallet.io/api/v3'
nid = 0x7
}
lisbon {
uri = 'https://lisbon.net.solidwallet.io/api/v3'
nid = 0x2
}
local {
uri = 'http://localhost:9082/api/v3'
nid = 0x3
}
mainnet {
uri = 'https://ctz.solidwallet.io/api/v3'
nid = 0x1
}
uat {
uri = project.findProperty('uat.host') as String
nid = property('uat.nid') as Integer
to = "$mockDApp"?:null
}
}
keystore = rootProject.hasProperty('keystoreName') ? "$keystoreName" : ''
password = rootProject.hasProperty('keystorePass') ? "$keystorePass" : ''
parameters {
arg('_relayer', "hxb6b5791be0b5ef67063b3c10b840fb81514db2fd")
arg('_xCall', "$xCall")
}
}
Loading

0 comments on commit 65cde28

Please sign in to comment.