floydeconomy/floydsdk

Implement Binance

jeevanpillay0000 opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
The current solution does not incorporate Binance into the project

Describe the solution you'd like:
The solution must incorporate all necessary functions and method required to start building applications with Binance.

There should be three interfaces that are specified as

  • InterfaceBinanceTransaction
  • InterfaceBinanceTransactionReceipt
  • InterfaceBinanceTransactionOptions

These will govern how transactions are sent and received in the application. It should be aligned with the other similar interfaces as well. Check Ethereum or Vechain for reference. Also, it must implement these four transaction functions and have appropriate tests associated with them. As of now, the PK should be sent as a Buffer into these functions, however, this will be changed into string in the future.

  • buildTransaction
  • sendTransaction
  • sendSingedTransaction
  • signTransaction

Moreover, users should also be able to create Binance accounts, using the type TypeAccount as the structure for the account.

Finally, it should incorporate all subscription and contracts methods provided that Binance JS SDK permits them.

All functions that are implemented must achieve 100% test coverage. This is vital for integration into the development branch.

Just notice the assigned task, thank you for the description

Sure thing, I will write a more comprehensive solution soon so that you have more guidance.