DEV Community

Camilo
Camilo

Posted on • Updated on

Chaucha Wallet Generator Github Action

My Workflow

This is a simple Github Action to generate Chaucha cryptocurrency wallets. This serves as an example for other cryptocurrencies similar to bitcoin.

Submission Category:

Wacky Wildcards

Yaml File or Link to Code

GitHub logo proyecto-chaucha / chaucha-gha-wallet-generator

Chaucha functions for usage with Github Actions

Chaucha Wallet Generator Action

This is a simple https://chaucha.cl wallet generator for usage within Github actions.

Usage

Example workflow

name: Integration Test
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Self test
        id: selftest

        # Put your action repo here
        uses: proyecto-chaucha/chaucha-gha-wallet-generator@master
        with:
          value: "test"

      - name: Check outputs
        run: |
          test "${{ steps.selftest.outputs.privkey }}" == "8G63zuGKfQ7ho4X1ytHr75HmrZxJq3NFQ51YSPdyDh4hsHEr2Bg"
          test "${{ steps.selftest.outputs.pubkey }}" == "ch4uy1bAfLLf6RMcmkrHBa8oxtuMTgwXyS"
Enter fullscreen mode Exit fullscreen mode

Inputs

Input Description
value (optional) String value to create a new wallet address. Empty value will generate a random address.

Outputs

Output Description
privkey Chaucha Wallet Private Key Address
pubkey Chaucha Wallet Public Key Address



Additional Resources / Info

www.chaucha.cl

Top comments (0)