https://github.com/0xsequence/demo-dapp
Demo Dapp using 0xsequence directly
https://github.com/0xsequence/demo-dapp
Last synced: 12 months ago
JSON representation
Demo Dapp using 0xsequence directly
- Host: GitHub
- URL: https://github.com/0xsequence/demo-dapp
- Owner: 0xsequence
- Created: 2021-07-05T15:47:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-12T19:46:37.000Z (over 1 year ago)
- Last Synced: 2025-06-06T03:40:44.722Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://0xsequence.github.io/demo-dapp
- Size: 49.7 MB
- Stars: 42
- Watchers: 17
- Forks: 28
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Demo Dapp
=========
Dapp example on how to use Sequence Wallet. Covers how to connect, sign messages and send transctions.
Try this dapp at: [https://0xsequence.github.io/demo-dapp](https://0xsequence.github.io/demo-dapp)
For complete documentation on Sequence, please see: [https://docs.sequence.build](https://docs.sequence.build)
## Usage
1. pnpm install
2. pnpm start
3. Open browser to http://localhost:4000 to access the demo dapp
4. Open browser inspector to see responses from the remote Sequence Wallet
## Development
See https://github.com/0xsequence/demo-dapp/blob/master/src/App.tsx for the source
usage for a variety of functions. Be sure to open your browser's dev inspector to see output.
Think of these functions as a "cookbook" for how you can perform these functions in your dapps.
Also note, sequence.js is built on top of ethers.js, and is API-compatible.
## Screenshots
**Opening wallet from dapp:**

**Send transaction from dapp:**
Sequence Wallet is an Ethereum wallet supporting Ethereum mainnet, Polygon and more. Sequence will work
with any blockchain which is EVM compatible and supports Ethereum's node JSON-RPC interface.
Here you can see in this screenshot the call to "Send DAI" from demo-dapp
(https://github.com/0xsequence/demo-dapp/blob/master/src/routes/HomeRoute.tsx#L420). This function demonstrates
how you can transfer an ERC-20 token like DAI on any Ethereum network.
Notice how you can pay gas fees for a transaction in either MATIC token or USDC for price of $0.01.

## LICENSE
Apache 2.0 or MIT (your choice)