EOS
Compatible with Scatter
Login
import ScatterJS from "@scatterjs/core";
ScatterJS.connect("My DAPP", { network }).then(connected => {
if (!connected) return alert("no scatter");
const eos = ScatterJS.eos(network, Api, { rpc });
this.setState({ eos });
ScatterJS.login().then(id => {
if (!id) return alert("no identity");
const account = ScatterJS.account("eos");
this.setState({ account }, this.getVote);
});
});Verify the signature from MYKEY
Last updated
Was this helpful?