Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

strong-roots-capital/bitcoin-epoch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-epoch Build status npm version

Start of the Bitcoin epoch

Provides a Date object representing the start of the Bitcoin epoch.

Install

npm install @strong-roots-capital/bitcoin-epoch

Use

import { BITCOIN_EPOCH } from '@strong-roots-capital/bitcoin-epoch'
console.log(BITCOIN_EPOCH.valueOf())
//=> 1230940800000

Acknowledgments

  • Satoshi Nakamoto