The MetaMask Web3-Onboard module provides a reliable, secure, and seamless connection from your dapp to the MetaMask browser extension and MetaMask Mobile. See MetaMask SDK Developer Docs
This file contains hidden or 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
| #ifndef __HASH_FAMILY_H__ | |
| #define __HASH_FAMILY_H__ | |
| class HashFamily { | |
| public: | |
| // Self-contained Prime numbers | |
| enum Prime { | |
| A = 54059, | |
| B = 76963, | |
| C = 68969 |
This file contains hidden or 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
| { | |
| "extends": "../../tsconfig.json", | |
| "include": ["src/**/*"], | |
| "compilerOptions": { | |
| "outDir": "dist", | |
| "rootDir": "src", | |
| "declarationDir": "dist", | |
| "paths": { | |
| "*": ["./src/*", "./node_modules/*"] | |
| }, |
This file contains hidden or 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
| { | |
| "name": "@web3-onboard/metamask", | |
| "version": "2.0.1", | |
| "description": "MetaMask SDK wallet module for connecting 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", | |
| "Web3", | |
| "EVM", | |
| "dapp", | |
| "Multichain", |
This file contains hidden or 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
| import type { MetaMaskSDKOptions } from '@metamask/sdk' | |
| import type { WalletInit } from '@web3-onboard/common' | |
| export type { MetaMaskSDKOptions } from '@metamask/sdk' | |
| function metamask({ | |
| options | |
| }: { | |
| options: Partial<MetaMaskSDKOptions> | |
| }): WalletInit { | |
| return () => { |
This file contains hidden or 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
| export default `<?xml version="1.0" encoding="utf-8"?> | |
| <svg width="100%" height="100%" version="1.1" id="Layer_1" xmlns:ev="http://www.w3.org/2001/xml-events" | |
| xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 318.6 318.6" | |
| style="enable-background:new 0 0 318.6 318.6;" xml:space="preserve"> | |
| <style type="text/css"> | |
| .st0{fill:#E2761B;stroke:#E2761B;stroke-linecap:round;stroke-linejoin:round;} | |
| .st1{fill:#E4761B;stroke:#E4761B;stroke-linecap:round;stroke-linejoin:round;} | |
| .st2{fill:#D7C1B3;stroke:#D7C1B3;stroke-linecap:round;stroke-linejoin:round;} | |
| .st3{fill:#233447;stroke:#233447;stroke-linecap:round;stroke-linejoin:round;} | |
| .st4{fill:#CD6116;stroke:#CD6116;stroke-linecap:round;stroke-linejoin:round;} |
This file contains hidden or 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
| { | |
| "name": "@web3-onboard/keystone", | |
| "version": "2.3.7", | |
| "description": "Keystone hardware wallet module for connecting 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", | |
| "Web3", | |
| "EVM", | |
| "dapp", | |
| "Multichain", |
This file contains hidden or 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
| # @web3-onboard/keystone | |
| ## Wallet module for connecting Keystone hardware wallets to web3-onboard | |
| ### Install | |
| `npm i @web3-onboard/keystone` | |
| ### Options |
This file contains hidden or 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
| import type { Chain, Platform, WalletInit } from '@web3-onboard/common' | |
| import type { StaticJsonRpcProvider } from '@ethersproject/providers' | |
| import type { ETHAccountPath } from '@shapeshiftoss/hdwallet-core' | |
| import type { KeepKeyHDWallet } from '@shapeshiftoss/hdwallet-keepkey' | |
| import type { | |
| ScanAccountsOptions, | |
| Account, | |
| Asset | |
| } from '@web3-onboard/hw-common' |
This file contains hidden or 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
| export default ` | |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" viewBox="0, 0, 400,325.18703241895264"><g><path id="keep-path0" d="M2.244 1.029 C -1.296 2.452,-1.242 21.945,2.303 21.945 C 9.009 21.945,8.450 10.864,8.740 149.545 L 9.000 274.314 19.463 274.314 L 29.925 274.314 29.925 255.362 L 29.925 236.409 37.356 236.409 L 44.786 236.409 59.550 255.349 L 74.314 274.289 84.539 274.301 L 94.763 274.314 94.763 264.838 L 94.763 255.362 90.429 255.362 C 86.172 255.362,85.980 255.213,79.809 247.132 C 76.352 242.606,70.857 235.447,67.599 231.224 L 61.676 223.544 73.400 210.027 L 85.124 196.509 89.944 196.509 L 94.763 196.509 94.763 186.534 L 94.763 176.559 84.539 176.574 L 74.314 176.590 59.365 193.532 L 44.415 210.474 37.170 210.474 L 29.925 210.474 29.925 160.100 L 29.925 109.726 37.341 109.726 L 44.757 109.726 59.456 128.678 L 74.154 147.631 84.459 147.631 L 94.763 147.631 94.763 138.155 L 94.763 128.678 90.395 128.678 L 86.028 128.678 74.767 113.965 C 68.573 105 |
NewerOlder
