Post
Topic
Board Altcoin Discussion
Re: Problem with Monero (RPC) no connect to my script.
by
BlackHatCoiner
on 14/03/2024, 18:28:13 UTC
I confirm I received the files.

I think I have figured it out, but I don't cross my fingers. create_account method fails, because your Monero wallet and daemon run on mainnet, whereas the script calls the testnet. Take a look on app/Models/Market/Monero.php, line 27. Whoever wrote this passes 28088 in walletRPC, which is a (by default) testnet port, if I'm not mistaken.

BTW, this exact line is mentioned in the last step of the installation document (pdf). But, you're not passing 'rpcuser' nor 'rpcpass'. It should look like this:
Code:
$walletRPC = new walletRPC('127.0.0.1', 'RPC_USER', 'RPC_PASS', 18088, false);

Update the file, retry and let me know.