Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bitcoin (XBT) as currency #1258

Open
PraiaBitcoin opened this issue Aug 16, 2023 · 1 comment
Open

Add Bitcoin (XBT) as currency #1258

PraiaBitcoin opened this issue Aug 16, 2023 · 1 comment

Comments

@PraiaBitcoin
Copy link

PraiaBitcoin commented Aug 16, 2023

We need to track expenses in Bitcoin for the Bitcoin Communities that we are helping worldwide, and we would like to try Crater to do it, but we need to add XBT ticker as a currency.

The abbreviation "XBT" comes from the International Standards Organization (ISO) that maintains a list of internationally recognized currencies.

Describe the solution you'd like
Add the code below on [database/seeds/CurrenciesTableSeeder.php]

            [
                'name' => 'Bitcoin',
                'code' => 'XBT',
                'symbol' => '',
                'symbol' => '₿',
                'precision' => '8',
                'thousand_separator' => ',',
                'decimal_separator' => '.'
            ],

Also, we need to get the prices from the Coingecko api here
https://api.coingecko.com/api/v3/exchange_rates

@jenishngl
Copy link

This project is dead. Check here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants