make sender a string

This commit is contained in:
Michele Balistreri 2020-04-02 12:34:38 +03:00
parent 827965e8eb
commit 8a5c979115
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import Web3 from 'web3';
import parseArgs from 'minimist';
import fs from 'fs';
const argv = parseArgs(process.argv.slice(2), {boolean: ["deploy-factory", "deploy-bucket"], string: ["factory", "bucket", "token"], default: {"endpoint": "ws://127.0.0.1:8546", "validity-days": 365}});
const argv = parseArgs(process.argv.slice(2), {boolean: ["deploy-factory", "deploy-bucket"], string: ["sender", "factory", "bucket", "token"], default: {"endpoint": "ws://127.0.0.1:8546", "validity-days": 365}});
const web3 = new Web3(argv["endpoint"]);