Skip to content

Add Prefix Parameter

Latest
Compare
Choose a tag to compare
@CMEONE CMEONE released this 09 May 22:30

In this release, we added a prefix parameter to puzzle_hash_to_address:

let address = puzzle_hash_to_address(puzzle_hash, prefix = "xch");

The prefix is still "xch" by default but can now be modified to be compatible with other networks.