Skip to content

Blockchain module #1038

@ejcheng

Description

@ejcheng

Clear and concise description of the problem

I wish to be able to use Faker to be able to generate random cryptocurrency and blockchain related entries.

Suggested solution

faker.blockchain.crypto() // { name: "Cardano", symbol: "ADA" }
faker.blockchain.crypto() // { name: "Ripple", symbol: "XRP" }
As you can see, for blockchain.crypto(), the backend should work pretty similarly to the functions in science.

faker.blockchain.hashAlgorithm() // "SHA-256"
faker.blockchain.hashAlgorithm() // "X11"

In addition, deprecate the finance.bitcoinAddress(), finance.ethereumAddress(), and finance.litecoinAddress() functions and move them to the blockchain module.

Alternative

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions