{"repo":"unpackdev/sourcify-go","free":true,"listed":false,"github":"https://github.com/unpackdev/sourcify-go","clone":"git clone https://github.com/unpackdev/sourcify-go.git","description":"A Golang client for the Sourcify API - aimed at facilitating smart contract verification, enhanced security, and simplifying interactions with the Sourcify infrastructure. Leverage the power of Sourcify using Go.","language":"Go","stars":12,"topics":["contract-validation","go-ethereum","golang-package","sourcify","abi","solidity-contracts","vyper-contracts","binance-smart-chain","ethereum"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Sourcify Go Sourcify Go is a Golang package that provides tools for interacting with the Sourcify API. It allows you to access various API endpoints and perform operations such as checking server status, retrieving chains information, obtaining contract information from supported chains and more. Installation To use Sourcify in your Go project, you can simply import the package: Usage Creating a Client To interact with the Sourcify API, you need to create a client using the NewClient function. You can provide optional configuration options using ClientOption functions. For example, you can specify a custom base URL or a custom HTTP client, set retry configuration in case sourcify servers are temporairly unavailable and set rate limits in order to control the rate at which HTTP requests are sent to the sourcify servers. Calling Raw API Endpoints Sourcify provides various API endpoints as Method objects. You can call these endpoints using the CallMethod function on the client and do your own method parsers if you wish to. However, if there are methods that we do not provide yet, you can do something like this to extend package. Supported API Endpoints Sourcify provides the following API endpoints that you can call that are currently supported by this package: V1 Methods - MethodHealth : Check the server status. More information - MethodGetChains : Retrieve the chains (networks) added to Sourcify. More information - MethodCheckByAddresses : Check if contracts with the desired ch","default_branch":null,"files":null,"tree":[],"storefront":"/r/unpackdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/unpackdev/sourcify-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}