Skip to content

Instantly share code, notes, and snippets.

View mrxvt's full-sized avatar
💭
I may be slow to respond.

mrxvt

💭
I may be slow to respond.
View GitHub Profile
import fetch from "node-fetch";
import mongoose from "mongoose";
const PropertySchema = new mongoose.Schema({
photos: {
type: [String],
required: true,
},
price: {
type: Number,
@mrxvt
mrxvt / list.md
Created July 3, 2022 04:37 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@mrxvt
mrxvt / wallets.js
Created January 15, 2022 16:11
Create `n` Ethereum wallets using hardhat-ethers
// Create `n` Ethereum wallets using hardhat-ethers
const swarm = (n) => {
const wallets = [];
while (wallets.length < n) {
const w = ethers.Wallet.createRandom().connect(ethers.provider);
wallets.push(w)
}
return wallets