diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 7cc88f065..000000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -*.sol linguist-language=Solidity \ No newline at end of file diff --git a/public/burner-wallet-logo.png b/public/burner-wallet-logo.png deleted file mode 100644 index 28faf8a98..000000000 Binary files a/public/burner-wallet-logo.png and /dev/null differ diff --git a/public/burner-wallet-preview-old.png b/public/burner-wallet-preview-old.png deleted file mode 100644 index 380bf7805..000000000 Binary files a/public/burner-wallet-preview-old.png and /dev/null differ diff --git a/public/burner-wallet-preview.png b/public/burner-wallet-preview.png deleted file mode 100644 index 8093a0196..000000000 Binary files a/public/burner-wallet-preview.png and /dev/null differ diff --git a/public/burnercard2.jpg b/public/burnercard2.jpg deleted file mode 100644 index ef65e59c4..000000000 Binary files a/public/burnercard2.jpg and /dev/null differ diff --git a/public/burnerloader.gif b/public/burnerloader.gif deleted file mode 100644 index 937b2cbf4..000000000 Binary files a/public/burnerloader.gif and /dev/null differ diff --git a/src/App.css b/src/App.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/bufficorn.png b/src/bufficorn.png deleted file mode 100644 index e63a270e7..000000000 Binary files a/src/bufficorn.png and /dev/null differ diff --git a/src/coinbase.jpg b/src/coinbase.jpg deleted file mode 100644 index 5e38ed699..000000000 Binary files a/src/coinbase.jpg and /dev/null differ diff --git a/src/components/BalanceDisplay.jsx b/src/components/BalanceDisplay.jsx deleted file mode 100644 index 8d50bb6db..000000000 --- a/src/components/BalanceDisplay.jsx +++ /dev/null @@ -1,120 +0,0 @@ -import React from 'react'; - -import eth from '../ethereum.png'; -import i18n from '../i18n'; - -export default class BalanceDisplay extends React.Component { - - constructor(props) { - super(props); - - this.state = { - currencyOptions: i18n.t('waiting_for_api'), - value: "USD", - rate: '1', - apiError: false - } - - this.handleCurrencyChange = this.handleCurrencyChange.bind(this); - } - - handleCurrencyChange(event) { // Called when user selects local currency - this.setState({ - value: event.target.value, // Name of currency, i.e. GBP - rate: this.state.rates[event.target.value] // Rate relative to USD - }); - } - - componentDidMount(){ - let currencyOptions = []; - - - fetch("https://api.exchangeratesapi.io/latest?base=USD").then(r => r.json()).then((response) => { - //console.log("Exchange: ", response.data); - //console.log(typeof(response.data.rates)) - - for(var i in response.rates){ - //console.log(i + ':' + response.rates[i]); - currencyOptions.push() // All currency options loaded from API - } - - this.setState({ - rates: response.rates, - currencyOptions: currencyOptions - }); - - }).catch((error)=>{ - console.log('Exchange Error: ' + error); - this.setState({apiError: true}); - }); - } - - render() { - let balanceDiv = ""; - let balanceDisplay = this.props.balance; - let network = this.props.network; - let currencyOptions = this.state.currencyOptions; - let value = this.state.value; - let rate = this.state.rate; - let conversion = (balanceDisplay * rate).toFixed(2); - - let currencySelect; - - if(this.state.apiError){ - currencySelect =
{i18n.t('no_currency_api')}
- }else{ - currencySelect = ( - <> -
- Select Local Currency: - -
-
- ({value}){conversion} -
- - ); - } - - let moneytype = ( - - ) - if(window.location.hostname.indexOf("xdai") >= 0 || window.location.hostname.indexOf("localhost") >= 0){ - moneytype="$" - } - - if(balanceDisplay){ - balanceDisplay = balanceDisplay.toFixed(2) - }else{ - balanceDisplay = "0.00" - } - - if(network === "xDai" || network === "Unknown" ){ - balanceDiv = ( -
-
- {moneytype}{balanceDisplay} -
- {currencySelect} -
) - }else{ - balanceDiv = ( -
-
- {"Wrong Network: Please use 'Custom RPC' endpoint: https://dai.poa.network"} -
-
- ) - } - - return balanceDiv; - } -} -/* - - - - -*/ diff --git a/src/components/BottomLinks.js b/src/components/BottomLinks.js deleted file mode 100644 index 1d28d4763..000000000 --- a/src/components/BottomLinks.js +++ /dev/null @@ -1,16 +0,0 @@ -import React from 'react'; -import { Scaler } from "dapparatus"; -import i18n from '../i18n'; -export default ({changeView}) => { - return ( -
- - - -
- ) -}; diff --git a/src/components/Exchange.js b/src/components/Exchange.js index 45a145f47..e4394d3e6 100644 --- a/src/components/Exchange.js +++ b/src/components/Exchange.js @@ -854,7 +854,6 @@ export default class Exchange extends React.Component {