Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/InjectiveLabs/sdk-go

Tools to work with the Injective Chain, Injective EVM and EIP712.
https://github.com/InjectiveLabs/sdk-go

eip712 ethereum evm wrappers

Last synced: 3 months ago
JSON representation

Tools to work with the Injective Chain, Injective EVM and EIP712.

Awesome Lists containing this project

README

        

# Injective Protocol Golang SDK 🌟

[![codecov](https://codecov.io/gh/InjectiveLabs/sdk-go/graph/badge.svg?token=XDGZV265EE)](https://codecov.io/gh/InjectiveLabs/sdk-go)

---

## 📚 Getting Started

Clone the repository locally and install needed dependencies

```bash
$ git clone [email protected]:InjectiveLabs/sdk-go.git
$ cd sdk-go
$ go mod download
```

## Run examples
```bash
# import pk into keyring if you use keyring
injectived keys unsafe-import-eth-key inj-user 5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e

# run chain example
go run examples/chain/bank/1_MsgSend/example.go

# run exchange example
go run examples/exchange/derivatives/4_Orderbook/example.go
```

---

## Updating Exchange API proto and client

```bash
$ make copy-exchange-client
```

(you have to clone [this repo](https://github.com/InjectiveLabs/injective-indexer) into `../injective-indexer`)

---

## Publishing Tagged Release

```bash
$ git add .
$ git commit -m "bugfix"
$ git tag -a v1.1.1
$ git push origin master --tags
```

---

## ⛑ Support

Reach out to us at one of the following places!

- Website at `injective.com`
- Twitter at `@InjectiveLabs`

---

## License

Copyright © 2020 - 2022 Injective Labs Inc. (https://injectivelabs.org/)

Originally released by Injective Labs Inc. under:

Apache License

Version 2.0, January 2004

http://www.apache.org/licenses/