mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
More debugging of SLP lib
This commit is contained in:
@@ -88,6 +88,7 @@ class BCHJS {
|
||||
this.Wallet = Wallet
|
||||
this.Schnorr = new Schnorr(libConfig)
|
||||
|
||||
console.log(`SLP libConfig: ${JSON.stringify(libConfig, null, 2)}`)
|
||||
this.SLP = new SLP(libConfig)
|
||||
this.SLP.HDNode = this.HDNode
|
||||
}
|
||||
|
||||
@@ -28,6 +28,8 @@ class SLP {
|
||||
this.restURL = tmp.restURL
|
||||
this.apiToken = tmp.apiToken
|
||||
|
||||
console.log(`SLP constructor tmp: ${JSON.stringify(tmp, null, 2)}`)
|
||||
|
||||
this.Address = new Address(tmp)
|
||||
this.ECPair = ECPair
|
||||
this.TokenType1 = new TokenType1(this.restURL)
|
||||
|
||||
@@ -9,6 +9,8 @@ let _this
|
||||
|
||||
class Utils {
|
||||
constructor(config) {
|
||||
console.log(`SLP Utils config: ${JSON.stringify(config, null, 2)}`)
|
||||
|
||||
this.restURL = config.restURL
|
||||
this.apiToken = config.apiToken
|
||||
|
||||
|
||||
Reference in New Issue
Block a user