GetScatter / scatter-js

Importable JavaScript library that allows web applications to directly interface with Scatter Desktop, Classic and Mobile.
MIT License
262 stars 148 forks source link

Nonetwork during connection to Telos mainnet (desktop) #121

Open kv-gits opened 5 years ago

kv-gits commented 5 years ago

This is network object which tries to connect to scatter.

a {name: "", protocol: "https", host: "api.telosfoundation.io", port: 443, blockchain: "eos", …}
blockchain: "eos" (also tried telos and EOSIO with the same result)
chainId: " 4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11"
host: "api.telosfoundation.io"
name: ""
port: 443
protocol: "https"
token: null
__proto__: Object

Got this error with the standart example code (eosjs 20+)

{type: "no_network", message: "This user does not have this network in their Scatter.", code: 402, isError: true}
code: 402
isError: true
message: "This user does not have this network in their Scatter."
type: "no_network"
__proto__: Object

The network in scatter is established and account loaded, and also scatter succesfully performs actions from inside scatter desktop

nsjames commented 5 years ago

Do you have the telos network enabled in Scatter? The chainId in your codeblock also has a space in it. That might be causing it if you do have the network in there.