Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frederikbolding/tx-simulation-snap
An experimental transaction simulation snap
https://github.com/frederikbolding/tx-simulation-snap
Last synced: 20 days ago
JSON representation
An experimental transaction simulation snap
- Host: GitHub
- URL: https://github.com/frederikbolding/tx-simulation-snap
- Owner: FrederikBolding
- License: apache-2.0
- Created: 2022-10-30T13:17:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T11:14:09.000Z (over 1 year ago)
- Last Synced: 2024-10-14T03:26:26.851Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 7.37 MB
- Stars: 28
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.APACHE2
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# tx-simulation-snap
An experimental transaction simulation snap that leverages Ganache to simulate transactions and tries to interpret the simulation result for user benefit.
Feel free to fork this and use it for whatever you like.
# How to Use
First of all, make sure you:
- [ ] Have the right versions of Node and Yarn installed
- [ ] Have MetaMask Flask installedOnce you have that installed you can run the snap as follows: `yarn install && yarn start`.
This will spin up a website at `localhost:8000`, navigate to that website and hit "connect". This will walk you through the installation process. Once the snap is installed you can try it out by going to any dapp and initiating a transaction. You should see the transaction simulation snap as a tab in the transaction confirmation view.