Skip to content

Commit

Permalink
Add state utility extension (#282)
Browse files Browse the repository at this point in the history
* New wasm project

* Change project

* Fix script and project

* Add popup

* Add account form

* Update popup

* Change script location

* button click fixed

* Fetch

* [WIP] Integrate with state utility server

* Added styling with tailwind

* Update border

* Nits

* Add Makefile

* Fetch server

* Beautify, fix balance

* Add gecko id and build make rule

---------

Co-authored-by: Pablo Deymonnaz <[email protected]>
Co-authored-by: gabrielbosio <[email protected]>
  • Loading branch information
3 people authored Jun 18, 2024
1 parent 353c485 commit e9c3a3b
Show file tree
Hide file tree
Showing 12 changed files with 7,413 additions and 6 deletions.
12 changes: 6 additions & 6 deletions state_utility/server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions state_utility/web_extension/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
web-ext-artifacts/
8 changes: 8 additions & 0 deletions state_utility/web_extension/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
firefox:
npm run start:firefox

tailwind:
npx tailwindcss -i ./popup/popup.css -o ./popup/output.css --watch

build:
web-ext build
Empty file.
29 changes: 29 additions & 0 deletions state_utility/web_extension/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"manifest_version": 2,
"name": "Mina account state utility",
"version": "0.0.1",
"description": "Check your Mina account via the Mina-Ethereum ZK bridge",
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"background.js"
]
}
],
"browser_action": {
"default_title": "Mina account util",
"default_popup": "popup/popup.html"
},
"permissions": [
"*://*/*"
],
"browser_specific_settings": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "42.0"
}
}
}
Loading

0 comments on commit e9c3a3b

Please sign in to comment.