forked from blocknative/web3-onboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issue 25] [feature] SubConnect - Support OpenBit Wallet
- Loading branch information
1 parent
a69178c
commit b4f601c
Showing
12 changed files
with
199 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"name": "@subwallet-connect/openbit", | ||
"version": "0.0.1", | ||
"description": "OpenBit Wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized 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", | ||
"Web3", | ||
"EVM", | ||
"dapp", | ||
"Multichain", | ||
"Wallet", | ||
"Transaction", | ||
"Provider", | ||
"Hardware Wallet", | ||
"Notifications", | ||
"React", | ||
"Svelte", | ||
"Vue", | ||
"Next", | ||
"Nuxt", | ||
"MetaMask", | ||
"Coinbase", | ||
"WalletConnect", | ||
"Ledger", | ||
"Trezor", | ||
"Connect Wallet", | ||
"Ethereum Hooks", | ||
"Blocknative", | ||
"Mempool", | ||
"pending", | ||
"confirmed", | ||
"Injected Wallet", | ||
"Crypto", | ||
"Crypto Wallet", | ||
"Enkrypt", | ||
"SubWallet", | ||
"OpenBit" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/blocknative/web3-onboard.git", | ||
"directory": "packages/subwallet" | ||
}, | ||
"homepage": "https://www.blocknative.com/onboard", | ||
"bugs": { | ||
"url": "https://github.com/blocknative/web3-onboard/issues" | ||
}, | ||
"module": "dist/index.js", | ||
"browser": "dist/index.js", | ||
"main": "dist/index.js", | ||
"type": "module", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"dev": "tsc -w", | ||
"type-check": "tsc --noEmit" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@ethersproject/providers": "^5.5.0", | ||
"@types/node": "^17.0.21", | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.5.5", | ||
"window": "^4.2.7" | ||
}, | ||
"dependencies": { | ||
"@polkadot/extension-inject": "^0.46.5", | ||
"@subwallet-connect/common": "^1.0.4" | ||
}, | ||
"author": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
|
||
export const URL_INSTALL = 'https://www.subwallet.app/download.html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export default ` | ||
<svg width="100%" height="100%" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<rect width="512" height="512" fill="url(#pattern0_13_2)"/> | ||
<defs> | ||
<pattern id="pattern0_13_2" patternContentUnits="objectBoundingBox" width="1" height="1"> | ||
<use xlink:href="#image0_13_2" transform="scale(0.00195312)"/> | ||
</pattern> | ||
<image id="image0_13_2" width="512" height="512" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABUbSURBVHgB7d1NjFXnfcfx/x2Gl5RAcBcQMZshXTiWsBjUEGUXXFCXYbILlqy4qq1UeGFcRaoVKhkviBypavDCKBGVaieSWWZwNlVlZNJVZBp5LLMwkRJGqkCFRTyxQwIDM9Pz3JnBvCOUWmLu7/ORxneMV9f3cJ7vec5zntsr7umj98Z2di/jvV59vXsd7X42FAAPo+nuZ3J+vt7vXice2T55srirXnFH3cDfBv0f1sKgD8DyMzXUq4Prt02+UdxGANyiG/g3dAP/z7pfdxYAy1430L0+N18vdzMCU8V1AuAG3eA/2g3+75SrfoBBM9XdGnhCBHxKACwy+AMMvBYB27sImC5qqFhysAz+AINsdPEWLyUA+rqr/6e7g+LbBcCg29kWeRcCoOkG/5cKgAiLT3jFiw+Axef8RwuAFKOL5/5oZgCqTAUB5Ik/98cHQDcVtK0AiLK4u2s0MwBVYwVAmtEKJwDs7Q+QKP7cLwAAIJAAAIBAAgAAAgkAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAgkAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAgkAAAgkAAAgkAAAgEACAAACCQAACCQAACCQAACAQAIAAAIJAAAIJAAAIJAAAIBAAgAAAkUHwEfvjW0oACKljwHpMwBjBUCq0QomAABItbOCRQdAr1d7CoBI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ode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import type { WalletInit, EIP1193Provider } from '@subwallet-connect/common' | ||
import { | ||
createEIP1193Provider, | ||
SimpleEventEmitter, | ||
WalletInterface | ||
} from "@subwallet-connect/common"; | ||
import { CustomWindow } from "./types.js"; | ||
import { URL_INSTALL } from "./constant.js"; | ||
declare const window: CustomWindow | ||
|
||
function OpenBit (): WalletInit { | ||
if (typeof window === 'undefined') return () => null | ||
|
||
return () => { | ||
|
||
return { | ||
label: 'OpenBit', | ||
type: 'evm', | ||
getIcon: async () => (await import('./icon.js')).default, | ||
platforms: ['desktop'], | ||
getInterface: async ():Promise<WalletInterface> => { | ||
const openBitExist = window.hasOwnProperty('OpenBit'); | ||
|
||
|
||
if(openBitExist){ | ||
|
||
const openBitProvider : EIP1193Provider = window.OpenBit as EIP1193Provider | ||
|
||
const addListener: SimpleEventEmitter['on'] = | ||
openBitProvider.on.bind(openBitProvider) | ||
|
||
openBitProvider.on = (event, func) => { | ||
addListener(event, func) | ||
} | ||
const provider = createEIP1193Provider(openBitProvider) | ||
|
||
provider.removeListener = (event, func) => {} | ||
|
||
return { | ||
provider | ||
} | ||
}else{ | ||
window.open(URL_INSTALL, '_blank') | ||
throw new Error('Please Install SubWallet wallet to use this wallet') | ||
} | ||
|
||
}, | ||
|
||
} | ||
} | ||
|
||
} | ||
|
||
export default OpenBit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ExternalProvider } from "@ethersproject/providers"; | ||
|
||
export interface CustomWindow extends Window { | ||
OpenBit: ExternalProvider | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": ["src/**/*"], | ||
|
||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "src", | ||
"allowSyntheticDefaultImports": true, | ||
"declaration": true, | ||
"declarationDir": "dist", | ||
"paths": { | ||
"*": ["./src/*", "./node_modules/*"] | ||
}, | ||
"typeRoots": ["node_modules/@types"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters