mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-09 00:58:50 +00:00
23 lines
481 B
Scala
23 lines
481 B
Scala
import io.circe.Printer
|
|
import scodec.bits.ByteVector
|
|
import scoin.*
|
|
|
|
object Utils {
|
|
val keyOne = PrivateKey(ByteVector32(ByteVector(0x01).padLeft(32)))
|
|
|
|
val jsonPrinter = Printer(
|
|
dropNullValues = false,
|
|
indent = " ",
|
|
lbraceRight = "\n",
|
|
rbraceLeft = "\n",
|
|
lbracketRight = "\n",
|
|
rbracketLeft = "\n",
|
|
lrbracketsEmpty = "",
|
|
arrayCommaRight = "\n",
|
|
objectCommaRight = "\n",
|
|
colonLeft = "",
|
|
colonRight = " ",
|
|
sortKeys = true
|
|
)
|
|
}
|