Created
July 20, 2015 05:38
-
-
Save data-doge/be20196bd7c2be8af2de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source 'https://rubygems.org' | |
| gem 'coinbase' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'coinbase/wallet' | |
| coinbase_client_id = "6aa0e18f1fd9f57fa62135b85c62eef14214f78b2199ee276c5a7514bb5cbd29" | |
| coinbase_client_secret = "f8752a2d616e34458e5ba975711a1d656e8dc0dde8c46f1ba77efdaedb081aee" | |
| super_token = "8a5898627b61eb3bc888c00d4cc1786b8acf7ff8d732977cd3b7b925c1bb2ccc" | |
| # client = Coinbase::Wallet::OAuthClient.new(access_token: super_token) | |
| # p client.current_user | |
| client = Coinbase::Wallet::Client.new(api_key: coinbase_client_id, api_secret: coinbase_client_secret, api_url: "https://api.sandbox.coinbase.com") | |
| p client.user("ad08c2cd-dd4f-5462-8bc1-9e8d7b304c0c") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment