Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
create-dapp
Advanced tools
Create React Ethereum apps, ready to use with Ledger and MetaMask
IMPORTANT: this package is deprecated due to the fact we had to move away from U2F. Contributions are welcome to make it running in WebUSB!
Welcome to Ledger DApp starter kit, web app backed by Ethereum smart contract. Out of the box support of Ledger devices and MetaMask.
bootstrap a project with:
yarn create dapp new-project-name
OR
npm i -g create-dapp
create-dapp new-project-name
npm install -g truffle ganache-cli
Run a development Ethereum network:
ganache-cli --networkId 1337
Alternatively you can run on Ethereum testnet.
Run the truffle tool, to generate and compile the contracts. NB: the truffle project lives under src/dapp
cd src/dapp
truffle compile
truffle deploy --network development
Adapt the deploy based on your need. Read truffle documentation for more information.
Run the web app:
npm start
Read create-react-app documentation for more information.
FAQs
Create React Ethereum apps, ready to use with Ledger and MetaMask
We found that create-dapp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.