object FundWalletUtil extends FundWalletUtil
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FundWalletUtil
- FundWalletUtil
- Logging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class FundedDLCWallet(wallet: DLCWallet) extends FundedTestWallet with Product with Serializable
- trait FundedTestWallet extends AnyRef
- case class FundedWallet(wallet: Wallet) extends FundedTestWallet with Product with Serializable
This is a wallet that was two funded accounts Account 0 (default account) has utxos of 1,2,3 bitcoin in it (6 btc total) Account 1 has a utxos of 0.2,0.3,0.5 bitcoin in it (0.6 total)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createFundedDLCWallet(nodeApi: NodeApi, chainQueryApi: ChainQueryApi, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[FundedDLCWallet]
- def createFundedDLCWalletWithBitcoind(bitcoind: BitcoindRpcClient, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[FundedDLCWallet]
- def createFundedWallet(nodeApi: NodeApi, chainQueryApi: ChainQueryApi, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: WalletAppConfig, system: ActorSystem): Future[FundedWallet]
This creates a wallet that was two funded accounts Account 0 (default account) has utxos of 1,2,3 bitcoin in it (6 btc total) Account 1 has a utxos of 0.2,0.3,0.5 bitcoin in it (1 btc total)
- def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fundAccountForWallet(amts: Vector[CurrencyUnit], account: HDAccount, wallet: Wallet)(implicit ec: ExecutionContext): Future[Wallet]
- Definition Classes
- FundWalletUtil
- def fundAccountForWalletWithBitcoind(amts: Vector[CurrencyUnit], account: HDAccount, wallet: Wallet, bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Wallet]
- Definition Classes
- FundWalletUtil
- def fundWallet(wallet: Wallet)(implicit ec: ExecutionContext): Future[FundedTestWallet]
Funds a bitcoin-s wallet with 3 utxos with 1, 2 and 3 bitcoin in the utxos
Funds a bitcoin-s wallet with 3 utxos with 1, 2 and 3 bitcoin in the utxos
- Definition Classes
- FundWalletUtil
- def fundWalletWithBitcoind[T <: WalletWithBitcoind](pair: T)(implicit ec: ExecutionContext): Future[T]
Funds the given wallet with money from the given bitcoind
Funds the given wallet with money from the given bitcoind
- Definition Classes
- FundWalletUtil
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- object FundedTestWallet