create_wallet(config('app.xmr_wallet_name'), ''); // Creates a new wallet named memes with no passphrase. Comment this line and edit the next line to use your own wallet } catch (\Exception $e) { dump($e->getMessage()); } try { $open_wallet = $walletRPC->open_wallet(config('app.xmr_wallet_name'), ''); for ($i=0; $i < 100; $i++) { $create_address = $walletRPC->create_address(0, 'Example'); } $get_address = $walletRPC->get_address(); \DB::table('addresses')->insertOrIgnore($get_address['addresses']); $walletRPC->close_wallet(); } catch (\Exception $e) { dump($e->getMessage()); } } }