Chrome extension for fee-based transaction prioritization on Cardano, ensuring fairness.
Cardano Priority Wallet Extension
The primary function of the wallet lies in its role as an intermediary between transactions processed through a Cardano decentralized application (DApp) and the user's Cardano wallet. Typically, these transactions are executed with fixed execution-units, leading to higher costs in cases where a smaller execution unit will suffice. However, the intercepted transaction undergoes thorough analysis, with a focus on optimizing its execution units. In terms of fees, a slight increment is applied to enhance the likelihood of miners on the Cardano blockchain prioritizing its mining. This is achieved by adding an extra output based on the selected network and balancing the transaction. Traditionally, transactions with higher fees tend to be larger in scale. Nonetheless, by utilizing this priority wallet, even smaller transactions can feature fees substantial enough to garner faster attention from miners. It's important to note that this wallet doesn't involve a seed phrase for generating public and private keys; rather, it functions as a means to expedite the confirmation process of user transactions within the Cardano blockchain.
Additionally, the extension enhances usability and user experience by fetching and displaying the wallets they have installed in their browser, allowing for swift wallet selection. Favicon of the visited website is displayed when activated. This visual indicator helps users confirm their selection of the preferred wallet from the intended website, making the process more intuitive and visually recognizable.
The extension supports six popular Cardano wallet extensions: Nami, Eternl, Flint, Yoroi, Typhon, and Lace. Users can choose their preferred wallet extension for executing transactions. Additionally, the extension is compatible with the Cardano mainnet and two testnets (preprod and preview), with these selections stored in the user's main browser's localStorage.
Based on the user's choices, the extension can generate an updated and balanced transaction specific to the selected wallet and network. If the user selects a Cardano wallet extension that is not installed in their browser or if there is a network mismatch between the priority wallet extension and the selected cardano wallet extension, an error will be thrown indicating the reason for the issue.
To optimize the transaction, the extension makes three specific API calls. Firstly, it adds an extra payment to the original transaction and balances it. Then, it calls the first API to determine the exact fee required for the transaction. If the transaction includes execution unit fields (which indicate the CPU and memory usage required for execution), the extension makes a second API call to calculate the updated execution units after adding the extra payment. Finally, it balances the new transaction with the updated fee and execution units, and the third API call is made to submit the transaction.
This browser extension is suitable for both casual users and developers engaged in creating Cardano-based decentralized applications. For developers, it streamlines the process of conducting on-chain tests for smart contracts, facilitating faster iterations and debugging. Meanwhile, general users can take advantage of quicker transaction confirmations in various scenarios such as blockchain auctions or NFT purchases, enhancing their overall experience with Cardano-based applications.
Source Manifest.json
"update_url": "https://clients2.google.com/service/update2/crx",
"description":"Chrome extension for fee-based transaction prioritization on Cardano, ensuring fairness.",
"version":"0.1.0",
"manifest_version":3,
"name":"Cardano Priority Wallet",
"background":{"service_worker":"background.bundle.js"},
"action":{"default_popup":"mainPopup.html",
"default_icon":"icon-34.png"},
"icons":{"128":"icon-128.png"},
"content_scripts":[{"matches":["http://*/*",
"https://*/*",
"
"js":["contentScript.bundle.js"],
"run_at":"document_start"}],
"web_accessible_resources":[{"resources":["icon-128.png",
"icon-34.png",
"injected.bundle.js",
"internalPopup.html"],
"matches":["http://*/*",
"https://*/*",
"file://*/*"]}],
"content_security_policy":{"extension_pages":"script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"},
"permissions":["storage",
"favicon"]}
Similar Extensions
Eternl Beta 54 1 ★ 18.28MiB
Oppwiser - Find Your Next ICP with One Click 54 1 ★ 1.85MiB
NovuloTraceFormatter 54 2 ★ 201KiB
GA4 annotations Test 54 4 ★ 38.46KiB
Agfa JIRA 54 2 ★ 22.96KiB
Quick Image Saving via CSS Selector 54 1 ★ 9.33MiB
Offline Pass 54 1 ★ 1.3MiB
GlobalLink GO OnPage Editor 54 0 ★ 324KiB
Chrome Templates 54 1 ★ 72.55KiB
Pulse Extension 54 2 ★ 289KiB
U BIRTHDAY 54 0 ★ 1.47MiB
Donoclip Modtools 54 1 ★ 16.4KiB
Taxlienfinder 54 1 ★ 91.37KiB
my-nft-tracker 54 0 ★ 36.94KiB
VCU - The Co-Browsing Network 54 0 ★ 998KiB
EQ Hub Wallet 54 1 ★ 3.81MiB
SyncMate by Assistro 54 6 ★ 1.21MiB
Propmarker Browser Extension 54 0 ★ 89.88KiB
Begin - Cardano Wallet by B58 54 10 ★ 16.41MiB
Btrace from AML Crypto 54 6 ★ 64.44KiB
AuthentiSci 54 0 ★ 160KiB
LeadhuntAI - Chrome Extension 54 12 ★ 845KiB
Better Twitter 54 4 ★ 30.66KiB
LodeWallet 54 0 ★ 8.11MiB