-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
31 changed files
with
1,143 additions
and
439 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,18 @@ | ||
import logos from '../logos' | ||
import WindowEthereum from './WindowEthereum' | ||
import { supported } from '../blockchains' | ||
|
||
export default class Coin98EVM extends WindowEthereum { | ||
|
||
static info = { | ||
name: 'Coin98', | ||
logo: logos.coin98, | ||
blockchains: supported.evm, | ||
platform: 'evm', | ||
} | ||
|
||
static isAvailable = async()=>{ return window?.coin98 } | ||
|
||
getProvider() { return window.coin98.provider } | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
import logos from '../logos' | ||
import WindowSolana from './WindowSolana' | ||
import { supported } from '../blockchains' | ||
|
||
export default class Coin98SVM extends WindowSolana { | ||
|
||
static info = { | ||
name: 'Coin98', | ||
logo: logos.coin98, | ||
blockchains: supported.solana, | ||
platform: 'svm', | ||
} | ||
|
||
static isAvailable = async()=>{ return window?.coin98?.sol } | ||
|
||
getProvider() { return window.coin98.sol } | ||
|
||
} |
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,31 @@ | ||
import logos from '../logos' | ||
import { supported } from '../blockchains' | ||
import WindowEthereum from './WindowEthereum' | ||
|
||
export default class CoinbaseEVM extends WindowEthereum { | ||
|
||
static info = { | ||
name: 'Coinbase', | ||
logo: logos.coinbase, | ||
blockchains: supported.evm, | ||
platform: 'evm', | ||
} | ||
|
||
getProvider() { | ||
if(window?.ethereum?.providerMap?.has('CoinbaseWallet')) { | ||
return window?.ethereum?.providerMap?.get('CoinbaseWallet') | ||
} else { | ||
return window.ethereum | ||
} | ||
} | ||
|
||
static isAvailable = async()=>{ | ||
return( | ||
( | ||
window?.ethereum?.isCoinbaseWallet || window?.ethereum?.isWalletLink | ||
) || ( | ||
window?.ethereum?.providerMap?.has('CoinbaseWallet') | ||
) | ||
) | ||
} | ||
} |
Oops, something went wrong.