Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
fortmatic
Advanced tools
Readme
Fortmatic JavaScript SDK lets developers conveniently connect their web apps to the Ethereum blockchain - allowing end-users to interact with their apps on any modern browser, without requiring them to download any browser extensions or mobile dApp browsers.
See the Developer Documentation.
Integrating your app with Fortmatic will need our npm package:
# Via NPM:
npm install --save fortmatic
# Via Yarn:
yarn add fortmatic
Alternatively you can load via CDN with by adding a script tag to your app’s <head>
:
<script src="https://cdn.jsdelivr.net/npm/fortmatic/dist/fortmatic.js"></script>
Sign up or log in to the Developer Dashboard to receive API keys that will allow your app to interact with the Ethereum blockchain through Fortmatic.
You can then integrate by simply replacing your web3 provider with Fortmatic provider. Now, instead of the MetaMask Chrome Extension opening, a Fortmatic modal will show instead—requiring no additional user downloads. Fortmatic works across all modern desktop, mobile Chrome, Safari and Firefox browsers.
import Fortmatic from 'fortmatic';
// Create client and replace web3 provider
const fm = new Fortmatic('YOUR_API_KEY');
web3 = new Web3(fm.getProvider());
// Send transactions the way your are used to
web3.eth.sendTransaction({/* ... */});
FAQs
Fortmatic Javascript SDK
The npm package fortmatic receives a total of 11,767 weekly downloads. As such, fortmatic popularity was classified as popular.
We found that fortmatic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 25 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.