Skip to content

Commit

Permalink
Removed Monero
Browse files Browse the repository at this point in the history
  • Loading branch information
chill117 committed May 14, 2019
1 parent bec90c7 commit 12bffdc
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 833 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

* TBD:
* Removed Monero
* v1.4.0:
* Pay by scanning a paper wallet (using camera or NFC)
* Show warning if received payment uses Replace-by-fee (RBF)
Expand Down
16 changes: 0 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ $(BUILD_DEPS)/js/bitcoin.js: node_modules/bitcoinjs-lib/src/index.js
$(BUILD_DEPS)/js/bitcoin.min.js: $(BUILD_DEPS)/js/bitcoin.js
$(BIN)/uglifyjs $(BUILD_DEPS)/js/bitcoin.js --mangle reserved=['BigInteger','ECPair','Point'] -o $(BUILD)/js/bitcoin.min.js

$(BUILD_DEPS)/js/basex.js: node_modules/base-x/index.js
mkdir -p $(BUILD_DEPS)/js
$(BIN)/browserify \
--entry $^ \
--standalone $$(basename $@ .js) \
--transform [ babelify --presets [ @babel/preset-env ] ] \
--outfile $@

$(BUILD_DEPS)/js/bech32.js: node_modules/bech32/index.js
mkdir -p $(BUILD_DEPS)/js
$(BIN)/browserify --entry $^ --standalone $$(basename $@ .js) --outfile $@
Expand Down Expand Up @@ -179,9 +171,6 @@ $(BUILD_DEPS)/js/querystring.js: exports/querystring.js
mkdir -p $(BUILD_DEPS)/js
$(BIN)/browserify --entry $^ --standalone $$(basename $@ .js) --outfile $@

$(BUILD_DEPS)/js/basex.min.js: $(BUILD_DEPS)/js/basex.js
$(BIN)/uglifyjs $^ -o $@

$(BUILD_DEPS)/js/bech32.min.js: $(BUILD_DEPS)/js/bech32.js
$(BIN)/uglifyjs $^ -o $@

Expand Down Expand Up @@ -211,8 +200,6 @@ node_modules/underscore/underscore-min.js\
node_modules/backbone/backbone-min.js\
node_modules/backbone.localstorage/build/backbone.localStorage.min.js\
node_modules/handlebars/dist/handlebars.min.js\
node_modules/js-sha3/build/sha3.min.js\
$(BUILD_DEPS)/js/basex.min.js\
$(BUILD_DEPS)/js/bech32.min.js\
$(BUILD_DEPS)/js/BigInteger.min.js\
$(BUILD_DEPS)/js/bs58.min.js\
Expand All @@ -221,7 +208,6 @@ $(BUILD_DEPS)/js/ecurve.min.js\
$(BUILD_DEPS)/js/QRCode.min.js\
$(BUILD_DEPS)/js/querystring.min.js\
third-party/sjcl/sjcl.min.js\
third-party/monero/crypto.js\
node_modules/moment/min/moment-with-locales.min.js
$(BUILD_DEPS_JS): $(DEPS_JS_FILES)
rm -f $(BUILD_DEPS_JS)
Expand Down Expand Up @@ -281,7 +267,6 @@ $(JS)/payment-methods/bitcoin.js\
$(JS)/payment-methods/bitcoin-testnet.js\
$(JS)/payment-methods/bitcoin-lightning.js\
$(JS)/payment-methods/litecoin.js\
$(JS)/payment-methods/monero.js\
$(JS)/config.js\
$(JS)/cache.js\
$(JS)/settings.js\
Expand All @@ -305,7 +290,6 @@ $(PUBLIC_ALL_JS): $(BUILD_ALL_JS)
WORKER_BITCOIN_JS_FILES=node_modules/async/dist/async.min.js\
node_modules/bignumber.js/bignumber.min.js\
node_modules/underscore/underscore-min.js\
node_modules/js-sha3/build/sha3.min.js\
$(BUILD_DEPS)/js/bech32.min.js\
$(BUILD_DEPS)/js/BigInteger.min.js\
$(BUILD_DEPS)/js/bs58.min.js\
Expand Down
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ If you would like to contribute to the project, the following should help get yo
* [Developing with Cryptocurrencies](#developing-with-cryptocurrencies)
* [Bitcoin](#bitcoin)
* [Litecoin](#litecoin)
* [Monero](#monero)
* [License](#license)


Expand Down Expand Up @@ -142,17 +141,6 @@ Litecoin is very similar to Bitcoin but with one key difference: blocks are mine
* https://faucet.xblau.com/


### Monero

Monero is a cryptocurrency focused on privacy and censorship-resistance. You can learn more about Monero on [the official project website](https://www.getmonero.org/get-started/what-is-monero/).
* Recommended wallet applications:
* [Official Monero Desktop Wallet](https://ww.getmonero.org/downloads/)
* [monerujo](https://play.google.com/store/apps/details?id=com.m2049r.xmrwallet&hl=en) - A mobile, light-weight wallet app for Monero. If you are running an older version of Android, you can install the app from an `.apk` that you can download from the project's [GitHub repo](https://github.com/m2049r/xmrwallet).
* [Cake Wallet](https://itunes.apple.com/us/app/cake-wallet-for-xmr-monero/id1334702542) - A mobile wallet for iOS.
* "Faucets" can be used to obtain testnet monero:
* https://dis.gratis/


## License

This project is licensed under the [GNU Affero General Public License v3 (AGPL-3.0)](https://tldrlegal.com/license/gnu-affero-general-public-license-v3-(agpl-3.0)).
3 changes: 0 additions & 3 deletions css/payment-method.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
.payment-method.litecoinTestnet {
background-image: url('../images/litecoin.svg');
}
.payment-method.monero {
background-image: url('../images/monero.svg');
}
.payment-method.bitcoinTestnet:after,
.payment-method.litecoinTestnet:after {
position: absolute;
Expand Down
11 changes: 0 additions & 11 deletions images/monero.svg

This file was deleted.

10 changes: 0 additions & 10 deletions js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,6 @@ app.config = (function() {
paymentMethods: ['bitcoinLightning'],
url: 'https://play.google.com/store/apps/details?id=fr.acinq.eclair.wallet.mainnet2',
},
{
name: 'Monerujo',
paymentMethods: ['monero'],
url: 'https://play.google.com/store/apps/details?id=com.m2049r.xmrwallet',
},
{
name: 'Samourai Wallet',
paymentMethods: ['bitcoin'],
Expand All @@ -267,11 +262,6 @@ app.config = (function() {
paymentMethods: ['bitcoin'],
url: 'https://play.google.com/store/apps/details?id=com.breadwallet',
},
{
name: 'Cake Wallet',
paymentMethods: ['monero'],
url: 'https://itunes.apple.com/us/app/cake-wallet-for-xmr-monero/id1334702542',
},
{
name: 'Coinomi',
paymentMethods: ['bitcoinTestnet'],
Expand Down
2 changes: 1 addition & 1 deletion js/models/payment-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app.models.PaymentRequest = (function() {
amount: null,
// The conversion rate (to the payment method currency) when the payment request was created.
rate: null,
// The payment method used (bitcoin, litecoin, monero, ..)
// The payment method used (bitcoin, litecoin, ..)
method: null,
// The payment request URI (e.g "bitcoin:<ADDRESS>?amount=0.005")
uri: null,
Expand Down
Loading

0 comments on commit 12bffdc

Please sign in to comment.