trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 678 forks source link

feat: package ganache as a snap #3712

Open tenthirtyone opened 2 years ago

tenthirtyone commented 2 years ago

Adds a snapcraft.yaml to the src/packages/ganache directory that contains the configuration for building snaps.

tenthirtyone commented 2 years ago

You will need to install

$ sudo apt install snapd snapcraft

The cd into src/packages/ganache and run

$ snapcraft

It will ask you to install multipass, say yes. After the build completes run:

$  sudo snap install ganache_1.0.0_amd64.snap --devmode --dangerous

--devmode runs unconfined, --dangerous acknowledges this is not a signed snap. Then run:

$ ganache