### Install eos-abigen with Go Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Install the eos-abigen CLI tool directly using the Go toolchain. This method requires a Go development environment to be set up on your system. ```shell go install github.com/maxifom/eos-abigen@latest ``` -------------------------------- ### Install eos-abigen on Linux Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Download and make the eos-abigen executable for Linux systems. This command fetches the latest release, renames it to 'eos-abigen', and grants execution permissions. ```shell wget https://github.com/maxifom/eos-abigen/releases/latest/download/eos-abigen_linux_amd64 mv eos-abigen_linux_amd64 eos-abigen chmod +x eos-abigen ``` -------------------------------- ### Install eos-abigen on Windows Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Download the eos-abigen executable for Windows systems. Users should manually download the executable from the provided URL and place it in their system's PATH for easy access. ```shell Download https://github.com/maxifom/eos-abigen/releases/latest/download/eos-abigen_windows_amd64.exe ``` -------------------------------- ### Install eos-abigen on MacOS Intel Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Download and make the eos-abigen executable for Intel-based MacOS systems. This command fetches the latest release, renames it to 'eos-abigen', and grants execution permissions. ```shell wget https://github.com/maxifom/eos-abigen/releases/latest/download/eos-abigen_macos_amd64 mv eos-abigen_macos_amd64 eos-abigen chmod +x eos-abigen ``` -------------------------------- ### Install eos-abigen on MacOS M1 Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Download and make the eos-abigen executable for M1-based MacOS systems. This command fetches the latest release, renames it to 'eos-abigen', and grants execution permissions. ```shell wget https://github.com/maxifom/eos-abigen/releases/latest/download/eos-abigen_macos_arm64 mv eos-abigen_macos_arm64 eos-abigen chmod +x eos-abigen ``` -------------------------------- ### Configure eos-abigen with .eos-abigen.yaml Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Define generation settings for eos-abigen using a `.eos-abigen.yaml` configuration file. This allows specifying an output folder and multiple contract ABI files with optional name overrides for generated code. ```yaml generate: folder: generated # Folder to which save generated code from current dir contracts: - file: ./contracts/eosio.json # Path to ABI JSON file name_override: eosio123 # Contract name override, it will be used for get_table_rows and Action builder - file: /some/folder/contracts/eosio.json name_override: eosio123 ``` -------------------------------- ### Download Contract ABI using eos-abigen Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Use the `get-contract` command to download an ABI JSON file for a specified contract. Optionally, provide a custom RPC Node URL using the `-u` parameter if not using the default `https://eos.greymass.com`. ```shell eos-abigen get-contract ``` -------------------------------- ### Generate Go Client from ABI with eos-abigen Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Generate type-safe Golang client code from a provided ABI JSON file. This command creates structs and client methods for read-access `get_table_rows` based on the contract's ABI. ```shell eos-abigen generate ``` -------------------------------- ### Generate TypeScript Client from ABI with eos-abigen Source: https://github.com/maxifom/eos-abigen/blob/master/README.md Generate type-safe Typescript client code from a provided ABI JSON file. This command creates structs, client methods for read-access `get_table_rows`, and an action builder for easier contract interaction. ```shell eos-abigen generate-ts ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.