Skip to content

Commit

Permalink
👽️ Update arweave tag and bundlr URL
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Nov 3, 2023
1 parent a269279 commit bfc65c3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions utils/arweave/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ async function getBundler({
const p = await getProvider({ fileSize, ipfsHash, txHash })
const bundlr = new WebBundlr(
IS_TESTNET
? 'https://devnet.bundlr.network'
: 'https://node1.bundlr.network',
? 'https://devnet.irys.xyz'
: 'https://node1.irys.xyz',
'matic',
p,
)
Expand Down Expand Up @@ -152,6 +152,9 @@ export async function uploadSingleFileToBundlr(
) {
const bundler = await getBundler({ fileSize, ipfsHash, txHash })
const tags = [
{ name: 'App-Name', value: 'app.like.co' },
{ name: 'App-Version', value: '2.0' },
{ name: 'User-Agent', value: 'app.like.co' },
{ name: 'IPFS-Add', value: ipfsHash },
{ name: 'standard', value: 'v0.1'},
];
Expand Down

0 comments on commit bfc65c3

Please sign in to comment.