Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/EOSEssentials/Scatter-Demos
A set of integration demos using eosjs and Scatter
https://github.com/EOSEssentials/Scatter-Demos
blockchain decentralized-applications eos eosio
Last synced: about 1 month ago
JSON representation
A set of integration demos using eosjs and Scatter
- Host: GitHub
- URL: https://github.com/EOSEssentials/Scatter-Demos
- Owner: EOSEssentials
- Created: 2018-02-11T03:41:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T16:44:36.000Z (about 2 years ago)
- Last Synced: 2024-01-25T04:52:34.340Z (11 months ago)
- Topics: blockchain, decentralized-applications, eos, eosio
- Language: Vue
- Size: 1.71 MB
- Stars: 80
- Watchers: 10
- Forks: 24
- Open Issues: 15
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-eosio - EOSEssentials/Scatter-Demos - A set of integration demos using eosjs and Scatter. (Developers / Code examples)
README
# Scatter Demos
This is a set of integration demos using `eosjs` and the Scatter extension.
Demos currently include
## Demos Currently Available
#### Shopping Demo
A small demo showing Scatter's ability to return transactions with private data such as shipping info,
email, and full name. This can be used to collect data necessary for providing physical products without
having to lead users through tedious forms.#### Space Invaders
Showcase of the ability to upload high scores to the EOS blockchain and the use of Identity names as
usernames instead of EOS account names which provides continuity and a level of abstraction over a
user's private data.## Developers
You will need an http server to run this project locally. We recommend `http-server`.
#### Installing Locally
- Clone the repo `git clone https://github.com/EOSEssentials/Scatter-Demos.git`
- Go into the directory and install the dependencies with `npm i`
- Copy the `.env.example` to `.env` and fill out the properties as you need. ( You will need a local EOS dawn x2 node
running for this repository. You will also need to upload the contracts in the `contracts` folder )
- Build the project using `npm run build`
- Point your http server to the `build` directory.#### Using http-server
- Run the `npm i -g http-server` command to install `http-server` globally.
- Go into the `build` directory.
- Run `http-server`#### The .env File
- PRIVATE_KEY: The private key of a faucet account.
- ACCOUNT_NAME: The account name of the faucet account linked to the private key.
- NETWORK_HOST: The URI of the local EOS node you are running.
- NETWORK_PORT: The port of the local EOS node you are running.