-
Clone the Repository:
-
Clone the repository locally.
git clone [repository_url] cd [repository_directory]
-
-
Install Dependencies:
-
Run the following command to install project dependencies using pnpm.
pnpm i
-
-
Create Smart Wallet Session:
- Open the smart wallet application.
- Sign in and create a session.
- Sign the first popup to set up a JWT token on the gas tank server.
- Sign the second popup for session setup.
-
Retrieve Public Session Data:
-
In the browser console, execute the following command:
localStorage.getItem("YOUR_SMART_WALLET_ADDRESS".toLowerCase() + "_sessions")
-
Copy the output (public session data) and save it in a file named
data.txt
.
-
-
Get Gas Tank Transaction Details:
- Go to the gas tank history and find the URLs for the latest two debit transactions.
- Open each transaction on the network explorer.
- Click "click to see more" and then "decode input data."
- Retrieve the values for
callGasLimit
,verificationGasLimit
,maxFeePerGas
,maxPriorityFeePerGas
, andpaymasterAndData
.
-
Update Index.ts:
- Open the
index.ts
file. - Locate lines 127 to 152 and replace the values with the ones you obtained in the previous step.
- Open the
-
Run the Script:
-
Execute the following command in the terminal:
ts-node -r node-localstorage/register index.ts 'YOUR_EOA_ADDRESS' && rm -rf scratch
Replace
'YOUR_EOA_ADDRESS'
with your Ethereum address. -
-
Notifications
You must be signed in to change notification settings - Fork 0
RageTrade/multichain-hash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published