Skip to content
command

GitHub Action

Generate Ethereum Address

v0.1.0 Latest version

Generate Ethereum Address

command

Generate Ethereum Address

Generates an Ethereum address using a given source data value

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Generate Ethereum Address

uses: cladular/generate-eth-address@v0.1.0

Learn more about this action in cladular/generate-eth-address

Choose a version

generate-eth-address

This action generates an Ethereum address using a given source data value.

Inputs

data

Required Source data to use when generating the address. Input value is tipically a public key.

Outputs

address

The generated Ethereum address.

Usage

- name: Generate Ethereum Address
  uses: cladular/generate-eth-address@v0
  id: ethgen # Later used for reading the output
  with:
    data: '...PUBLIC-KEY...'
# Use the output from the `ethgen` step
- name: Print Gernerated Address
  run: 'echo "Ethereum address: ${{ steps.ethgen.outputs.address }}"'

License

The scripts and documentation in this project are released under the MIT License