A non-custodial wallet for Casper blockchain
https://github.com/CasperDash/casperdash-api
Web server is implemented in Express.js. It allows us to create read-only data pipeline for clients.
React web app provides user a simple and convenient dashboard to explore the blocks and manipulate the wallets.
There are 2 parts, web and browser extension which are sharing similar logic and dataflow. The main different is user interfaces.
Webpack is using for building each platform.
cd YOUR_WORKING_DIRECTORY/casperdash-client/client
yarn install
The main UI components of web-extension are placed under
YOUR_WORKING_DIRECTORY/casperdash-client/client/src/components/web-extension
The configuration can be configurated by editing .env.*.local
REACT_APP_API_ROOT=https://localhost:3001 //api endpoint
REACT_APP_NETWORK_NAME=casper-test // casper network
REACT_APP_AUCTION_HASH=93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2 // contract hash for delegation
yarn dev-extension-mainnet // start browser extension with dev config
yarn build-extension-mainnet // build browser with production config
yarn test // run test with coverage
Find the YOUR_WORKING_DIRECTORY/casperdash-client/build_extension/
directory on your system and open it.
The extension should be now at the top of the page:
https://github.com/CasperDash/casperdash-client/wiki/Development-Workflow