mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 13:48:49 +00:00
Michael Bradley, Jr
2088624d83
on autho failure trigger logout, which clears localStorage
We don't presently have a way to cleanly distinguish between auth attempts with query string vs. credentials from localStorage, particularly with respect to one kind failing vs. the other. This can create confusing behavior when e.g. copy/pasting an old/wrong URL+token, but then it works when refreshing the window/tab with URL minus the token. So, this commit simplifies the situation somewhat by triggering a logout if there's an auth failure. That will affect all open tabs/windows of the same browser but not other browsers, e.g. if one has embark-ui open in Chrome and Firefox.
What is Embark
Embark is a framework that allows you to easily develop and deploy Decentralized Applications (DApps).
A Decentralized Application is a serverless html5 application that uses one or more decentralized technologies.
Embark currently integrates with EVM blockchains (Ethereum), Decentralized Storages (IPFS), and Decentralized communication platforms (Whisper and Orbit). Swarm is supported for deployment.
With Embark you can:
Blockchain (Ethereum)
- Automatically deploy contracts and make them available in your JS code. Embark watches for changes, and if you update a contract, Embark will automatically redeploy the contracts (if needed) and the dapp.
- Contracts are available in JS with Promises.
- Do Test Driven Development with Contracts using Javascript.
- Keep track of deployed contracts; deploy only when truly needed.
- Manage different chains (e.g testnet, private net, livenet)
- Easily manage complex systems of interdependent contracts.
Decentralized Storage (IPFS)
- Easily Store & Retrieve Data on the DApp through EmbarkJS. Including uploading and retrieving files.
- Deploy the full application to IPFS or Swarm.
Decentralized Communication (Whisper, Orbit)
- Easily send/receive messages through channels in P2P through Whisper or Orbit.
Web Technologies
- Integrate with any web technology including React, Foundation, etc..
- Use any build pipeline or tool you wish, including grunt, gulp and webpack.
$ npm -g install embark
Languages
JavaScript
86%
CSS
10.4%
HTML
2.2%
Shell
1.4%