Questions tagged [lotionjs]

2 questions
2
votes
1 answer

lotion.js : error in application that counts number of transactions occured so far (TypeError : app.listen is not a function)

let app = require('lotion')({ initialState: { count: 0 } }) app.use((state, tx) => { state.count++ }) app.listen(3000) On running this code (which I found on the lotion js official website), I am getting this…
KSH
  • 21
  • 3
1
vote
0 answers

LotionJS Peer Discovery | Address [...] does not contain ID

I tried to start a network with docker-compose. There I'll pass the ip-address and port number to LotionJS. If i start the docker containers i get an error: Address (x.x.x.x:xxx) does not contain ID. But in the LotionJS readme is noted peers: [],…
E. Dan
  • 11
  • 2