Coder Social home page Coder Social logo

gemini's People

Contributors

lazear avatar please-hodl-me avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gemini's Issues

Nonce

I can't believe I am the first to discover this problem. This would never surface if you start using this repository with a fresh Gemini Exchange generated API key. So, technically this is a user error. This is not the first repository for utilizing the Gemini API that I have used. The previous repository set a nonce equivalent to UtcNow.Ticks . When I switched to the Lazear repository, the nonce was out of sequence and low. This resulted in Bad Request 400 errors issued by the exchange. To make it a little worse the Lazear repository obscures the error by setting the order response status equal to null making it a little harder to figure out why private API methods were not working. I solved the problem by modifying the Wallet.Authenticate method to set the Nonce to UTCNow.Ticks. All methods operate perfectly now. Great work M. Lazear! Many thanks!

Large messages are not handled correctly with System.Net.WebSockets

Message truncation and/or missing message segments occur in "large" messages. I have not found the precise definition of large. This is not a problem with Gemini library, It is occurring at the microsoft c# class level. I've worked around this by using the REST interface when WebSockets returns an invalid JSON string. This is not a preferred way to handle this. Simply changing the WebSocket buffer size does not resolve the problem. I suggest using a different WebSocket class library.

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.