Skip to content

Commit

Permalink
rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
lcfr-eth committed May 30, 2023
1 parent 4912641 commit 4065475
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

1 comment on commit 4065475

@vercel
Copy link

@vercel vercel bot commented on 4065475 May 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.