gitmark 0.0.31 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/git-mark-init +4 -3
- package/package.json +1 -1
package/bin/git-mark-init
CHANGED
|
@@ -102,12 +102,13 @@ var { address } = bitcoin.payments.p2pkh({
|
|
|
102
102
|
})
|
|
103
103
|
console.log('pubkey address computed from private', address)
|
|
104
104
|
|
|
105
|
-
// todo: put all in config, if not there
|
|
105
|
+
// todo: put all in config, if not there, check
|
|
106
106
|
console.log('run')
|
|
107
107
|
console.log(`git config gitmark.secret ${data.secret}`)
|
|
108
108
|
console.log(`git config gitmark.address ${address}`)
|
|
109
109
|
console.log(`git config gitmark.sshkey ${data.sshkey}`)
|
|
110
110
|
console.log(`git config gitmark.salt pwd`)
|
|
111
|
+
console.log(`git config gitmark.faucet ${data.faucet}`)
|
|
111
112
|
|
|
112
113
|
|
|
113
114
|
// get faucet
|
|
@@ -115,8 +116,8 @@ console.log('faucet', data.faucet)
|
|
|
115
116
|
|
|
116
117
|
// add to faucet
|
|
117
118
|
console.log('type', address, 'into', data.faucet, 'and wait for tx to get in a block or try')
|
|
118
|
-
console.log(`curl
|
|
119
|
-
console.log(`curl
|
|
119
|
+
console.log(`curl ${data.faucet}/?address=${address}`)
|
|
120
|
+
console.log(`curl ${data.faucet}/webcredits/webledger.json`)
|
|
120
121
|
|
|
121
122
|
// todo get tx value
|
|
122
123
|
var cmd = `sleep 0.4 ; curl ${data.faucet}/webcredits/webledger.json`
|