UNPKG

@citizenwallet/sdk

Version:

An sdk to easily work with citizen wallet.

12 lines 446 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRandomLetters = getRandomLetters; function getRandomLetters(length = 4) { const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; let result = ""; for (let i = 0; i < length; i++) { result += characters.charAt(Math.floor(Math.random() * characters.length)); } return result; } //# sourceMappingURL=random.js.map