chia-client
chia-client copied to clipboard
call .then on the promise for fullNode
For using ts-node
Instead of
console.log(await blockChainState.blockchain_state.space);
call with .then to prevent Promise { <pending> }
console.log(blockchain)
blockchain.then(function(fullNode) {
console.log(fullNode)
})