solcpp
solcpp copied to clipboard
A fast Solana and Mango Markets C++ SDK
This pull request is for the functions [onRootChange](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#onRootChange) and [removeRootChangeListener](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#removeRootChangeListener) given in issue number #41. The aim here is to call a callback every time the root is updated.
This pull request is for the functions onLogs and removeLogListener given in issue number #41. The main aim is to call a callback whenever logs are updated.
#80 Generator for Account, Error, Instructions, ProgramId, Types https://www.npmjs.com/package/commander https://www.npmjs.com/package/ts-morph
https://solana-labs.github.io/solana-web3.js/classes/Connection.html [getAccountInfo](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getAccountInfo) [getAccountInfoAndContext](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getAccountInfoAndContext) [getAddressLookupTable](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getAddressLookupTable) [getBalance](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBalance) [getBalanceAndContext](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBalanceAndContext) [getBlock](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBlock) [getBlockHeight](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBlockHeight) [getBlockProduction](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBlockProduction) [getBlockSignatures](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBlockSignatures) [getBlockTime](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBlockTime) [getBlocks](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getBlocks) [getClusterNodes](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getClusterNodes) [getConfirmedBlock](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getConfirmedBlock) [getConfirmedBlockSignatures](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getConfirmedBlockSignatures) [getConfirmedSignaturesForAddress](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getConfirmedSignaturesForAddress) [getConfirmedSignaturesForAddress2](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getConfirmedSignaturesForAddress2) [getConfirmedTransaction](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getConfirmedTransaction) [getEpochInfo](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getEpochInfo) [getEpochSchedule](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getEpochSchedule) [getFeeCalculatorForBlockhash](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getFeeCalculatorForBlockhash) [getFeeForMessage](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getFeeForMessage) [getFirstAvailableBlock](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getFirstAvailableBlock) [getGenesisHash](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getGenesisHash) [getInflationGovernor](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getInflationGovernor) [getInflationReward](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getInflationReward) [getLargestAccounts](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getLargestAccounts) [getLatestBlockhash](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getLatestBlockhash) [getLatestBlockhashAndContext](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getLatestBlockhashAndContext) [getLeaderSchedule](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getLeaderSchedule)...
We want to implement anchor IDL support for solcpp. At start we do not expect a runtime support for IDL but a generator is fine. The generator will create classes,...
This pull request is in regards with issue number #90
Currently the web socket doesn't deal with error message received in subscription and also fails when un-subscription is done before the notification for successful subscription has been received.
This pull request implements the [onSlotChange](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#onSlotChange) and [removeSlotChangeListener](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#removeSlotChangeListener) function related to issue number https://github.com/mschneider/solcpp/issues/41. The goal here is to get notification every time a slot is changed.
This pr implements the functions [onSlotUpdate](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#onSlotUpdate) and [removeSlotUpdateListener](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#removeSlotUpdateListener) associated with #41 The aim here is to get notification whenever any of the slot is updated.
The name of [getAccountInfo ](https://github.com/OmkarAcharekar/solcpp/blob/3b801c1c7471029e769c188159c7adc50481a8b9/include/solana.hpp#L981) and [getMultipleAccountsInfo ](https://github.com/OmkarAcharekar/solcpp/blob/3b801c1c7471029e769c188159c7adc50481a8b9/include/solana.hpp#L1004) methods can be changed to [getAccountInfoAndContext](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getAccountInfoAndContext) and [ getMultipleAccountsInfoAndContext](https://solana-labs.github.io/solana-web3.js/classes/Connection.html#getMultipleAccountsInfoAndContext) respectively as they are also returning context . Then write separate * [getAccountInfo...