Commit Graph

444 Commits

Author SHA1 Message Date
Ben Kremer
067aca31b8 refactor: simplifies onSessionConnected 2022-02-09 13:45:30 +01:00
Ben Kremer
d675606194 fix: reference client version via package.json 2022-02-09 13:45:30 +01:00
Ben Kremer
7eeefd4f65 refactor: creates standalone JsonRpcContext 2022-02-09 13:45:30 +01:00
Ben Kremer
34e175f24c feat: memoize ClientContext value 2022-02-09 13:45:30 +01:00
Ben Kremer
dc120c89d2 refactor: moves more client specific methods into ClientContext 2022-02-09 13:45:30 +01:00
Ben Kremer
0732b09991 refactor: sets up ClientContext 2022-02-09 13:45:30 +01:00
Ben Kremer
f819161934 chore: removes unused uri state 2022-02-09 13:45:30 +01:00
Ben Kremer
575f21e814 refactor: abstracts common rpc handling into createJsonRpcRequestHandler 2022-02-09 13:45:30 +01:00
Ben Kremer
55fff706cf fix: pass accounts to getAccountBalances 2022-02-09 13:45:30 +01:00
Ben Kremer
6976e7bbd6 fix(deps): pin react-error-overlay versions
See:
https://github.com/facebook/create-react-app/issues/11773
2022-02-09 13:45:30 +01:00
Ben Kremer
273ef2f9dc refactor: separates App styled-components into own file 2022-02-09 13:45:30 +01:00
Ben Kremer
940d59fc00 fix(react-dapp): ensures pending state is set before RPC modal opens 2022-02-09 13:45:30 +01:00
Ben Kremer
04ecb7a155 chore: update lockfile 2022-02-09 13:45:30 +01:00
Ilja
c0fe3a5b22 qr reader styling 2022-02-09 14:32:32 +02:00
Ilja
364661955a Nav menu 2022-02-08 16:07:19 +02:00
Ilja
35947268a0 Create modal component and store 2022-02-07 15:34:36 +02:00
Ilja
d4f6d53a7d Add pairing logic 2022-02-07 15:24:15 +02:00
Ilja
5640db7dff Establish WalletConnectManager concept 2022-02-07 13:48:28 +02:00
Ilja
27905179a1 re-factor wc into its own store 2022-02-07 13:02:26 +02:00
Ilja
10b21b3d1c Adjust styles 2022-02-04 16:53:21 +02:00
Ilja
b79d0c533b Account card component and helper utils 2022-02-04 16:31:23 +02:00
Ilja
9b0eff96b5 Use next-themes for dark / light mode support 2022-02-04 15:02:46 +02:00
Ilja
d2f7704433 Replace context with valtio for easier readability 2022-02-04 14:49:30 +02:00
Ben Kremer
dc58ed1266 fix: ensure session can be referenced when creating event handlers 2022-02-04 12:28:12 +01:00
Ben Kremer
004717fce1 refactor: moves getAllChainNamespaces into util helpers 2022-02-04 12:28:04 +01:00
Ben Kremer
0d3d25d521 fix: clean up unwanted imports + check initial state for testnet 2022-02-04 11:18:53 +01:00
Ilja
81bddf0c5d Cleanup context 2022-02-04 12:01:08 +02:00
Ilja
1f71001175 Init wallet and wallet connect client 2022-02-04 11:37:35 +02:00
Ilja
9e9b275f22 Set up ethers / context and wallet creation 2022-02-04 10:54:54 +02:00
Ben Kremer
6b040dbfe1 refactor(App): gets core functionality running via react hooks 2022-02-03 18:15:01 +01:00
Ilja
5301fd10e4 prep everything for wallet management 2022-02-03 14:15:54 +02:00
Ilja
6d9e902bbc Set up barebones layout and nextui 2022-02-03 12:39:36 +02:00
Ilja
b0e7f4c5fc Set up dev tooling 2022-02-03 11:24:35 +02:00
Ilja
f932513122 scope wallet examples under one folder 2022-02-03 11:14:39 +02:00
Ben Kremer
b9f59295c8 refactor(react-dapp-v2): refactor Modal to React hooks 2022-02-02 17:12:31 +01:00
Ben Kremer
2201fed80b style: format all with prettier 2022-02-02 17:11:22 +01:00
Ben Kremer
6626de3b10 chore(deps): adds missing prettier devDep 2022-02-02 17:10:56 +01:00
Ben Kremer
09078d5016 chore(deps): separates out and updates devDeps 2022-02-02 16:35:06 +01:00
Ben Kremer
d0840daa1a chore: removes react/ sub directory 2022-02-02 14:28:59 +01:00
Ben Kremer
5b07e63f5d chore: update projectId for example 2022-02-02 14:27:15 +01:00
Ben Kremer
9dba142aeb docs: add .env.local instructions to readme
The dapp won't boot up without setting
`process.env.REACT_APP_PROJECT_ID`
2022-02-02 14:02:37 +01:00
Ben Kremer
a00fa094f7 chore(dapps): sets up existing v2 react-app with yarn.lock 2022-02-02 14:00:33 +01:00
Ilja
d9b0f78982 Init react-wallet-v2 2022-02-02 14:13:49 +02:00
Ilja
48d5bca062
Initial commit 2022-02-02 12:15:04 +02:00