https://github.com/casper-network/web3-demo
https://github.com/casper-network/web3-demo
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/casper-network/web3-demo
- Owner: casper-network
- Created: 2022-01-21T16:47:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T13:37:15.000Z (over 3 years ago)
- Last Synced: 2024-04-17T01:47:26.806Z (about 2 years ago)
- Language: TypeScript
- Size: 523 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# web3-demo
The purpose of this demo is to provide an example that shows integrating with wallets compatibile with the Casper Network - which is [Signer Chrome Extension](https://chrome.google.com/webstore/detail/casperlabs-signer/djhndpllfiibmcdbnmaaahkhchcoijce?hl=en) and [Tor.us wallet](https://tor.us/).
### Running
1. Two env variables are required, so you can create `.env` file with them
```
NODE_URL=http://135.181.208.231:7777/rpc
NETWORK_NAME=casper-test
```
2. Run `make dev-build` in the root directory.
3. Run `make dev-start` in the root directory. This will start the project.
4. Open `localhost:8080` in the browser.
### Future improvements
- [ ] Currently tor.us wallet throws an error when trying to create a deploy containing `ModuleBytes` (eg. Install CEP47).
- [ ] Add more comments in the code for clarification.
- [ ] Add more deploy templates.
- [ ] Improve the UI so it gives deploys preview.
- [ ] Add a simple backend to show usage of `EventStream`.