Skip to main content
Share Your Experience: Take the 2024 Developer Survey
15 votes
Accepted

Are there any Monero specific programming language "libraries" available?

There are several. Python: https://github.com/tippero/python-monero Node js: https://github.com/ShenNoether/monero-nodejs Php: https://github.com/PsychicCat/monero-php I think the node and php ...
jwinterm's user avatar
  • 4,403
3 votes

Is there a simple Monero price lookup API?

That's because you're using the wrong ticker. Try XMR. https://min-api.cryptocompare.com/data/price?fsym=XMR&tsyms=BTC,USD,EUR
JollyMort's user avatar
  • 19.9k
2 votes

How to Connect a a Monero Wallet to a Monero-Based Website and How to Keep it Safe?

I'm assuming the monero-wallet-rpc is on the same host as the website. In init.php, define a username and password for the rpc wallet: // RPC login credentials for monero-wallet-rpc. Use --rpc-login ...
user3184415's user avatar
2 votes

Are there any Monero specific programming language "libraries" available?

For python, you can use MoneroPy. It is still pre-beta and under development, but has pure python implementations for wallet account creation, TX Extra parsing, integrated address encoding and ...
bigreddmachine's user avatar
2 votes

PHP Libraries to assist with Monero integration

There is another PHP library developed by serhack. https://github.com/monero-integrations/monerophp
SerHack's user avatar
  • 540
2 votes
Accepted

What is the best way to implement a deposit system with Monero's RPC calls?

I would suggest creating a subaddress per customer. Therefore, you will be calling the RPC method create_address (if using the monero-wallet-rpc directly), or the equivalent method in your referenced ...
jtgrassie's user avatar
  • 19.1k
1 vote

Monero wallet rpc deducts 10 XMR from address when I call the transfer function (incorrect amount)

If you have 1 output with 10 XMR and send 5 XMR elsewhere, you will spend that 10 XMR output receiving 5 XMR as change. Your wallet's confirmed/spendable balance will be 5 XMR below what you expect ...
jtgrassie's user avatar
  • 19.1k
1 vote

Help with monero-integrations/monerophp error

The error you are getting stems from the fact the method you are trying to call (get_connections) is not an available method when running a restricted daemon.
jtgrassie's user avatar
  • 19.1k
1 vote
Accepted

Monero wallet RPC transfer issue, intermittent problem

Your log shows you converting the string '0.1253721' to 106372099999.99998, which is an invalid amount. Whereas your other string '0.1253728' gets converted to 106372800000.0, which is passing through ...
jtgrassie's user avatar
  • 19.1k
1 vote

Using monero-php, I am getting "Method not found" when calling open_wallet

The wallet RPC and daemon RPC are different. Refer to the projects documentation on how to run both wallet and daemon RPCs. The node you reference at node.xmr.to is a daemon RPC, not a wallet RPC, ...
jtgrassie's user avatar
  • 19.1k
1 vote

Generate Monero Private/Public Key using PHP Only?

Line 72 in that file has a variable name that doesn't match the parameter name (notice the lowercase k in spendkey). Just edit that line replacing $spendkey with $spendKey should fix it.
jtgrassie's user avatar
  • 19.1k
1 vote

Method not found using Monero JSON-RPC in PHP

getblockcount is a daemon RPC, but you mention monero-wallet-rpc mostly. It is likely you are trying to call this RPC on the wallet, not on the daemon, and the wallet rightfully errors out.
user36303's user avatar
  • 34.8k

Only top scored, non community-wiki answers of a minimum length are eligible