diff options
| author | Gokulnath Reddy <[email protected]> | 2017-06-19 22:43:15 +1000 |
|---|---|---|
| committer | Gokulnath Reddy <[email protected]> | 2017-06-19 22:43:49 +1000 |
| commit | 97a479b62e02764befaf3ba27a2abcb80216b8bd (patch) | |
| tree | 3dc9baaab95f97fad37d5468f2a9d191ac9630ae /lib | |
| parent | df296352d46730b2e79a05506c2e416e5fce2c9d (diff) | |
| download | faker-97a479b62e02764befaf3ba27a2abcb80216b8bd.tar.xz faker-97a479b62e02764befaf3ba27a2abcb80216b8bd.zip | |
Generate an ethereum address
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/finance.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/finance.js b/lib/finance.js index 87a89411..41cae3b1 100644 --- a/lib/finance.js +++ b/lib/finance.js @@ -151,6 +151,17 @@ var Finance = function (faker) { }; /** + * ethereumAddress + * + * @method faker.finance.ethereumAddress + */ + self.ethereumAddress = function () { + var address = faker.random.hexaDecimal(40); + + return address; + }; + + /** * iban * * @method faker.finance.iban |
