diff --git a/lib/tasks/lndhub.rake b/lib/tasks/lndhub.rake new file mode 100644 index 0000000..5b30082 --- /dev/null +++ b/lib/tasks/lndhub.rake @@ -0,0 +1,8 @@ +namespace :lndhub do + desc "Generate wallets for all users" + task :generate_wallets => :environment do |t, args| + User.all.each do |user| + CreateLndhubWalletJob.perform_later(user) + end + end +end