Questions tagged [javascript]

questions about javascript usage by Monero related services, including its purpose and possible risks

Filter by
Sorted by
Tagged with
14
votes
4answers
795 views

How to perform a simple verification of a Monero address with a regular expression?

For people that want to do a simple verification of a Monero address to ensure it has been entered correctly, what are some methods that can be employed?
13
votes
1answer
822 views

Tor support on MyMonero.com

Many privacy focused Tor users are interested or have the potential to be interested in Monero. IP address protection is important to Tor users. Why was Tor removed from the CORS headers on the ...
12
votes
2answers
563 views

Are there any Monero specific programming language “libraries” available?

I understand that simplewallet has a raw JSON RPC interface available, but are there any specific "helper" libraries available for a relatively modern programming language(PHP, Python, Java, ...
7
votes
1answer
294 views

Can I avoid Javascript poisoning when using MyMonero.com?

I read this from fluffyponyza regarding safety of his site MyMonero.com: There's simply no way I can control and guarantee the JavaScript delivery from the server to your computer, so you can be ...
7
votes
1answer
7k views

How to implement a java script version of monero CPU miner

Coin-hive.com implements a java-script version of monero cpu miner. Which we can insert on our website to mine monero through the users CPU power. Can Someone provide me leads on how this works on the ...
4
votes
1answer
557 views

Is there a sample javascript code of how to generate a monero adddress from a string of characters?

I'm looking to make a Javascript brain wallet generator for Monero. Is there a Javascript library to create Monero addresses?
3
votes
2answers
89 views

Is there a javascript implementation to generate your Monero subaddresses without giving out your private-spend key?

I want to create an online widget where one can output their subaddresses without having to input their private-spend key and only use the other keys provided. Is there a javascript implementation of ...
3
votes
1answer
225 views

How to check balance of monero paper wallet from nodejs?

I'm taking address and viewkey as input then want to return its balance in my expressjs project. How to call monero blockchain from nodejs for checking balance of any paper wallet?
3
votes
2answers
78 views

Is there a library similar to bitcore?

Is there a library like insight / bitcoin that interacts with Monero to create an API to scan the blockchain?
2
votes
1answer
48 views

How does one craft a Monero transaction locally, sign with their private key and then broadcast using javascript?

I'm looking for the specs to craft a Monero transaction and then sign this transaction with my Monero private spend key. Then broadcast this signed transaction to a node. I want to do this in ...
2
votes
1answer
4k views

how to use coinhive java script with GPU?

i use coinhive simple UI miner and sometimes javascript miner for mining Monero in coinhive.com can i use GPU instead of CPU for mining in coinhive website?
2
votes
0answers
174 views

Non-WebAssembly browser miner?

I'm trying to find a javascript-based Monero minero (or another coin I suppose would be OK), which does not require WebAssembly. So far the only person I have seen figure this out is CryptoNoter, but ...
1
vote
2answers
709 views

How to authedmine.com mining 24/7? (Coinhive)

I'm using Coinhive for the first time. I setup the JS on my website. When I click on the "Open" miner link in my Dashboard, it brings me to a simple page that displays the hashing/mining happening in ...
1
vote
2answers
31 views

I can't reproduce a hash sent from a miner [javascript]

I'm looking at nodejs-pool and this is what I extracted from it to verify the hash sent by the miner: // All the variables are self explanatory const cnUtil = require("cryptonote-util"); ...
1
vote
1answer
238 views

Monero Javascript Library

It is my first time working with Monero, since it is a coin based on blockchain I guess it follows similar principles than BTC and ETH. Is there a javascript library like bitcore or web3 to interact ...
1
vote
1answer
971 views

What is the difference hashing power when running the JS Monero Miner via a browser vs Running solo Mining with the cli?

Just learned about the js miner for monero https://coin-hive.com - What is the difference in hashing power when mining through the browser using this method and doing it via the command line as a ...
1
vote
1answer
75 views

Unable to connect to monero-wallet-rpc from code

I have run the monero-wallet-rpc using the below command: ./monero-wallet-rpc --rpc-bind-port 8080--rpc-bind-ip 127.0.0.1 --prompt-for-password --wallet-file sample-wallet --rpc-login walletuser:...
1
vote
1answer
340 views

How to Generate monero wallet on server-side(node.js) or locally?

Already looking around for a few days, but can't find solution. Found this awesome repo: https://github.com/moneromooo-monero/monero-wallet-generator/blob/master/monero-wallet-generator.html. But it'...
1
vote
1answer
444 views

Income from CoinHive Monero ads

Salon.com will mine Monero on its visitors' computers to compensate for the loss of advertising revenue. How does the income from such mining "ads" compare to the cost-per-clic or cost-per-impression ...
1
vote
2answers
2k views

CoinHive javascript doesn't seem to work

I recently made a localhost website to easily mine Monero using my home computers. With CoinHive and the JavaScript miner (without the opt-in screen), I don't see my processor usage go up at all, ...
0
votes
1answer
32 views

How to generate a unique deposit address for a Monero wallet

Hi I want to generate a unique deposit address for my Monero wallet. Please let me know if I can do this using javascript, without unlocking my wallet, just using the wallet or public key, or any ...
0
votes
1answer
48 views

Any quick way for me to test my browser's hash rate for CryptoNight v2?

I want to test the rate at which a WebAssembly miner can calculate CryptoNight v2 hashes in my Chrome web browser (or what my browser's Monero hash rate would have been as of ~May 2018). Is there an ...
0
votes
3answers
548 views

Is there a Javascript implementation of the CryptoNight algorithm?

Before I seek to write one of my own, I wanted to see if there's a CryptoNight Javascript algorithm anywhere out there. I found the CryptoNoter project, but it only contains an obfuscated binary file ...
0
votes
0answers
307 views

Generate an integrated address using javascript in the browser?

Is there a way to generate an integrated address (monero address + payment id) using javascript or PHP? This is assuming we just need the public monero address or do we also need the public view key ...