Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-dapp

Package Overview
Dependencies
Maintainers
7
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-dapp

Create React Ethereum apps, ready to use with Ledger and MetaMask

  • 5.36.0-deprecated
  • latest
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

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!


Ledger DApp Ethereum starter kit

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

Pre-requisite documentation to read

  • React: https://reactjs.org
  • Solidity: https://solidity.readthedocs.io
  • web3.js: https://github.com/ethereum/web3.js
  • truffle-contract: https://github.com/trufflesuite/truffle-contract

Pre-requisite tools to install

npm install -g truffle ganache-cli

Develop

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.

Keywords

FAQs

Package last updated on 15 Dec 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc