Comments (1)
It will return on the account
, however this is only supported when interacting with Desktop.
const canGetPublicKey = !scatter.isExtension;
if(canGetPublicKey){
scatter.getIdentity({ accounts:[network] }).then(id => {
const publicKey = id.accounts[0].publicKey;
});
}
from scatter-js.
Related Issues (20)
- Can't call eos contract by use WalletAPI CreateTransaction HOT 1
- TypeError: c is not a constructor
- eosjs2 naming confusion HOT 1
- signing arbitrary data HOT 1
- Repeat websocket connections causes WalletAPI to utilize closed old websocket HOT 5
- README broken links HOT 3
- Add custom network globe icon is broken in v. 12.0.0 HOT 3
- TypeError: ScatterJS.scatter.eosHook is not a function at ta.html:61
- Defining "ScatterJS.scatter.eos" Cannot call related methods
- Scatter not found in Firefox HOT 1
- Cannot read property 'getRawAbi' of undefined
- Can't connect to scatter from browser
- Blocking when sendTransaction in Tron HOT 1
- ES6 Proxy is not defined in IE11 and Old Chrome
- Detecting auth
- JSON parsing error when RelaySocket connect fails HOT 2
- When calling transact(eosio.msig), Firefox and Chrome caught exception that said firewalled. HOT 2
- 404 at https://relay.get-scatter.com/app/connect/nodejs_env
- ScatterCDN failed
- Whitelisting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scatter-js.