Skip to content

[proposal] activate testnet mode via configuration #33

@krtschmr

Description

@krtschmr

i've expected a configuration where we simply say

config.testnet = true

we then don't need to pass arguments into the address generation anymore

def to_serialized_hex(type = :public, network: :bitcoin)

could be changed to

 def to_serialized_hex(type = :public, network:  nil)
   network = config.network unless network

what would be against this idea?

would also benefit for testing purposes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions