This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const blockhash = "0x5cb3e33c31019c9e5f77f354f150e4d74eb95a029a69738d45c176bc1447e444" | |
const fs = require("fs").promises | |
const seedrandom = require("seedrandom") | |
const chooser = require("random-seed-weighted-chooser").default | |
const SparkMD5 = require("spark-md5") | |
const random = seedrandom(blockhash) | |
const uniques = [{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Requires to have eslint and eslint-plugin vue installed locally. | |
(npm i -g eslint eslint-plugin-vue) | |
https://vuejs.github.io/eslint-plugin-vue/rules/ | |
Put this in a ".eslintrc.json" at the root of the repository. | |
You can also put in in your $HOME. | |
*/ |