Questions tagged [javascript]

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

45 questions
14
votes
5 answers

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?
ferretinjapan
  • 6,494
  • 2
  • 20
  • 47
13
votes
1 answer

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 MyMonero API?
seek adventure
  • 2,239
  • 14
  • 52
12
votes
2 answers

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, JavaScript, Ruby)?
7
votes
1 answer

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 backend. Does this works on C++ or java-script…
Sumit
  • 173
  • 1
  • 5
7
votes
1 answer

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 served poisoned JavaScript. Also, any local…
Clement J.
  • 3,349
  • 2
  • 16
  • 35
4
votes
1 answer

Is there a sample JavaScript code showing how to generate a monero address 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?
Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69
3
votes
2 answers

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?
Shamoon
  • 131
  • 2
3
votes
1 answer

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?
Freddy
  • 33
  • 1
  • 3
3
votes
2 answers

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 this?
Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69
3
votes
1 answer

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?
Mahfuz
  • 31
  • 1
2
votes
0 answers

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 his solution is heavily obfuscated and…
2
votes
1 answer

ed25519 problem with libsodium implementation S_a + S_b = (s_a+s_b)*G

I'm trying to make my own implementation of atomic swaps by following this article. I use a low level node.js bindings for libsodium for this. If I understand the protocol correctly, then Alice and Bob have private keys (s_a, s_b) and public keys:…
2
votes
1 answer

How to access to monero rpc from https javascript

I wrote a small javascript to test digest authentication on monerod and monero-wallet-rpc. When running on a http (no tls) website, authentication works, and I get my response. Then trying the same javascript on a https website, I get the folowing…
Mogens TrasherDK
  • 484
  • 3
  • 11
2
votes
3 answers

How to create a transaction offline using javascript?

I saw a method for sending a transaction to a daemon, but can't find information on how to create and sign a tx using javascript. I can't use the wallet-cli/RPC etc.
intosKai
  • 69
  • 4
2
votes
2 answers

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 javascript. Is there an easy to follow tutorial on how to…
Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69
1
2 3