-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
173 additions
and
260 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { eth, dai, xdai, ERC20Asset } from '@burner-wallet/assets'; | ||
import burnerlogo from './burnerwallet.png'; | ||
import bufficorn from './bufficorn.png'; | ||
|
||
export const assets = [xdai, dai, eth]; | ||
export let token = null; | ||
export let WEB3_PROVIDER = 'https://dai.poa.network'; | ||
export let ERC20IMAGE; | ||
export let LOADERIMAGE = burnerlogo; | ||
export let XDAI_PROVIDER = 'https://dai.poa.network' | ||
|
||
|
||
if (window.location.hostname.indexOf("localhost") >= 0 || window.location.hostname.indexOf("10.0.0.107") >= 0) { | ||
XDAI_PROVIDER = "http://localhost:8545" | ||
WEB3_PROVIDER = "http://localhost:8545"; | ||
ERC20IMAGE = false | ||
} else if (window.location.hostname.indexOf("wallet.galleass.io") >= 0) { | ||
WEB3_PROVIDER = "http://localhost:8545" | ||
document.domain = 'galleass.io' | ||
} else if (window.location.hostname.indexOf("buffidai") >= 0) { | ||
token = new ERC20Asset({ | ||
id: 'buff', | ||
name: 'BUFF', | ||
network: '100', | ||
address: '0x3e50bf6703fc132a94e4baff068db2055655f11b', | ||
usdPrice: 1, | ||
}); | ||
|
||
ERC20IMAGE = bufficorn | ||
LOADERIMAGE = bufficorn | ||
} |
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
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
Oops, something went wrong.