Packages

object LnHumanReadablePart extends StringFactory[LnHumanReadablePart]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LnHumanReadablePart
  2. StringFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class lnbc(amount: Option[LnCurrencyUnit]) extends LnHumanReadablePart with Product with Serializable

    Prefix for generating a LN invoice on the Bitcoin MainNet

  2. case class lnbcrt(amount: Option[LnCurrencyUnit]) extends LnHumanReadablePart with Product with Serializable

    Prefix for genearting a LN invoice on the Bitcoin RegTest

  3. case class lntb(amount: Option[LnCurrencyUnit]) extends LnHumanReadablePart with Product with Serializable

    Prefix for generating a LN invoice on the Bitcoin TestNet3

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(network: LnParams, amount: Option[LnCurrencyUnit]): LnHumanReadablePart

    Will return a LnHumanReadablePart with the provide LnCurrencyUnit encoded in the invoice

  5. def apply(network: LnParams): LnHumanReadablePart
  6. def apply(network: NetworkParameters, amount: LnCurrencyUnit): LnHumanReadablePart
  7. def apply(network: NetworkParameters): LnHumanReadablePart
  8. def apply(bech32: String): Try[LnHumanReadablePart]

    Tries to construct a LN HRP with optional amount specified from the given string

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def fromLnParams(network: LnParams): LnHumanReadablePart

    Will return a LnHumanReadablePart without a LnCurrencyUnit encoded in the invoice

  15. def fromParamsAmount(network: LnParams, amount: Option[LnCurrencyUnit]): LnHumanReadablePart
  16. 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
    LnHumanReadablePartStringFactory
  17. 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
  18. 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
    LnHumanReadablePartStringFactory
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped