Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ruXlab committed Dec 14, 2023
1 parent 0b5d903 commit aca0670
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 100 deletions.
1 change: 0 additions & 1 deletion .idea/gradle.xml

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

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 🍴 LocalNode: get Hardhat and Foundry Anvil integrated in your Java/Kotlin app

[![build status](https://github.com/ruXlab/pokefork/actions/workflows/tests.yml/badge.svg)](https://github.com/ruXlab/pokefork/actions)
[![build status](https://github.com/ruXlab/localnode/actions/workflows/tests.yml/badge.svg)](https://github.com/ruXlab/localnode/actions)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Maven Central](https://img.shields.io/maven-central/v/vc.rux.pokefork/ktx-module.svg)](https://search.maven.org/artifact/vc.rux.pokefork/web3j)
[![Maven Central](https://img.shields.io/maven-central/v/vc.rux.pokefork/ktx-module.svg)](https://search.maven.org/artifact/vc.rux.localnode/localnode)


LocalNode allows to run a local development or forked node of the Ethereum-like network
Expand Down
6 changes: 4 additions & 2 deletions examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ version = "0.0-SNAPSHOT"

repositories {
mavenCentral()
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/") // optional for snapshots
// maven(url = "https://s01.oss.sonatype.org/content/repositories/releases/") // optional for releases
// maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/") // optional for snapshots
// maven(url = "https://s01.oss.sonatype.org/content/groups/staging/") // optional for staging
}

dependencies {
implementation("vc.rux.localnode:web3j:0.1.0")
implementation("vc.rux.localnode:localnode:0.1.0")
implementation("org.web3j:core:4.10.3")
}

Expand Down
6 changes: 3 additions & 3 deletions examples/src/main/kotlin/QueryBalanceApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import misc.archiveNodeUrl
import org.web3j.protocol.core.DefaultBlockParameter
import org.web3j.utils.Convert.Unit
import org.web3j.utils.Convert.fromWei
import vc.rux.pokefork.anvil.AnvilNode
import vc.rux.pokefork.anvil.AnvilNodeConfig
import vc.rux.pokefork.web3j.LocalWeb3jNode
import vc.rux.localnode.anvil.AnvilNode
import vc.rux.localnode.anvil.AnvilNodeConfig
import vc.rux.localnode.web3j.LocalWeb3jNode

object QueryBalanceApp {
@JvmStatic
Expand Down
7 changes: 4 additions & 3 deletions plugins/src/main/kotlin/publication.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ publishing {
}

signing {
val signingKey = project.ext["signing.key"] as? String
val signingPassword = project.ext["signing.password"] as? String
val keyFilePath = project.ext["signing.secretKeyRingFile"] as? String
fun getProp(name: String) = runCatching { project.ext[name] }.getOrNull() as? String
val signingKey = getProp("signing.keyId")
val signingPassword = getProp("signing.password")
val keyFilePath = getProp("signing.secretKeyRingFile")

if (signingKey != null && signingPassword != null && keyFilePath != null) {
val keyContent = File(keyFilePath).readText()
Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ dependencyResolutionManagement {
}
}

include("web3j")
include("localnode")
include("examples")
71 changes: 0 additions & 71 deletions web3j/build.gradle.kts

This file was deleted.

17 changes: 0 additions & 17 deletions web3j/src/test/resources/logback.xml

This file was deleted.

0 comments on commit aca0670

Please sign in to comment.