1.0.67 â€ĸ Published 10 months ago

@dapplet/cli v1.0.67

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
10 months ago

📱 Dapplet CLI

Npm package version

Install

npm install -g @dapplet/cli

đŸĒŠ Features

Initialize a new dapplet

npx dapplet

or

npx dapplet init

... and cd into your dapplet's root directory

Configure your dapplet

Editable Config File: If you're working in an environment with solidity files, you can simply edit the file to use your contracts. We use EIP-2535 "facets" and the EIP-2535 "upgrade initializer" to compile, deploy, and publish your dapplet for you.

{
  "name": "my-dapplet",
  "chainId": "11155111",
  "sources": "../contracts" /* relative path to your contracts directory */,
  "facets": ["Greeter", "Counter"] /* contracts by name and (.sol) filename */,
  "initializer": {
    "GreeterInit": {
      "constructorArgs": ["0xdd6129055002c931e8dcF93C2eFDaf2e172e1592", 100],
      "function": "init(string)",
      "args": ["Hello World!"] /* set default args */
    }
  }
}

Start up the interface

npx dapplet dev

Go through the development setup process

TODO: visual helper gif

Code your frontend

TODO: visual helper gif

Build your dapplet

npx dapplet build

Push your dapplet to IPFS

npx dapplet push

Publish a Dapplet

TODO: visual helper gif


Ethereum 🤝 Microfrontends

The Building blocks for dApps. Buildable. Shareable. Reusable. Scalable.

About

Use the CLI to build your Dapplet:

  • 🏗ī¸ Build Frontends in Hardhat, Foundry, and more - Dapplet-CLI is designed to work with any smart contract development environment.
  • 🧱 Publish to the Dapplet Directory - Share your dapp in one simple click!
  • đŸĨ Fetch existing contract code - Download any sourcify-verified contract source-code with one simple command.

Dapplet combines the best tech:

  • 💎 EIP-2535 - The Diamond Standard.
  • đŸĻ‹ Piral - React Micro-Frontends.
  • 👟 Shoelace - React Web-Components.

Build with ANY WEB FRAMEWORK

Documentation

For detailed walkthroughs, see documentation.

Contributing

Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct and contribution policy.

1.0.67

10 months ago

1.0.66

11 months ago

1.0.65

11 months ago

1.0.62

12 months ago

1.0.61

12 months ago

1.0.60

12 months ago

1.0.44

1 year ago

1.0.43

1 year ago

1.0.64

11 months ago

1.0.42

1 year ago

1.0.63

12 months ago

1.0.48

1 year ago

1.0.47

1 year ago

1.0.46

1 year ago

1.0.45

1 year ago

1.0.49

1 year ago

1.0.51

12 months ago

1.0.50

12 months ago

1.0.55

12 months ago

1.0.53

12 months ago

1.0.52

12 months ago

1.0.59

12 months ago

1.0.58

12 months ago

1.0.57

12 months ago

1.0.56

12 months ago

1.0.41

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago