Add script to connect to a local/remote running bitcoind instance and print the balance of the wallet (#459)

Rm hardcoded username and env var for pw
This commit is contained in:
Chris Stewart 2019-05-06 09:07:17 -05:00 committed by GitHub
parent 90f2551571
commit e97fe626d6
2 changed files with 9 additions and 4 deletions

View File

@ -256,10 +256,13 @@ lazy val doc = project
libraryDependencies ++= Deps.doc,
)
.dependsOn(
bitcoindRpc,
core,
eclairRpc,
secp256k1jni,
core
testkit,
zmq
)
// Ammonite is invoked through running
// a main class it places in test sources
// for us. This makes it a bit less awkward

View File

@ -35,6 +35,7 @@ object Deps {
//for loading secp256k1 natively
val nativeLoader = "org.scijava" % "native-lib-loader" % V.nativeLoaderV withSources () withJavadoc ()
val ammonite = "com.lihaoyi" %% "ammonite" % V.ammoniteV cross CrossVersion.full
}
object Test {
@ -49,7 +50,7 @@ object Deps {
val spray = "io.spray" %% "spray-json" % V.spray % "test" withSources () withJavadoc ()
val akkaHttp = "com.typesafe.akka" %% "akka-http-testkit" % V.akkav % "test" withSources () withJavadoc ()
val akkaStream = "com.typesafe.akka" %% "akka-stream-testkit" % V.akkaStreamv % "test" withSources () withJavadoc ()
val ammonite = "com.lihaoyi" %% "ammonite" % V.ammoniteV % "test" cross CrossVersion.full
val ammonite = Compile.ammonite % "test"
val playJson = Compile.playJson % "test"
}
@ -139,7 +140,8 @@ object Deps {
)
val doc = List(
Test.ammonite,
Compile.ammonite,
"ch.qos.logback" % "logback-classic" % V.logback withSources () withJavadoc (),
Test.scalaTest,
Test.logback
)