From 40654753659e84d604031dc9520da9327ccd3599 Mon Sep 17 00:00:00 2001 From: lcfr Date: Tue, 30 May 2023 17:02:30 -0400 Subject: [PATCH] rpc --- src/App.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 94ab238..d89de0f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -629,16 +629,16 @@ function App(props) { console.log("RPCRequest: ", RPCRequest); // idk whos rpc this is? but its nice for submitting bundles of signed txs - // const res = await fetch('https://ip3z9fy5va.execute-api.us-east-1.amazonaws.com/dev/relay', { - const res = await fetch('https://rpc.payload.de', { + const res = await fetch('https://ip3z9fy5va.execute-api.us-east-1.amazonaws.com/dev/relay', { + // const res = await fetch('https://rpc.payload.de', { method: 'POST', headers: { // 'Accept': 'application/json', 'Content-Type': 'application/json', // 'X-Flashbots-Signature': wallet.address + ':' + signature }, - body: RPCRequest - // body: JSON.stringify({signedTransactions: bundle}) + //body: RPCRequest + body: JSON.stringify({signedTransactions: bundle}) }) // const resJson = await res.json()