🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

gitlab.com/hmlkao/coinbase-go/examples/04_get-accounts-balance

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab.com/hmlkao/coinbase-go/examples/04_get-accounts-balance

Source
Go
Version
v0.0.0-20201029222035-2492ea084806
Version published
Created
Source

Get accounts balance

You MUST setup Coinbase APIkey and APIsecret to your env

  • Log in to your Coinbase account
  • Go to Profile Settings > API Access
  • Add new API Key
  • Setup values to Bash variables
    export COINBASE_KEY=<your-api-key>
    export COINBASE_SECRET=<your-api-secret>
    
  • Build and run example
    go run main.go
    

FAQs

Package last updated on 29 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts