github.com/InjectiveLabs/sdk-go@v1.53.0/README.md (about)

     1  # Injective Protocol Golang SDK 🌟
     2  
     3  [![codecov](https://codecov.io/gh/InjectiveLabs/sdk-go/graph/badge.svg?token=XDGZV265EE)](https://codecov.io/gh/InjectiveLabs/sdk-go)
     4  
     5  ---
     6  
     7  ## 📚 Getting Started
     8  
     9  Clone the repository locally and install needed dependencies
    10  
    11  ```bash
    12  $ git clone git@github.com:InjectiveLabs/sdk-go.git
    13  $ cd sdk-go
    14  $ go mod download
    15  ```
    16  
    17  ## Run examples
    18  ```bash
    19  # import pk into keyring if you use keyring
    20  injectived keys unsafe-import-eth-key inj-user 5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e
    21  
    22  # run chain example
    23  go run examples/chain/bank/1_MsgSend/example.go
    24  
    25  # run exchange example
    26  go run examples/exchange/derivatives/4_Orderbook/example.go
    27  ```
    28  
    29  ---
    30  
    31  ## Updating Exchange API proto and client
    32  
    33  ```bash
    34  $ make copy-exchange-client
    35  ```
    36  
    37  (you have to clone [this repo](https://github.com/InjectiveLabs/injective-indexer) into `../injective-indexer`)
    38  
    39  ---
    40  
    41  ## Publishing Tagged Release
    42  
    43  ```bash
    44  $ git add .
    45  $ git commit -m "bugfix"
    46  $ git tag -a v1.1.1
    47  $ git push origin master --tags
    48  ```
    49  
    50  ---
    51  
    52  ## ⛑ Support
    53  
    54  Reach out to us at one of the following places!
    55  
    56  - Website at <a href="https://injective.com" target="_blank">`injective.com`</a>
    57  - Twitter at <a href="https://twitter.com/InjectiveLabs" target="_blank">`@InjectiveLabs`</a>
    58  
    59  ---
    60  
    61  ## License
    62  
    63  Copyright © 2020 - 2022 Injective Labs Inc. (https://injectivelabs.org/)
    64  
    65  <a href="https://drive.google.com/uc?export=view&id=1-fPQRh_D_dnun2yTtSsPW5MypVBOVYJP"><img src="https://drive.google.com/uc?export=view&id=1-fPQRh_D_dnun2yTtSsPW5MypVBOVYJP" style="width: 300px; max-width: 100%; height: auto" />
    66  
    67  Originally released by Injective Labs Inc. under: <br />
    68  Apache License <br />
    69  Version 2.0, January 2004 <br />
    70  http://www.apache.org/licenses/