object LnHumanReadablePart extends StringFactory[LnHumanReadablePart]
- Alphabetic
- By Inheritance
- LnHumanReadablePart
- StringFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class lnbc(amount: Option[LnCurrencyUnit]) extends LnHumanReadablePart with Product with Serializable
Prefix for generating a LN invoice on the Bitcoin MainNet
- case class lnbcrt(amount: Option[LnCurrencyUnit]) extends LnHumanReadablePart with Product with Serializable
Prefix for genearting a LN invoice on the Bitcoin RegTest
- case class lntb(amount: Option[LnCurrencyUnit]) extends LnHumanReadablePart with Product with Serializable
Prefix for generating a LN invoice on the Bitcoin TestNet3
- case class lntbs(amount: Option[LnCurrencyUnit]) extends LnHumanReadablePart with Product with Serializable
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
- def apply(network: LnParams, amount: Option[LnCurrencyUnit]): LnHumanReadablePart
Will return a LnHumanReadablePart with the provide LnCurrencyUnit encoded in the invoice
- def apply(network: LnParams): LnHumanReadablePart
- def apply(network: NetworkParameters, amount: LnCurrencyUnit): LnHumanReadablePart
- def apply(network: NetworkParameters): LnHumanReadablePart
- def apply(bech32: String): Try[LnHumanReadablePart]
Tries to construct a LN HRP with optional amount specified from the given string
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromLnParams(network: LnParams): LnHumanReadablePart
Will return a LnHumanReadablePart without a LnCurrencyUnit encoded in the invoice
- def fromParamsAmount(network: LnParams, amount: Option[LnCurrencyUnit]): LnHumanReadablePart
- def fromString(string: String): LnHumanReadablePart
Tries to parse a string to type t, throws an exception if fails
Tries to parse a string to type t, throws an exception if fails
- Definition Classes
- LnHumanReadablePart → StringFactory
- def fromStringOpt(string: String): Option[LnHumanReadablePart]
Treis to parse a string to type t, returns None if failure
Treis to parse a string to type t, returns None if failure
- Definition Classes
- StringFactory
- def fromStringT(bech32: String): Try[LnHumanReadablePart]
First two chars MUST be 'ln' Next chars must be the BIP173 currency prefixes.
First two chars MUST be 'ln' Next chars must be the BIP173 currency prefixes. For more information, see BOLT11 and BIP173
- Definition Classes
- LnHumanReadablePart → StringFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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()