diff --git a/.circleci/config.yml b/.circleci/config.yml index fb0f777e1..09db89978 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1017,4 +1017,4 @@ workflows: - build-particle: <<: *deploy_production_filters - build-staging-particle: - <<: *deploy_staging_filters + <<: *deploy_staging_filters \ No newline at end of file diff --git a/docs/package.json b/docs/package.json index da289e8ce..9bd67392d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -67,7 +67,7 @@ "@web3-onboard/gas": "^2.1.8", "@web3-onboard/gnosis": "^2.2.2", "@web3-onboard/infinity-wallet": "^2.0.4", - "@web3-onboard/injected-wallets": "^2.10.16", + "@web3-onboard/injected-wallets": "^2.10.17-alpha.1", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", "@web3-onboard/ledger": "^2.6.0", diff --git a/docs/src/lib/services/onboard.js b/docs/src/lib/services/onboard.js index b6e205d3d..c9cad6596 100644 --- a/docs/src/lib/services/onboard.js +++ b/docs/src/lib/services/onboard.js @@ -142,6 +142,7 @@ const intiOnboard = async (theme) => { appId: 'b1f0239a-edb0-41f9-b0f5-ab780bb02a9e' }) + return Onboard({ connect: { autoConnectAllPreviousWallet: true }, wallets: [ @@ -173,7 +174,7 @@ const intiOnboard = async (theme) => { infinityWallet, blocto, capsule, - particle + particle, // capsule // venly diff --git a/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md b/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md index 4901782d7..56733f415 100644 --- a/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md +++ b/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md @@ -376,6 +376,7 @@ const injected = injectedModule({ - Kayros - _Desktop_ - Lif3Wallet - _Mobile_ - StableWallet - _Mobile_ +- Echooo - _Desktop & Mobile_ ## Build Environments diff --git a/packages/demo/package.json b/packages/demo/package.json index 12767ad9a..32b423256 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -42,7 +42,7 @@ "@web3-onboard/gas": "^2.1.7", "@web3-onboard/gnosis": "^2.2.1", "@web3-onboard/infinity-wallet": "^2.0.3", - "@web3-onboard/injected-wallets": "^2.10.16", + "@web3-onboard/injected-wallets": "^2.10.17-alpha.1", "@web3-onboard/keepkey": "^2.3.8", "@web3-onboard/keystone": "^2.3.8", "@web3-onboard/ledger": "^2.6.0", diff --git a/packages/demo/src/App.svelte b/packages/demo/src/App.svelte index 53896bfc4..7560658b0 100644 --- a/packages/demo/src/App.svelte +++ b/packages/demo/src/App.svelte @@ -268,7 +268,7 @@ arcanaAuth, blocto, venly, - particle + particle, ], // transactionPreview, gas, diff --git a/packages/injected/README.md b/packages/injected/README.md index 9b93e8ca5..aa4545a27 100644 --- a/packages/injected/README.md +++ b/packages/injected/README.md @@ -107,6 +107,7 @@ const onboard = Onboard({ - Kayros - _Desktop_ - Lif3Wallet - _Mobile_ - Zodiac Pilot - _Desktop_ +- Echooo - _Desktop & Mobile_ ## Filtering Wallets diff --git a/packages/injected/package.json b/packages/injected/package.json index 6f917bb60..5ba2e7ee9 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.16", + "version": "2.10.17-alpha.1", "description": "Injected wallet module for connecting browser extension and mobile wallets to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/injected/src/constants.ts b/packages/injected/src/constants.ts index 7cf52ffdd..e036e1e02 100644 --- a/packages/injected/src/constants.ts +++ b/packages/injected/src/constants.ts @@ -34,5 +34,6 @@ export const WALLET_NAMES: { [key: string]: string } = { SubWallet: 'SubWallet', kayros: 'Kayros', foxwallet: "FoxWallet", - Lif3Wallet: 'Lif3 Wallet' + Lif3Wallet: 'Lif3 Wallet', + Echooo:'Echooo Wallet' } diff --git a/packages/injected/src/icons/echooo.ts b/packages/injected/src/icons/echooo.ts new file mode 100644 index 000000000..3fe22ec2f --- /dev/null +++ b/packages/injected/src/icons/echooo.ts @@ -0,0 +1,11 @@ +export default ` + + + + + + + + + +` \ No newline at end of file diff --git a/packages/injected/src/types.ts b/packages/injected/src/types.ts index 9b5c83b50..42c750b2b 100644 --- a/packages/injected/src/types.ts +++ b/packages/injected/src/types.ts @@ -70,7 +70,8 @@ export enum ProviderIdentityFlag { FoxWallet = 'isFoxWallet', Lif3Wallet = 'isLif3Wallet', ZodiacPilot = 'isZodiacPilot', - StableWallet = 'isStableWallet' + StableWallet = 'isStableWallet', + Echooo = 'isEchooo' } /** @@ -99,7 +100,8 @@ export enum ProviderExternalUrl { FoxWallet = 'https://foxwallet.com/download', Lif3Wallet = 'https://lif3.com', Rabby = 'https://rabby.io', - ZodiacPilot = 'https://pilot.gnosisguild.org/' + ZodiacPilot = 'https://pilot.gnosisguild.org/', + Echooo = 'https://www.echooo.xyz' } export enum ProviderLabel { @@ -161,7 +163,8 @@ export enum ProviderLabel { FoxWallet = 'FoxWallet', Lif3Wallet = 'Lif3 Wallet', ZodiacPilot = 'Zodiac Pilot', - StableWallet = 'StableWallet' + StableWallet = 'StableWallet', + Echooo = 'Echooo' } export interface MeetOneProvider extends ExternalProvider { @@ -198,7 +201,8 @@ export enum InjectedNameSpace { Coin98Wallet = 'coin98', SubWallet = 'SubWallet', Kayros = 'kayros', - FoxWallet = 'foxwallet' + FoxWallet = 'foxwallet', + Echooo = 'echooo' } export interface CustomWindow extends Window { @@ -248,6 +252,9 @@ export interface CustomWindow extends Window { } kayros: InjectedProvider foxwallet: InjectedProvider + echooo: { + ethereum: InjectedProvider + } } export type InjectedProvider = ExternalProvider & diff --git a/packages/injected/src/wallets.ts b/packages/injected/src/wallets.ts index 9a4aa19ac..ee69450f3 100644 --- a/packages/injected/src/wallets.ts +++ b/packages/injected/src/wallets.ts @@ -909,6 +909,17 @@ const stablewallet: InjectedWalletModule = { platforms: ['mobile'] } +const echooo: InjectedWalletModule = { + label: ProviderLabel.Echooo, + injectedNamespace: InjectedNameSpace.Ethereum, + checkProviderIdentity: ({ provider }) => + !!provider && !!provider[ProviderIdentityFlag.Echooo], + getIcon: async () => (await import('./icons/echooo.js')).default, + getInterface: getInjectedInterface(ProviderIdentityFlag.Echooo), + platforms: ['all'], + externalUrl: ProviderExternalUrl.Echooo +} + const wallets = [ zeal, exodus, @@ -966,7 +977,8 @@ const wallets = [ foxwallet, Lif3Wallet, zodiacPilot, - stablewallet + stablewallet, + echooo ] export default wallets