Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
cake-to-cointracking-converter
Advanced tools
CLI script to translate Cake export data to a valid CoinTracking import
CLI script to translate Cake export data to a valid CoinTracking import.
IMPORTANT: Make a backup of your trades before you import new data via this script!
EVEN MORE IMPORTANT: This is no tax advice! The way this script imports data might be wrong.
--use-cointracking-fiat-valuation
. The CoinTracking data is than used.--consolidate-staking-data
.IMPORTANT: The consolidation feature is experimental. Please check your CoinTracking import carefully (and make a backup) and let me know if something is wrong. You cannot switch between the normal mode of this script and this consolidation mode, because the consolidation mode is generating its own Tx-ID's to identify the imported data rows. The only clean solution for switching between these modes would be to delete the complete data set from CoinTracking and reimport if afterwards. Another caveat of the consolidation mode is, that you need to import Cake's data for "complete days". Otherwise some staking data would be lost, because the consolidation mode consolidates all staking data for each day and defines a new Tx-ID for each day. After this a day is "completed" and no further data is added to CoinTracking for this day.
npm install -g cake-to-cointracking-converter
Get your Cake transactions export (CSV) for all coins and generate a CoinTracking import via CLI.
Example CLI command (More options below):
cake2ct --cake-csv "path\to\cake-export-file.csv" --ct-csv "path\to\cointracking-import-file.csv" --language "DE"
--cake-csv
- Path to Cake CSV.--ct-csv
- Path to CoinTracking CSV. Creates one, if it is not existing.--language
(optional) - Used language for CoinTracking import file. "DE" and "EN" are supported. Default is "EN".--display-holdings-overview
(optional) - Displays simple overview of current holdings at cake. You need the export data of your complete Cake usage time. Otherwise this overview is nonsense.--consolidate-staking-data
(optional) - Consolidate data from staking operations on a daily basis at midnight.--use-cointracking-fiat-valuation
(optional) - Use the FIAT transaction valuation from CoinTracking instead of the valuation data from Cake.--display-income-overview
(optional) - Displays simple overview of monthly income at cake.I made it a lot more easy for you to manage your Cake data with CoinTracking? Show me some love! ;D
Your options:
:heart: GitHub Sponsors
:heart: DeFiChain (DFI) Address: df1qynftu7aqh3qm8k004zxp804h00wuzcm5rqv8wa
:heart: Bitcoin (BTC) Address: bc1q04z9xnuf9adac042k44q9v0j4ur7exkr5tp85t
:heart: Ethereum (ETH) Address: 0xAb1c000a139B18a5B3F48cDA0e9eeF57eF842902
Something missing? Open an issue or make a PR! ;D
FAQs
CLI script to translate Cake export data to a valid CoinTracking import
The npm package cake-to-cointracking-converter receives a total of 1 weekly downloads. As such, cake-to-cointracking-converter popularity was classified as not popular.
We found that cake-to-cointracking-converter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.