Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greymass/anchor-link-demo-multipass
Example for handling multi-chain/account/device sessions using anchor-link
https://github.com/greymass/anchor-link-demo-multipass
Last synced: about 1 month ago
JSON representation
Example for handling multi-chain/account/device sessions using anchor-link
- Host: GitHub
- URL: https://github.com/greymass/anchor-link-demo-multipass
- Owner: greymass
- Created: 2020-05-01T01:15:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T15:30:55.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T09:52:42.057Z (8 months ago)
- Language: JavaScript
- Homepage: https://greymass.github.io/anchor-link-demo-multipass/
- Size: 21.7 MB
- Stars: 10
- Watchers: 4
- Forks: 8
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-eosio - greymass/anchor-link-demo-multipass - Example ReactJS application integrating greymass/anchor-link. (Developers / Code examples)
README
### anchor-link-demo-multipass
This demo is a developer focused example to help show how Anchor + anchor-link can be used to create a multi-chain, multi-account, multi-device EOSIO applications. It was created using the create-react-app generic boilerplate and also includes anchor-link and anchor-link-browser-transport.
To run the demo, you'll just need to clone down this repository and run:
```
yarn install --frozen-lockfile
yarn start
```The demo will launch in your browser in a local server.
You can also view this demo live at the following URL:
https://greymass.github.io/anchor-link-demo-multipass/
#### Documentation
The code itself is documented and the bulk of the implementation can be found inside `./src/App.js`. If you read through this code, you should be able to understand exactly how to instantiate anchor-link with the browser transport, and create ESR protocol requests.
#### Signature Provider Support
This demo has been confirmed to work with:
- Anchor Desktop (1.0.0): https://github.com/greymass/anchor
- Anchor Mobile (0.1.0): Unreleased, beta testing in progress.It should work with any signature provider/wallet that integrates with the ESR Protocol specification.
#### Testnet Support
The current test networks are defined in `./src/assets/blockchain.json`. Additional networks can be enabled by adding new definitions to this file.
The logos for each network are also located in `./src/assets`, and are defined in `./src/Blockchains.js`.
#### Further reading
For more information about the technologies involved, please refer to:
- [ESR (EOSIO Signing Request, EEP-7) Specification](https://github.com/greymass/EEPs/blob/master/EEPS/eep-7.md)
- [greymass/anchor-link](https://github.com/greymass/anchor-link)
- [greymass/anchor-link-browser-transport](https://github.com/greymass/anchor-link-browser-transport)#### Communications
Feel free to join us in telegram to discuss this or ask questions:
- https://t.me/anchor_link