Skip to content

A simple Go server for the CosmWasm Contracts Registry

Notifications You must be signed in to change notification settings

teamscanworks/codebreaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codebreaker

Codebreaker is a simple Go server and client library for the CosmWasm Contracts Registry. It provides a convenient API, automatically updating itself to any changes in the Github repo once a day.

Usage

Install the binary

go install github.com/teamscanworks/codebreaker@latest

and run the server (this is for port :8080)

codebreaker teamscanworks/cw-contracts-registry :8080

API Reference

Query Description Response Type
/v1/chains Returns an array of registered chains by name []string
/v1/chain/{chain}/code-id/{codeId} Returns the contract info by code id Contract
/v1/chain/{chain}/address/{addreess} Returns the contract info by address (TODO) Contract

Acknowledgements

Codebreaker is a modified version of Skychart, a Go server for the Cosmos Chain Registry by @cmwaters.

About

A simple Go server for the CosmWasm Contracts Registry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published