Discover Packages
github.com/ModChain/outscript
package
module
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Oct 1, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
outscript
Generate potential outscripts for a given public key.
Expand ▾
Collapse ▴
Documentation
¶
type Out struct {
Name string `json:"name"`
Script string `json:"script"`
}
GetOuts returns the potential outputs that can be opened in theory with the given pubkey. p2w* values are "pay to segwit" and
can only be used on segwit-enabled chains.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.