Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ init
**/key.txt
**/.env
**/node_modules
*/.idea
*/.idea

./cardano-staking/fireblocks/kotlin/build
./cardano-staking/fireblocks/kotlin/.gradle
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To get started, click on the links for installation and usage instructions.
- [Stake deposit from Fireblocks wallet with TypeScript SDK](./solana-staking/fireblocks/nodejs/README.md)

## Ethereum Staking
- [Stake deposit from Builder Vault wallet with Web3 Provider TypeScript SDK](./ethereum-staking/buildervault/nodejs-web3provider/README.md)
- [Stake deposit from Builder Vault wallet with Web3 Provider TypeScript SDK](./ethereum-staking/buildervault/nodejs-web3provider/README.md) - [(video clip)](https://youtu.be/H2kEFeiGq54?feature=shared)
- [Stake deposit from Builder Vault wallet with Golang SDK](./ethereum-staking/buildervault/golang/README.md)
- [Stake deposit from Builder Vault wallet with TypeScript SDK](./ethereum-staking/buildervault/nodejs/README.md)
- [Stake deposit from Fireblocks wallet with TypeScript SDK](./ethereum-staking/fireblocks/nodejs/README.md) - [(video clip)](https://youtu.be/_6uwwNTh7iQ?feature=shared)
Expand Down
42 changes: 42 additions & 0 deletions cardano-staking/fireblocks/kotlin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
33 changes: 33 additions & 0 deletions cardano-staking/fireblocks/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
plugins {
kotlin("jvm") version "2.0.0"
}

group = "example"

repositories {
mavenCentral()
}

dependencies {
implementation("com.fireblocks.sdk:fireblocks-sdk:5.0.0") // Fireblocks SDK
implementation("com.upokecenter:cbor:4.5.2") // CBOR for transaction encoding
implementation("org.bouncycastle:bcprov-jdk15on:1.70") // Blake2b hash function
implementation("com.squareup.okhttp3:okhttp:4.11.0")
implementation("com.beust:klaxon:5.5")
implementation("commons-codec:commons-codec:1.15")
implementation("com.bloxbean.cardano:cardano-client-lib:0.5.1")

testImplementation(kotlin("test"))
}


tasks.test {
useJUnitPlatform()
}

tasks.withType<JavaExec> {
jvmArgs("--add-opens", "java.base/sun.security.ssl=ALL-UNNAMED")
}


kotlin { jvmToolchain(21) }
1 change: 1 addition & 0 deletions cardano-staking/fireblocks/kotlin/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kotlin.code.style=official
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
234 changes: 234 additions & 0 deletions cardano-staking/fireblocks/kotlin/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading