* integrate apps with smoldot init
* Add a new category for substrate connect light clients to be grouped under. Add translations; Alter Api.tsx in order to choose between light clients and/or url addresses
* remove supportedLightClient array that was introduced. SubstrateConnect already has the information included and will return error if no supported network is found
* rollback 'hacky' changes in order to proceed with better implementation
* alter configuration of testing and production networks in order to introduce light client type
* upgrade substrate connect to 0.3.7
* implementation for integrating substrate-connect
* merge from latest master
* Add substrate/connect version to 0.3.10
* fix merge conflicts
* introduce function for correctly creating the provider URLs and update URLs
* Fix mistaken typos
* fix linter issue about rpc-provider@npm:^4.10.1 missing
* move substrate-connect for react-api to dependencies
* Fix lint issues
* Add tests for substrate-connect light clients urls and fix for ws
* Update packages/react-api/src/Api.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Remove duplicated code
* add exceptions in jest config (transformIgnorePatterns)
* minor fixes
* fix typo errors
* minor yarn update
* Alter urls to string | union type (revert urls for json-rpc)
* fix erroneously changed url
* fix yarn.lock
* Stub mock for tests of substrate connect
* fix yarn
* Update yarn.lock
* Update yarn.lock
* Update packages/apps/src/Endpoints/index.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/apps-config/src/endpoints/util.ts
Co-authored-by: Jaco <jacogr@gmail.com>
* Fix Pr comments
* Fix function that was recreated in every rerender
* Update packages/apps/src/Endpoints/index.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Fix 2nd bundle of PR comments
* Fix function on PR comment
* filter light clients out of auto-selected sidebar networks
* Update package.json
Co-authored-by: Jaco <jacogr@gmail.com>
* Update packages/react-api/package.json
Co-authored-by: Jaco <jacogr@gmail.com>
* run install
* update yarn.lock from master
* sync yarn.lock from master
* Alter implementation to avoid white screen and make sure that API returned from substrate-connect works
* Update packages/page-accounts/src/CreateAccount.slow.spec.tsx
* Update packages/page-bounties/src/Bounties.slow.spec.tsx
Co-authored-by: Jaco <jacogr@gmail.com>
* Move ledgerChains to apps-config
* Swap Ledger capabilities to hook
* Fix type usage
* getLedger returns promise
* Revert promise result
* cleanup
* use has ledger support (#4413)
* use hasLedgerSupport
* Bump common
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
* support ethereum addresses
* corrections
* add standalone url and ethereum identicons
* add moonbeam config
* added changes from the old pr
* add new config
* added dummy rpc method declarations for eth methods
* wip fix address add modal
* support ethereum addresses
* corrections
* add standalone url and ethereum identicons
* add moonbeam config
* added changes from the old pr
* add new config
* added dummy rpc method declarations for eth methods
* wip fix address add modal
* wip repair app with new keyring
* use isDevelopement false for ethereum
* lint
* more formatng
* eth addresses by default for account creation
* added many more types to support moonbeam
* added color
* add h160 to types and components
* add rpc methods to app-config
* lint
* polish
* Update packages/react-params/src/initValue.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* moved ethereum networks to config
* added real rpc method typings
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Add 3 step account creation
* Add textarea with dropdown
* Add OWASP and styles to PasswordStrength
* Align the checkbox with other ui elements
* Notification on mnemonic copy
* Make confirmation label clickable
* Do not shorten address in creation modal
* Make address name not editable in header
* Always show password strength meter
* Always show password strength meter
* Update tests to new account flow
* Remove repeated dependency
* Remove console.log from test
* Update yarn.lock
* Restore imports order.
* Format div component according to style
* Remove cursor styling for old browsers
* Empty line
* Organize imports. Configure StrengthTester once. Use color from theme.
* wip on text area
* TextArea styling
* Checbox styling
* Update repeated password validity on first password change
* Simplify CopyButton notification code.
* Change TextArea styling to more consistent
* Make password strength indicator wider
* Move external warning down and show on both steps
* Inline TextArea subcomponents
* Move mnemonic saved confirmation label closer to buttons
* Add steps counter to header
* Remove space
Co-authored-by: Michał Ziętalak <michal.z@ethworks.io>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
* Basic Electron setup.
* wip
* Integrate electron with react components from apps workspace
* Refactor package.json scripts.
* Copy public files from apps.
* Import 'initSettings' from apps workspace, fix code style, move scripts into global package.json
* Add build electron step into CI
* Split webpack file into renderer and main
* Add HMR into renderer.config
* Add optimization process in main webpack configuration
* Add ts translation in main webpack config and fix electron start script
* Update dependencies.
* Update dependencies. Change package name.
* Move initSettings func into Api component
* Extract webpack base config and move initSettings into react-api
* Fix webpack config and simplify initSettings import
* WIP on packing electron app (electron.ts doesnt have relative path)
* Fix relative path to the main index.html
* Add README in electron package, update main package.json scripts, add mention about electron-package in main README
* Remove unused dependencies form electron package.json
* Missing file from merge
* Fix main README and change name field in main package.json
* Update dependencies.
* Remove old webpack-dev-serve (creating issues with plugin)
Co-authored-by: jozwiak <kubencki@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>