📦Install with NPM
You can also easily integrate Fortmatic into your Javascript dApp written in frameworks such as React. Simply run the script below in your project directory to install the Fortmatic Javascript package from NPM.
Recommended Node and NPM versions: Node version >= 6.9 and NPM version >= 3.4
Fortmatic Installation Script
Web3 Installation Script
If you are using web3 for your dApp, you can install either the latest stable web3 version or the 1.0 beta version with updated capabilities and syntax. If you are only using the Fortmatic SDK without web3, you may skip this step.
Import into Web3 dApp
Use the following code snippet to import Fortmatic into your web3 dApp.
Last updated