More debugging of SLP lib

This commit is contained in:
Chris Troutner
2020-02-25 10:22:14 -08:00
parent 05c0fac6d2
commit 124c279b23
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -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
}
+2
View File
@@ -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)
+2
View File
@@ -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