Network

enum Network : Enum<Network>

The cryptocurrency to act on.

Samples


fun main() { 
   //sampleStart 
   val wallet = Wallet(
    descriptor = descriptor,
    changeDescriptor = changeDescriptor,
    network = Network.TESTNET,
    databaseConfig = DatabaseConfig.Memory
) 
   //sampleEnd
}

Entries

Link copied to clipboard

Bitcoin's mainnet.

Link copied to clipboard

Bitcoin’s testnet.

Link copied to clipboard

Bitcoin’s signet.

Link copied to clipboard

Bitcoin’s regtest.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int