feat(v3): Forked the v2 code and tests into v3

This commit is contained in:
Chris Troutner
2019-05-31 08:42:57 -07:00
parent 6ed45b07a9
commit 6f615644d6
45 changed files with 12746 additions and 6 deletions
+29
View File
@@ -0,0 +1,29 @@
"use strict"
/**
* Read more about panda here: https://panda-suite.github.io/
*/
const panda = require("pandacash-core")
const runLocalNode = done => {
const server = panda.server({
// always the same mnemonic
// mnemonic: "cigar magnet ocean purchase travel damp snack alone theme budget wagon wrong",
seedAccounts: true,
enableLogs: false,
debug: false
})
server.listen({
port: 48332,
walletPort: 48333,
}, (err, pandaCashCore) => {
if (err) return console.error(err)
done()
})
}
module.exports = {
runLocalNode
}