Crypkit deploys first open-source code

Crypkit is dedicated to tracking cryptocurrency transactions so that you can stay on top of your crypto holdings. But even though the blockchain is a public ledger, there are certain limitations to keeping your transaction history. This is especially true for more complex operations like staking, lending and borrowing which rely on smart-contracts.

Not all blockchains are built equal and not all smart-contracts are well written or written with functionalities that enable individual coin pathway mapping for an individual user. In the eyes of the blockchain, there are only addresses and private keys. 

This is why we have identified a need to develop and build additional functionalities to the platform for a more tailored approach that will bring individual users at the center. The code has been developed to add more reliable, user-specific data as current blockchain native solutions aren’t equipped for the newly found needs. 

Our developers have been actively adding libraries out of which there are currently 5. Three are for the general blockchain data and two are coin specific. 

Blockapi provides a way of reading data from several blockchains. The script interacts with numerous cryptocurrency data APIs. It also grabs the basic info about account balance, transactions, staking information, delegation and so on. Currently, there are 25 coins supported with their blockchain-specific APIs and more are going to be added. Besides the majors like BTC, ETH, BCH, LTC and EOS there are others like SOL, KNC, ATOM, NEO, ADA, XTZ, BNB, ONT, BOS and Luna just to name a few. 

Token-loader is a smart contract that asks other smart contracts of the specific token they engage with and retrieves back the information. It was developed because of the current call limitations of the Ethereum Json RPC which only allows to retrieve information about a single token per call. Another problem that it solves is retrieving information from incomplete interfaces like the ERC20 or the ERC721 tokens that haven’t been written completely up to the standard. This way it fills out another short-coming by simply marking the interface as complete using the existing information.

Coinaddrng is a cryptocurrency address inspector/validator library for python. This was an existing library but our devs have added additional chains that weren’t supported in the original project. It serves as a tool for validating addresses for a specific coin and returns the coin’s name and ticker with the address, while inspecting its validity. In case the network prefix bytes are defined for a checked currency, then the network is returned. If the address is an extended key, then it returns if it is valid or not. 

While the previous three have been built for general use, the next two pieces of code have been written for and Loopring to keep track of their coin staking functions. The subgraphs enable us to filter the specific user, instead of only showing the events that are fired on the contract. As this diminishes the possibility of individual tracking operations, these subgraphs are used to compensate for the shortcoming in a way that enables easy tracking of specific user addresses.

Yfi staking subgraph is a tool that enables easy indexation of blockchain data. It is a subgraph which you implement as a code that gets triggered when an event is fired by the yearn governance. Events that are supported are staking, withdrawal and reward paid.  

Loopring staking subgraph is a subgraph for indexing Loopring blockchain data and like in the previous case support events that are triggered on UserStakingPool contract like, LRC staked, LRC withdrawn, LRC rewarded. 

Some of the codes are still being written and updated like the token-loader smart contract as it’s being tested and adjusted for achieving best results. While we have been building this for our platform to expand the accuracy of information and expand on some of the current features, the code has been published on GitHub as an open-source with the MIT licence. 

This was done for two main reasons. First, we believe that this will bring more transparency and trust to the platform – as one can easily verify the claims by looking at the source code. Also, as we aim to bring the most accurate tracking solution to the market, we would like to encourage cooperation within the developer community. 

This brings us to the second reason and that is – for others to use it in their own way and for their own benefit. As the cryptocurrency market still needs to mature we have deployed this source-code as our first modest contribution and help build the infrastructure around it. 

We would like to encourage you to check it out on our official GitHub page and participate in its further development so we can all contribute to the market by building the tools for tomorrow. 

Leave a Reply