Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

146
Views
Calculadora de tarifas de Javascript Crypto a Fiat por tarifa

Entonces, estoy tratando de crear una plataforma que acepte, por ejemplo, una tarifa del 2% para convertir Fiat a Crypto o viceversa, y quiero calcular las tarifas para ambas opciones, cuando el usuario desea convertir de crypto a fiat, para mostrarle el valor. en fiat, también cuando quiere convertir fiat a crypto para mostrar el valor en fiat.

Ejemplo: 1BTC = x amount and the fee will be $29

 // The pairs are all against USD , eg 1 BTC = 40,000$ export const cryptocurrencies = [ { Name: 'Bitcoin', Symbol: 'BTC', Rate: 40000, }, { Name: 'Tether', Symbol: 'USDT', Rate: 1, }, ]; export const fiat = [ { Name: 'US Dollar', Symbol: 'USD', Rate: 1, }, { Name: 'Euro', Symbol: 'EUR', Rate: 0.9258, // USD to EUR }, ];

No tengo idea de cómo se puede hacer esto.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!