eth-interfaces

module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2025 License: MIT

README

eth-interfaces

A Go package providing Ethereum interface definitions and related utilities for Ethereum development.

Overview

The eth-interfaces package defines interfaces commonly used in Ethereum development. It offers abstractions for interacting with Ethereum nodes, smart contracts, and blockchain data, which makes testing and integration simpler and more consistent across projects.

Features

  • Ethereum Client Interfaces: Simplified interactions with Ethereum nodes.
  • Smart Contract Bindings: Structured approaches for working with Ethereum smart contracts.
  • Utility Functions: Common helper functions to streamline blockchain operations.

Installation

Install the package using go get:

go get github.com/Thektonic/eth-interfaces

Usage

See directly in the example directory.

Contributing

Contributions are welcome! Please fork the repository, create a feature branch, and open a pull request for review.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Directories

Path Synopsis
Package base provides core utilities for interacting with the blockchain, including transaction setup, contract calls, and error handling.
Package base provides core utilities for interacting with the blockchain, including transaction setup, contract calls, and error handling.
Package basetokens provides common interfaces for token contract interactions.
Package basetokens provides common interfaces for token contract interactions.
Package contractextension provides interfaces and utilities for extending contract functionality.
Package contractextension provides interfaces and utilities for extending contract functionality.
Package customerrors provides custom error types for contract interface operations.
Package customerrors provides custom error types for contract interface operations.
Package erc20 provides base functionality for interacting with ERC20 tokens using the IERC20 standard.
Package erc20 provides base functionality for interacting with ERC20 tokens using the IERC20 standard.
burnable
Package burnable provides functions to interact with ERC20 burnable properties.
Package burnable provides functions to interact with ERC20 burnable properties.
example
example1
Package example1 demonstrates basic usage of the eth-interfaces library.
Package example1 demonstrates basic usage of the eth-interfaces library.
Package hex provides common utilities and constants for Ethereum contract interactions.
Package hex provides common utilities and constants for Ethereum contract interactions.
Package merged provides a unified interface that combines multiple NFT interaction extensions such as enumerable and royalties.
Package merged provides a unified interface that combines multiple NFT interaction extensions such as enumerable and royalties.
Package models defines data structures used across the eth-interfaces library.
Package models defines data structures used across the eth-interfaces library.
nft
Package nft provides base functionality for interacting with NFTs using the IERC721 standard.
Package nft provides base functionality for interacting with NFTs using the IERC721 standard.
enumerable
Package enumerable provides functions to interact with ERC721 enumerable properties.
Package enumerable provides functions to interact with ERC721 enumerable properties.
royalties
Package royalties provides functions to interact with ERC721 royalty properties.
Package royalties provides functions to interact with ERC721 royalty properties.
Package testingtools provides common utilities and constants for Ethereum contract interactions.
Package testingtools provides common utilities and constants for Ethereum contract interactions.
Package transaction provides utilities for blockchain transaction operations.
Package transaction provides utilities for blockchain transaction operations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL