{"repo":"AKAME007/quark-scripts","free":true,"listed":false,"github":"https://github.com/AKAME007/quark-scripts","clone":"git clone https://github.com/AKAME007/quark-scripts.git","description":"Quarkスクリプトは、Quarkウォレットのコンテキストで実行されるカスタムコードです。","language":"Solidity","stars":11,"topics":["shell","solidity"],"license":"BSD-3-Clause","category":"blockchain-web3","readme_excerpt":"Quark Scripts Overview Quark is an Ethereum smart contract wallet system, designed to run custom code — termed Quark Operations — with each transaction. Quark scripts are the custom code that run in the context of a Quark wallet. Scripts are versatile and allow Quark wallets to execute any arbitrary code, which can enable use-cases such as flashloaning and repaying a borrow in a single transaction. Quark Script Features Replayable Scripts Replayable scripts are Quark scripts that can re-executed multiple times using the same signature of a Quark operation . More specifically, replayable scripts explicitly clear the nonce used by the transaction (can be done via the allowReplay helper function in QuarkScript.sol ) to allow for the same nonce to be re-used with the same script address. An example use-case for replayable scripts is recurring purchases. If a user wanted to buy X WETH using 1,000 USDC every Wednesday until 10,000 USDC is spent, they can achieve this by signing a single Quark operation of a replayable script (example). A submitter can then submit this same signed Quark operation every Wednesday to execute the recurring purchase. The replayable script should have checks to ensure conditions are met before purchasing the WETH. Same script address, but different calldata For replayable transactions where the nonce is cleared, Quark State Manager requires future transactions using that nonce to use the same script. This is to ensure that the same nonce is not accidenta","default_branch":null,"files":null,"tree":[],"storefront":"/r/AKAME007","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AKAME007/quark-scripts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}