Ben Kremer
|
bf553a2c2d
|
refactor: simplify by using higher-level provider.disconnect
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
9172b368b9
|
refactor: abstract into DEFAULT_INFURA_ID
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
ca5b9674d7
|
feat: gets persistence check working with provider
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
4d1caa7997
|
fix: dereference session from client directly
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
623c44e4c2
|
chore: cleanup
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
6a23ad8a0a
|
fix: removes reliance on session for Header
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
68a5335b02
|
wip
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
43c67d0c81
|
chore: set up app, get basics working with EthereumProvider
|
2022-02-17 10:33:19 +01:00 |
|
Ben Kremer
|
033cf6a585
|
fix: simplifies handling deleted session
|
2022-02-16 14:28:24 +01:00 |
|
Ben Kremer
|
5ea671281f
|
refactor: updates eth_signTypedData example
|
2022-02-16 14:12:02 +01:00 |
|
Ben Kremer
|
f5814d4d1a
|
feat: adds eth_sign and eth_signTransaction examples
|
2022-02-16 14:05:12 +01:00 |
|
Ben Kremer
|
f5a0598ef1
|
chore: removes unused param
|
2022-02-10 17:31:36 +01:00 |
|
Ben Kremer
|
fa72dd6577
|
refactor: rename fetching -> isFetchingBalances
|
2022-02-10 17:16:08 +01:00 |
|
Ben Kremer
|
2b25de2f30
|
refactor: renames loading -> isInitializing
|
2022-02-10 17:12:38 +01:00 |
|
Ben Kremer
|
3bc76a24c0
|
refactor(client): creates separate namespace/methods getters
|
2022-02-10 17:08:46 +01:00 |
|
Ben Kremer
|
02e3b8861e
|
docs: method annotations
|
2022-02-10 17:08:22 +01:00 |
|
Ben Kremer
|
bb744c48c5
|
refactor: rename testnet localStorage helpers
|
2022-02-10 16:53:46 +01:00 |
|
Ben Kremer
|
c058d500d0
|
fix: adds missed underscore
|
2022-02-10 15:20:14 +01:00 |
|
Ben Kremer
|
40f7cab8fc
|
chore: clean up ordering in ClientContext
|
2022-02-10 14:37:00 +01:00 |
|
Ben Kremer
|
1a2e5098c3
|
refactor: creates getAddressByChainId helper fn
|
2022-02-10 14:34:32 +01:00 |
|
Ben Kremer
|
601f16b171
|
chore: remove old class-based App component
|
2022-02-10 11:45:19 +01:00 |
|
Ben Kremer
|
22c0a7c456
|
fix: adds missing setLoading toggle
|
2022-02-09 13:53:56 +01:00 |
|
Ben Kremer
|
1ca7a5cfd1
|
feat: adds back resetApp
|
2022-02-09 13:45:30 +01:00 |
|
Ben Kremer
|
d33bf9dcd1
|
refactor: standardises cosmos RPC methods alongside EIP155 ones
|
2022-02-09 13:45:30 +01:00 |
|
Ben Kremer
|
95751d6efb
|
refactor: clean up client init
|
2022-02-09 13:45:30 +01:00 |
|
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 |
|
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 |
|
Ben Kremer
|
6b040dbfe1
|
refactor(App): gets core functionality running via react hooks
|
2022-02-03 18:15:01 +01: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 |
|