Code Monkey home page Code Monkey logo

coinbase-rs's People

Contributors

agentydragon avatar j16r avatar jorgeavaldez avatar mvines avatar tarcieri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

coinbase-rs's Issues

hmac has a transitive yanked package on crypto-mac, causing builds to fail

$ cargo run
    Updating crates.io index
error: failed to select a version for the requirement `crypto-mac = "^0.7"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package `hmac v0.7.0`
    ... which is depended on by `coinbase-rs v0.3.0`

hmac should also yank 0.7.0 but hasn't done so yet.

I recommend bumping hmac (unfortunately there are some breaking changes) and yank coinbase-rs 0.3.0 after release

Serde gives off `missing field 'data', line: 1, column: 5` error

This is the error:
thread 'main' panicked at 'called Result::unwrap() on an Err value: Serde(Error("missing field data", line: 1, column: 53))'
This is the code:

let sell_price = coinbase
                .sell_price(format!("{}{}", &account.currency.code, "-EUR").as_str()) 
                .await
                .unwrap()
                .amount;

coinbase is a coinbase_rs::Public object, and account is a coinbase_rs::Private::Account object

Buy/Sell Support

Is there a plan to support buys, sells, or transfers in this crate?

Collaborate? Plans?

It seems like maybe you're working on this again? Any interest in collaborating in a Matrix room or something? I'm a bit of a novice when it comes to more advanced Rust, but I've made a couple small additions and have some questions about plans/current state of this library.

Either way, thanks for this so far.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.