satoshi-value

Satoshi value in crypto world.

Usage no npm install needed!

<script type="module">
  import satoshiValue from 'https://cdn.skypack.dev/satoshi-value';
</script>

README

Satoshi value

Installation

$ npm i satoshi-value
$ yarn add satoshi-value

Usage

// Boomers
const satoshi = require('satoshi-value');

// Cool people
import satoshi from "satoshi-value"

const amountToSend = 1 * satoshi; // 1.0e+8

What is Satoshi value?

Satoshi was named after the founder, or founders, of bitcoin, known as Satoshi Nakamoto.

According to the Investopedia Satoshi represents one hundred millionths of a bitcoin. Small denominations make bitcoin transactions easier to conduct and makes extremely fine transactions readable. The general unit structure of bitcoins has 1 bitcoin (BTC) equivalent to 1,000 millibitcoins (mBTC), 1,000,000 microbitcoins (μBTC), or 100,000,000 satoshis.

License

Copyright © 2021, Amin Mahrami. Released under the MIT License.