-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(wallet): refactor buffers to uint8arrays
- Loading branch information
Showing
97 changed files
with
673 additions
and
956 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"manifest_version": 3, | ||
"name": "Pallad", | ||
"description": "Discover the Future of Web3 with Pallad. Unlock the power of the world's lightest blockchain 🪶", | ||
"icons": { | ||
"16": "icons/16.png", | ||
"32": "icons/32.png", | ||
"48": "icons/48.png", | ||
"128": "icons/128.png" | ||
}, | ||
"version": "0.6.0", | ||
"action": { | ||
"default_title": "Click to open panel" | ||
}, | ||
"side_panel": { | ||
"default_path": "index.html" | ||
}, | ||
"permissions": ["storage", "activeTab", "background", "sidePanel"], | ||
"background": { | ||
"service_worker": "src/background/index.ts", | ||
"type": "module" | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"matches": ["https://*/*"], | ||
"js": ["src/inject/index.ts"], | ||
"run_at": "document_start", | ||
"all_frames": true | ||
} | ||
], | ||
"web_accessible_resources": [ | ||
{ | ||
"resources": ["pallad_rpc.js"], | ||
"matches": ["https://*/*"] | ||
} | ||
], | ||
"host_permissions": ["https://*/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { writeJsonFile } from "write-json-file" | ||
import packageJson from "./package.json" with { type: "json" } | ||
|
||
const manifest = { | ||
manifest_version: 3, | ||
name: "Pallad", | ||
description: | ||
"Discover the Future of Web3 with Pallad. Unlock the power of the world's lightest blockchain 🪶", | ||
icons: { | ||
16: "icons/16.png", | ||
32: "icons/32.png", | ||
48: "icons/48.png", | ||
128: "icons/128.png", | ||
}, | ||
version: packageJson.version, | ||
action: { default_title: "Click to open panel" }, | ||
side_panel: { default_path: "index.html" }, | ||
permissions: ["storage", "activeTab", "background", "sidePanel"], | ||
background: { | ||
service_worker: "src/background/index.ts", | ||
type: "module", | ||
}, | ||
content_scripts: [ | ||
{ | ||
matches: ["https://*/*"], | ||
js: ["src/inject/index.ts"], | ||
run_at: "document_start", | ||
all_frames: true, | ||
}, | ||
], | ||
web_accessible_resources: [ | ||
{ | ||
resources: ["pallad_rpc.js"], | ||
matches: ["https://*/*"], | ||
}, | ||
], | ||
host_permissions: ["https://*/*"], | ||
} | ||
|
||
const run = async () => { | ||
await writeJsonFile("manifest.json", manifest) | ||
} | ||
|
||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.