EOSIO / eosjs-keygen

Javascript keys generator for EOS
71 stars 42 forks source link

Eos.Testnet in the README is undefined #23

Open ekkis opened 4 years ago

ekkis commented 4 years ago

the README states I should be able to do:

Eos = require('eosjs')
eos = Eos.Testnet(...)

but if I:

console.log(Eos.Testnet)

I get undefined. I'm using v20.0.0-beta3 of eosjs. how is this supposed to work?

rajqumar commented 3 years ago

Getting same error for "eosjs-keygen": "^1.3.2" "eosjs": "^22.0.0"

TypeError: Eos.Testnet is not a function