<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by SIPALING TESTNET on Medium]]></title>
        <description><![CDATA[Stories by SIPALING TESTNET on Medium]]></description>
        <link>https://medium.com/@sptnode?source=rss-17b0ff17a971------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HaM1bW3JvKvUedSnqyeMyQ.png</url>
            <title>Stories by SIPALING TESTNET on Medium</title>
            <link>https://medium.com/@sptnode?source=rss-17b0ff17a971------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:22:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sptnode/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building Decentralized File Storage with x402 Payments and Irys: A Complete Integration Guide]]></title>
            <link>https://medium.com/@sptnode/building-decentralized-file-storage-with-x402-payments-and-irys-a-complete-integration-guide-2329f14b401d?source=rss-17b0ff17a971------2</link>
            <guid isPermaLink="false">https://medium.com/p/2329f14b401d</guid>
            <dc:creator><![CDATA[SIPALING TESTNET]]></dc:creator>
            <pubDate>Fri, 31 Oct 2025 17:37:01 GMT</pubDate>
            <atom:updated>2025-10-31T17:38:58.726Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*us0w44kwOWE78UQKwM79MQ.png" /></figure><h3>System Architecture</h3><p>Our implementation combines three key components:</p><ol><li><strong>React Frontend</strong> User interface with wallet connectivity</li><li><strong>Hono Backend </strong>Server with x402 payment middleware</li><li><strong>Irys SDK </strong>Direct integration for file uploads</li></ol><pre>┌─────────────┐         ┌─────────────┐          ┌─────────────┐<br>│   React     │ ──────▶ │   Hono      │ ──────▶ │   Irys      │<br>│   Client    │         │   Server    │          │   Network   │<br>│             │         │             │          │             │<br>│ • Wallet    │         │ • x402      │          │ • Permanent │<br>│ • x402-     │         │   Middleware│          │   Storage   │<br>│   axios     │         │ • Balance   │          │             │<br>│             │         │   Management│          │             │<br>└─────────────┘         └─────────────┘          └─────────────┘</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vToNCVZf4gaH9y36Y7AcIg.png" /><figcaption>Diagram</figcaption></figure><h3>Project Structure</h3><pre>x402irys/<br>├── client/                 # React frontend<br>│   ├── src/<br>│   │   ├── components/<br>│   │   │   ├── FileUpload.tsx<br>│   │   │   └── Topup.tsx<br>│   │   ├── services/<br>│   │   │   └── api.ts       # x402-axios integration<br>│   │   └── contexts/<br>│   │       └── WalletContext.tsx<br>│   └── package.json<br>└── server/                 # Hono backend<br>    ├── index.ts            # Server entry point<br>    ├── irys.ts             # Irys initialization<br>    ├── middleware.ts       # x402 payment middleware<br>    ├── pricing.ts          # Dynamic pricing calculation<br>    └── routes/<br>        ├── upload.ts       # Upload endpoints<br>        └── topup.ts        # Top-up endpoints</pre><h3>Part 1: Setting Up the Backend with x402</h3><h3>Server Configuration</h3><p>First, we configure our Hono server to accept x402 payments. The configuration includes the facilitator URL, payment address, and network settings.</p><p><strong>File: </strong><strong>server/config.ts</strong></p><pre>import { Network, Resource } from &quot;x402-hono&quot;;</pre><pre>export const facilitatorUrl = process.env.FACILITATOR_URL || <br>  &quot;https://x402.org/facilitator&quot;;<br>export const payTo = process.env.ADDRESS as `0x${string}`;<br>export const network = (process.env.NETWORK as Network) || &quot;base-sepolia&quot;;<br>export const privateKey = process.env.PRIVATE_KEY as string;<br>export const irysNetwork = process.env.IRYS_NETWORK || &quot;devnet&quot;;</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/config.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>x402 Payment Middleware</h3><p>The magic happens in the middleware setup. x402 middleware automatically validates payments for configured endpoints.</p><p><strong>File: </strong><strong>server/middleware.ts</strong></p><pre>import { paymentMiddleware, Network } from &quot;x402-hono&quot;;<br>import { facilitatorUrl, payTo, network } from &quot;./config.js&quot;;</pre><pre>// Create dynamic payment endpoints for topup packages<br>function createTopupEndpoints() {<br>  const packages = loadTopupPackages();<br>  const endpoints: Record&lt;string, { price: string; network: Network }&gt; = {};</pre><pre>  packages.packages.forEach((pkg: any) =&gt; {<br>    const priceFormatted = `$${pkg.price.toFixed(2)}`;<br>    endpoints[`/api/pay/topup/${pkg.id.toLowerCase()}`] = {<br>      price: priceFormatted,<br>      network,<br>    };<br>  });</pre><pre>  return endpoints;<br>}</pre><pre>export function setupPaymentMiddleware(app: Hono) {<br>  app.use(<br>    paymentMiddleware(<br>      payTo,                    // Wallet address to receive payments<br>      dynamicPaymentEndpoints,   // Endpoints that require payment<br>      {<br>        url: facilitatorUrl,     // x402 facilitator URL<br>      },<br>    ),<br>  );<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/middleware.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><p><strong>How it works:</strong></p><ol><li>When a request hits a protected endpoint, x402 middleware checks for payment proof</li><li>If no payment proof exists, it returns 402 Payment Required</li><li>The client’s x402 interceptor handles the payment flow</li><li>After payment, the request is retried with payment proof</li><li>Middleware validates the proof and allows the request through</li></ol><h3>Part 2: Irys Integration</h3><h3>Initializing Irys</h3><p>Irys requires a wallet with ETH to pay for upload fees. We initialize the Irys client on server startup.</p><p><strong>File: </strong><strong>server/irys.ts</strong></p><pre>import Irys from &quot;@irys/sdk&quot;;<br>import { ethers } from &quot;ethers&quot;;<br>import { network, privateKey, irysNetwork } from &quot;./config.js&quot;;</pre><pre>export async function initIrys() {<br>  const providerUrl = network === &quot;base-sepolia&quot; <br>    ? &quot;https://sepolia.base.org&quot; <br>    : &quot;https://mainnet.base.org&quot;;</pre><pre>  const provider = new ethers.JsonRpcProvider(providerUrl);<br>  const wallet = new ethers.Wallet(privateKey, provider);</pre><pre>  const irysUrl = irysNetwork === &quot;mainnet&quot; <br>    ? &quot;https://node1.irys.xyz&quot; <br>    : &quot;https://devnet.irys.xyz&quot;;</pre><pre>  irys = new Irys({<br>    url: irysUrl,<br>    token: &quot;ethereum&quot;,<br>    key: privateKey,<br>    config: {<br>      providerUrl: providerUrl,<br>    },<br>  });</pre><pre>  return irys;<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/irys.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>Dynamic Pricing with Irys</h3><p>We calculate upload prices dynamically based on Irys’s current pricing and add a 5% markup.</p><p><strong>File: </strong><strong>server/pricing.ts</strong></p><pre>import { getIrys } from &quot;./irys.js&quot;;<br>import { getEthPrice } from &quot;./coingecko.js&quot;;</pre><pre>export async function getIrysPrice(fileSizeBytes: number): Promise&lt;number&gt; {<br>  const irys = getIrys();<br>  await irys.ready();</pre><pre>  // Get price from Irys in wei<br>  const priceInWei = await irys.utils.getPrice(&quot;ethereum&quot;, fileSizeBytes);<br>  const priceInEth = Number(ethers.formatEther(priceInWei));</pre><pre>  // Convert to USD using CoinGecko<br>  const ethUsdRate = await getEthPrice();<br>  const priceInUsd = priceInEth * ethUsdRate;</pre><pre>  return priceInUsd;<br>}</pre><pre>export async function calculateUploadPrice(fileSizeBytes: number) {<br>  const irysPrice = await getIrysPrice(fileSizeBytes);<br>  const markupPercent = 0.05; // 5% markup<br>  const finalPrice = irysPrice * (1 + markupPercent);</pre><pre>  return {<br>    finalPrice,<br>    finalPriceFormatted: `$${finalPrice.toFixed(6)}`,<br>    irysPrice,<br>    markupPercent: 5,<br>  };<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/pricing.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>Part 3: Upload Flow with Balance System</h3><h3>Upload Handler</h3><p>Files are uploaded using a balance-based system. Users first top up their balance via x402 payments, then use that balance for uploads.</p><p><strong>File: </strong><strong>server/routes/upload-handler.ts</strong></p><pre>export async function handleUpload(c: any) {<br>  const walletAddress = c.req.header(&quot;X-Wallet-Address&quot;);</pre><pre>  // Parse file from request<br>  const body = await c.req.json();<br>  const fileBuffer = Buffer.from(body.fileData, &#39;base64&#39;);</pre><pre>  // Calculate dynamic price<br>  const priceCalc = await calculateUploadPrice(fileBuffer.length);</pre><pre>  // Check and deduct balance<br>  const currentBalance = getBalance(walletAddress);<br>  if (currentBalance &lt; priceCalc.finalPrice) {<br>    return c.json({ <br>      error: &quot;Insufficient balance&quot; <br>    }, 402);<br>  }</pre><pre>  deductBalance(walletAddress, priceCalc.finalPrice);</pre><pre>  // Upload to Irys<br>  const irys = getIrys();<br>  const uploadTx = await irys.upload(fileBuffer, { <br>    tags: [<br>      { name: &quot;Content-Type&quot;, value: body.fileType },<br>      { name: &quot;FileName&quot;, value: body.fileName },<br>    ]<br>  });</pre><pre>  return c.json({<br>    success: true,<br>    transactionId: uploadTx.id,<br>    url: `https://gateway.irys.xyz/${uploadTx.id}`,<br>  });<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/routes/upload-handler.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>Upload Processing</h3><p>The upload process includes balance validation, Irys upload, and error handling with automatic refunds.</p><p><strong>File: </strong><strong>server/routes/upload-process.ts</strong></p><pre>export async function processUpload(<br>  c: any,<br>  irys: any,<br>  fileBuffer: Buffer,<br>  fileName: string,<br>  contentType: string,<br>  walletAddress: string,<br>  priceCalc: any<br>) {<br>  // Check balance<br>  const currentBalance = getBalance(walletAddress);<br>  if (currentBalance &lt; priceCalc.finalPrice) {<br>    return c.json({ <br>      error: &quot;Insufficient balance&quot; <br>    }, 402);<br>  }</pre><pre>  // Deduct balance before upload<br>  deductBalance(walletAddress, priceCalc.finalPrice);</pre><pre>  try {<br>    // Upload to Irys<br>    const uploadTx = await irys.upload(fileBuffer, {<br>      tags: [<br>        { name: &quot;Content-Type&quot;, value: contentType },<br>        { name: &quot;FileName&quot;, value: fileName },<br>        { name: &quot;Uploader&quot;, value: walletAddress },<br>      ],<br>    });</pre><pre>    // Save file metadata<br>    addUploadedFile({<br>      id: uploadTx.id,<br>      fileName,<br>      uploadedBy: walletAddress,<br>      url: `https://gateway.irys.xyz/${uploadTx.id}`,<br>    });</pre><pre>    return c.json({<br>      success: true,<br>      transactionId: uploadTx.id,<br>      url: `https://gateway.irys.xyz/${uploadTx.id}`,<br>    });<br>  } catch (error) {<br>    // Refund on error<br>    addBalance(walletAddress, priceCalc.finalPrice);<br>    throw error;<br>  }<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/routes/upload-process.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>Part 4: Frontend Integration with x402</h3><h3>x402-Axios Integration</h3><p>The frontend uses x402-axios to automatically handle payment flows for paid endpoints.</p><p><strong>File: </strong><strong>client/src/services/api.ts</strong></p><pre>import axios from &quot;axios&quot;;<br>import { withPaymentInterceptor } from &quot;x402-axios&quot;;<br>import type { WalletClient } from &quot;viem&quot;;</pre><pre>const baseApiClient = axios.create({<br>  baseURL: &quot;http://localhost:3001&quot;,<br>});</pre><pre>// Update API client with wallet for x402 payments<br>export function updateApiClient(walletClient: WalletClient | null) {<br>  if (walletClient?.account) {<br>    // Add x402 payment interceptor<br>    apiClient = withPaymentInterceptor(baseApiClient, walletClient);<br>    console.log(&quot;💳 API client updated with wallet&quot;);<br>  }<br>}</pre><pre>export const api = {<br>  // Top-up endpoint (requires x402 payment)<br>  topupBalance: async (packageId: string) =&gt; {<br>    const response = await apiClient.post(<br>      `/api/pay/topup/${packageId}`, <br>      {}<br>    );<br>    return response.data;<br>  },</pre><pre>  // Upload endpoint (uses balance)<br>  uploadFile: async (file: File) =&gt; {<br>    const arrayBuffer = await file.arrayBuffer();<br>    const base64 = btoa(<br>      new Uint8Array(arrayBuffer).reduce(<br>        (data, byte) =&gt; data + String.fromCharCode(byte),<br>        &#39;&#39;<br>      )<br>    );</pre><pre>    const response = await apiClient.post(&quot;/api/pay/upload&quot;, {<br>      fileName: file.name,<br>      fileData: base64,<br>      fileSize: file.size,<br>      fileType: file.type,<br>    });</pre><pre>    return response.data;<br>  },<br>};</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/client/src/services/api.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><p><strong>How x402-axios works:</strong></p><ol><li>Request hits paid endpoint → Server returns 402 Payment Required</li><li>x402 interceptor intercepts the 402 response</li><li>Shows payment UI automatically</li><li>User approves payment in wallet</li><li>Request is retried with payment proof</li><li>Server validates and processes request</li></ol><h3>File Upload Component</h3><p>The React component handles file selection, price estimation, and upload.</p><p><strong>File: </strong><strong>client/src/components/FileUpload.tsx</strong></p><pre>export function FileUpload({ currentBalance, onUploadSuccess }: FileUploadProps) {<br>  const { walletClient } = useWallet();<br>  const [selectedFile, setSelectedFile] = useState&lt;File | null&gt;(null);<br>  const [priceEstimate, setPriceEstimate] = useState&lt;any&gt;(null);</pre><pre>  const handleFileSelect = async (e: React.ChangeEvent&lt;HTMLInputElement&gt;) =&gt; {<br>    const file = e.target.files?.[0];<br>    if (file) {<br>      setSelectedFile(file);<br>      // Get price estimate<br>      const estimate = await api.getUploadEstimate(file.size);<br>      setPriceEstimate(estimate);<br>    }<br>  };</pre><pre>  const handleUpload = async () =&gt; {<br>    if (!selectedFile || !walletClient?.account) return;</pre><pre>    // Upload file (balance will be deducted)<br>    const result = await api.uploadFile(selectedFile);</pre><pre>    if (result.success) {<br>      onUploadSuccess?.(result);<br>      console.log(&quot;File uploaded:&quot;, result.url);<br>    }<br>  };</pre><pre>  return (<br>    &lt;div className=&quot;file-upload-container&quot;&gt;<br>      &lt;input type=&quot;file&quot; onChange={handleFileSelect} /&gt;<br>      {priceEstimate &amp;&amp; (<br>        &lt;div className=&quot;price-breakdown&quot;&gt;<br>          &lt;p&gt;IRYS Price: ${priceEstimate.irysPrice.toFixed(6)}&lt;/p&gt;<br>          &lt;p&gt;Markup: 5%&lt;/p&gt;<br>          &lt;p&gt;Total: {priceEstimate.finalPrice}&lt;/p&gt;<br>        &lt;/div&gt;<br>      )}<br>      &lt;button onClick={handleUpload} disabled={!selectedFile}&gt;<br>        Upload<br>      &lt;/button&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/client/src/components/FileUpload.tsx"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>Top-Up Component</h3><p>Users can top up their balance using predefined packages via x402 payments.</p><p><strong>File: </strong><strong>client/src/components/Topup.tsx</strong></p><pre>export function Topup() {<br>  const { walletClient } = useWallet();<br>  const [packages, setPackages] = useState&lt;Package[]&gt;([]);</pre><pre>  const handleTopup = async (packageId: string, price: number) =&gt; {<br>    if (!walletClient?.account) return;</pre><pre>    try {<br>      // x402 will handle payment automatically<br>      const result = await api.topupBalance(packageId);</pre><pre>      if (result.success) {<br>        console.log(&quot;Balance added:&quot;, result.newBalance);<br>      }<br>    } catch (err: any) {<br>      // 402 Payment Required is expected - x402 handles it<br>      if (err.response?.status === 402) {<br>        // x402 interceptor will show payment UI<br>        return;<br>      }<br>      // Handle other errors<br>    }<br>  };</pre><pre>  return (<br>    &lt;div className=&quot;topup-container&quot;&gt;<br>      {packages.map((pkg) =&gt; (<br>        &lt;div key={pkg.id} className=&quot;package-card&quot;&gt;<br>          &lt;h3&gt;{pkg.name}&lt;/h3&gt;<br>          &lt;p&gt;${pkg.price.toFixed(2)}&lt;/p&gt;<br>          &lt;button onClick={() =&gt; handleTopup(pkg.id, pkg.price)}&gt;<br>            Top Up ${pkg.price.toFixed(2)}<br>          &lt;/button&gt;<br>        &lt;/div&gt;<br>      ))}<br>    &lt;/div&gt;<br>  );<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/client/src/components/Topup.tsx"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>Step 1: Connect Wallet</h3><pre>// User connects their wallet (Coinbase Wallet, MetaMask, etc.)<br>const walletClient = await connectWallet();<br>updateApiClient(walletClient); // Enable x402 payments</pre><h3>Step 2: Top Up Balance</h3><pre>// User selects a top-up package ($0.10, $0.50, $1.00, etc.)<br>await api.topupBalance(&quot;starter&quot;); // $0.10</pre><pre>// x402 flow:<br>// 1. Request → /api/pay/topup/starter<br>// 2. Server → 402 Payment Required ($0.10)<br>// 3. x402 → Shows payment UI<br>// 4. User → Approves payment<br>// 5. x402 → Retries request with payment proof<br>// 6. Server → Validates payment, adds balance</pre><h3>Step 3: Upload File</h3><pre>// User selects file<br>const file = new File([...], &quot;photo.jpg&quot;);</pre><pre>// Get price estimate<br>const estimate = await api.getUploadEstimate(file.size);<br>// Returns: { finalPrice: &quot;$0.000123&quot;, irysPrice: &quot;$0.000117&quot;, markupPercent: 5 }</pre><pre>// Upload file<br>await api.uploadFile(file);<br>// Balance is automatically deducted</pre><h3>Step 4: Access File</h3><p>After upload, the file is permanently stored on Irys:</p><pre>Transaction ID: abc123...<br>URL: https://gateway.irys.xyz/abc123...</pre><h3>Key Features</h3><h3>1. Balance System</h3><p>Users top up via x402 payments, then use balance for uploads. This reduces transaction fees and improves UX.</p><p><strong>File: </strong><strong>server/storage.ts</strong> - Balance management</p><pre>export function addBalance(walletAddress: string, amount: number) {<br>  const balances = loadBalances();<br>  const address = walletAddress.toLowerCase();<br>  balances[address] = (balances[address] || 0) + amount;<br>  saveBalances(balances);<br>}</pre><pre>export function deductBalance(walletAddress: string, amount: number): boolean {<br>  const balances = loadBalances();<br>  const address = walletAddress.toLowerCase();</pre><pre>  if ((balances[address] || 0) &lt; amount) {<br>    return false;<br>  }</pre><pre>  balances[address] -= amount;<br>  saveBalances(balances);<br>  return true;<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/storage.ts"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>2. Dynamic Pricing</h3><p>Upload prices are calculated dynamically based on:</p><ul><li>File size (bytes)</li><li>Current Irys network fees</li><li>Real-time ETH/USD exchange rate (CoinGecko)</li><li>5% service markup</li></ul><h3>3. Error Handling</h3><p>Automatic refunds if Irys upload fails:</p><ul><li>Balance is refunded if server wallet lacks ETH</li><li>User balance is protected from technical failures</li></ul><h3>Configuration</h3><h3>Environment Variables</h3><p>Create server/.env:</p><pre># x402 Configuration<br>FACILITATOR_URL=https://x402.org/facilitator<br>NETWORK=base-sepolia<br>ADDRESS=0x_YOUR_WALLET_ADDRESS</pre><pre># Irys Configuration<br>PRIVATE_KEY=0x_YOUR_PRIVATE_KEY_FOR_IRYS<br>IRYS_NETWORK=devnet  # or mainnet for production<br>PORT=3001</pre><h3>Top-Up Packages</h3><p>Edit server/topup-packages.json:</p><pre>{<br>  &quot;packages&quot;: [<br>    { &quot;id&quot;: &quot;starter&quot;, &quot;name&quot;: &quot;Starter Pack&quot;, &quot;price&quot;: 0.1 },<br>    { &quot;id&quot;: &quot;basic&quot;, &quot;name&quot;: &quot;Basic Pack&quot;, &quot;price&quot;: 0.5 },<br>    { &quot;id&quot;: &quot;standard&quot;, &quot;name&quot;: &quot;Standard Pack&quot;, &quot;price&quot;: 1.0 },<br>    { &quot;id&quot;: &quot;premium&quot;, &quot;name&quot;: &quot;Premium Pack&quot;, &quot;price&quot;: 5.0 },<br>    { &quot;id&quot;: &quot;ultimate&quot;, &quot;name&quot;: &quot;Ultimate Pack&quot;, &quot;price&quot;: 10.0 }<br>  ]<br>}</pre><blockquote><a href="https://github.com/sipalingtestnet/x402irys/blob/main/server/topup-packages.json"><strong><em>View full file on GitHub</em></strong></a></blockquote><h3>Deployment</h3><h3>Server Requirements</h3><ul><li>Node.js 18+</li><li>ETH in server wallet for Irys upload fees (minimum 0.001 ETH for testing)</li></ul><h3>Client Requirements</h3><ul><li>Base Sepolia USDC for top-up payments (testnet)</li><li>Wallet browser extension (Coinbase Wallet, MetaMask)</li></ul><h3>Benefits of This Architecture</h3><ol><li><strong>Seamless Payments</strong>: x402 handles payment UI automatically</li><li><strong>Cost-Effective</strong>: Dynamic pricing ensures competitive rates</li><li><strong>Permanent Storage</strong>: Files stored forever on Irys blockchain</li><li><strong>User-Friendly</strong>: Balance system reduces friction</li><li><strong>Decentralized</strong>: No single point of failure</li></ol><h3>Use Cases</h3><p>This implementation is perfect for:</p><ul><li><strong>Content Creators</strong>: Permanent storage for media files</li><li><strong>NFT Projects</strong>: Store metadata and images permanently</li><li><strong>DApps</strong>: Host static assets on decentralized storage</li><li><strong>Archival</strong>: Preserve important documents permanently</li></ul><h3>Conclusion</h3><p>Combining x402 with Irys creates a powerful, user-friendly decentralized storage solution. The integration demonstrates how modern payment protocols can seamlessly work with blockchain storage networks.</p><p>Key takeaways:</p><ol><li><strong>x402 simplifies payments</strong> One line of code enables HTTP payment endpoints</li><li><strong>Irys provides permanence</strong> Files stored forever on blockchain</li><li><strong>Dynamic pricing </strong>Fair costs based on actual network fees</li><li><strong>Balance system</strong> Improves UX by batching payments</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2329f14b401d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Decentralized File Uploader on Arbitrum with Irys Network]]></title>
            <link>https://medium.com/@sptnode/building-a-decentralized-file-uploader-on-arbitrum-with-irys-network-6299bf5ef708?source=rss-17b0ff17a971------2</link>
            <guid isPermaLink="false">https://medium.com/p/6299bf5ef708</guid>
            <dc:creator><![CDATA[SIPALING TESTNET]]></dc:creator>
            <pubDate>Sat, 18 Oct 2025 09:22:02 GMT</pubDate>
            <atom:updated>2025-10-18T09:22:02.720Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Complete Tutorial with Next.js, TypeScript, and Auto-Funding Magic ✨</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lPtDtCu1MZKY529XTn1AVw.png" /></figure><p><strong>🔗 Full source code:</strong> <a href="https://github.com/sipalingtestnet/Irys-File-Uploader">github.com/sipalingtestnet/Irys-File-Uploader</a></p><h3>What We’re Building</h3><p>A modern file uploader that:</p><ul><li>📁 Drag &amp; drop files</li><li>🔒 Stores them <strong>permanently</strong> on decentralized storage</li><li>💰 Uses <strong>Arbitrum One</strong> for low gas fees (~$0.01 vs $50+ on Ethereum)</li><li>✨ <strong>Automatically funds</strong> your Irys account when balance is low</li><li>🎨 Has a beautiful UI with real-time price estimation</li></ul><h3>Why This Stack?</h3><h3>Irys Network (formerly Bundlr)</h3><p>Permanent decentralized storage that’s fast and affordable. Once uploaded, your files are accessible forever at <a href="https://gateway.irys.xyz/%7Bid%7D.">https://gateway.irys.xyz/{id}.</a></p><h3>Arbitrum One</h3><p>Ethereum Layer 2 that slashes gas fees by 99%. Perfect for applications that need frequent blockchain interactions.</p><h3>Next.js + TypeScript</h3><p>Modern React framework with built-in TypeScript support for type safety.</p><h3>Prerequisites</h3><p>Before we start, make sure you have:</p><ul><li>Node.js 18+</li><li>MetaMask extension installed</li><li>Some ETH on Arbitrum One (<a href="https://bridge.arbitrum.io/">bridge here</a>)</li></ul><h3>Step 1: Project Setup</h3><p>Let’s start by creating a Next.js project:</p><pre>npx create-next-app@latest irys-uploader --typescript --tailwind<br>cd irys-uploader</pre><p>Install the Irys packages and dependencies:</p><pre>npm install @irys/web-upload @irys/web-upload-ethereum \<br>  @irys/web-upload-ethereum-ethers-v6 ethers@6 react-dropzone</pre><h3>Step 2: Setup TypeScript Types</h3><p>Create types/window.d.ts to tell TypeScript about MetaMask:</p><pre>declare global {<br>  interface Window {<br>    ethereum?: any;<br>  }<br>}</pre><pre>export {};</pre><p>This simple declaration allows us to access window.ethereum without TypeScript errors.</p><h3>Step 3: Build the Irys Client</h3><p>This is the <strong>heart of our application</strong>. Create lib/irys-client.ts:</p><h3>Network Configuration</h3><p>First, let’s define the Arbitrum One network:</p><pre>const ARBITRUM_ONE = {<br>  chainId: &quot;0xa4b1&quot;, // 42161 in hex<br>  chainName: &quot;Arbitrum One&quot;,<br>  nativeCurrency: {<br>    name: &quot;Ether&quot;,<br>    symbol: &quot;ETH&quot;,<br>    decimals: 18,<br>  },<br>  rpcUrls: [&quot;https://arb1.arbitrum.io/rpc&quot;],<br>  blockExplorerUrls: [&quot;https://arbiscan.io&quot;],<br>};</pre><h3>Auto Network Switching</h3><p>Here’s the magic function that automatically switches to Arbitrum One:</p><pre>export async function ensureArbitrumNetwork() {<br>  if (typeof window.ethereum === &quot;undefined&quot;) {<br>    throw new Error(&quot;MetaMask not found&quot;);<br>  }</pre><pre>  const provider = new ethers.BrowserProvider(window.ethereum);<br>  const network = await provider.getNetwork();</pre><pre>  // Check if already on Arbitrum One (chainId: 42161)<br>  if (network.chainId !== 42161n) {<br>    try {<br>      // Try to switch to Arbitrum One<br>      await window.ethereum.request({<br>        method: &quot;wallet_switchEthereumChain&quot;,<br>        params: [{ chainId: ARBITRUM_ONE.chainId }],<br>      });<br>    } catch (switchError: any) {<br>      // Error code 4902 means the network hasn&#39;t been added yet<br>      if (switchError.code === 4902) {<br>        await window.ethereum.request({<br>          method: &quot;wallet_addEthereumChain&quot;,<br>          params: [ARBITRUM_ONE],<br>        });<br>      } else {<br>        throw switchError;<br>      }<br>    }<br>  }<br>}</pre><h3>Connect Wallet Function</h3><pre>export async function connectWallet() {<br>  if (typeof window.ethereum === &quot;undefined&quot;) {<br>    throw new Error(&quot;Please install MetaMask&quot;);<br>  }</pre><pre>  const provider = new ethers.BrowserProvider(window.ethereum);<br>  await provider.send(&quot;eth_requestAccounts&quot;, []);</pre><pre>  // Ensure we&#39;re on Arbitrum One<br>  await ensureArbitrumNetwork();</pre><pre>  const signer = await provider.getSigner();<br>  const address = await signer.getAddress();</pre><pre>  return { provider, signer, address };<br>}</pre><h3>Initialize Irys Uploader</h3><pre>export async function getIrysUploader() {<br>  const provider = new ethers.BrowserProvider(window.ethereum);<br>  await ensureArbitrumNetwork();</pre><pre>  const irysUploader = await WebUploader(WebArbitrum)<br>    .withAdapter(EthersV6Adapter(provider));</pre><pre>  return irysUploader;<br>}</pre><h3>The Star Feature: Auto-Funding Upload</h3><p>This is what makes our app special — <strong>automatic funding</strong>:</p><pre>export async function uploadFileToIrys(file: File) {<br>  const irys = await getIrysUploader();</pre><pre>  // Get price for this file<br>  const price = await irys.getPrice(file.size);<br>  console.log(`Upload price: ${ethers.formatEther(price)} ETH`);</pre><pre>  // Check current balance<br>  const balance = await irys.getLoadedBalance();</pre><pre>  const priceBigInt = BigInt(price.toString());<br>  const balanceBigInt = BigInt(balance.toString());</pre><pre>  // 🎯 Auto-funding magic happens here!<br>  if (balanceBigInt &lt; priceBigInt) {<br>    const amountToFund = priceBigInt - balanceBigInt;</pre><pre>    // Add 20% buffer for safety<br>    const fundAmount = (amountToFund * BigInt(120)) / BigInt(100);</pre><pre>    console.log(`Insufficient balance! Funding ${ethers.formatEther(fundAmount)} ETH...`);</pre><pre>    const fundTx = await irys.fund(fundAmount);<br>    console.log(&quot;✅ Funding successful!&quot;);<br>  }</pre><pre>  // Add Content-Type tag<br>  const tags = [{ name: &quot;Content-Type&quot;, value: file.type }];</pre><pre>  // Upload the file<br>  const receipt = await irys.uploadFile(file, { tags });</pre><pre>  // Return the permanent URL<br>  return {<br>    id: receipt.id,<br>    timestamp: receipt.timestamp,<br>    url: `https://gateway.irys.xyz/${receipt.id}`,<br>  };<br>}</pre><p><strong>What makes this special?</strong> Users never have to manually fund their Irys account. The app checks the balance, calculates what’s needed, and automatically adds funds with a 20% buffer. Smooth UX! 🚀</p><h3>Step 4: Build the UI Components</h3><h3>Main Upload Component</h3><p>Create components/FileUploader/index.tsx:</p><pre>import { useState, useCallback } from &quot;react&quot;;<br>import { connectWallet, uploadFileToIrys } from &quot;@/lib/irys-client&quot;;</pre><pre>export default function FileUploader() {<br>  const [walletAddress, setWalletAddress] = useState&lt;string&gt;(&quot;&quot;);<br>  const [file, setFile] = useState&lt;File | null&gt;(null);<br>  const [uploading, setUploading] = useState(false);<br>  const [uploadedFile, setUploadedFile] = useState&lt;any&gt;(null);<br>  const [error, setError] = useState&lt;string&gt;(&quot;&quot;);</pre><pre>  // Connect wallet handler<br>  const handleConnectWallet = async () =&gt; {<br>    try {<br>      setError(&quot;&quot;);<br>      const { address } = await connectWallet();<br>      setWalletAddress(address);<br>    } catch (err: any) {<br>      setError(err.message || &quot;Failed to connect wallet&quot;);<br>    }<br>  };</pre><pre>  // Upload handler<br>  const handleUpload = async () =&gt; {<br>    if (!file) return;</pre><pre>    setUploading(true);<br>    setError(&quot;&quot;);</pre><pre>    try {<br>      const result = await uploadFileToIrys(file);</pre><pre>      setUploadedFile({<br>        id: result.id,<br>        url: result.url,<br>        name: file.name,<br>        size: file.size,<br>        type: file.type,<br>      });</pre><pre>      setFile(null);<br>    } catch (err: any) {<br>      setError(err.message || &quot;Upload failed&quot;);<br>    } finally {<br>      setUploading(false);<br>    }<br>  };</pre><pre>  return (<br>    &lt;div className=&quot;max-w-2xl mx-auto p-6&quot;&gt;<br>      {!walletAddress ? (<br>        &lt;button <br>          onClick={handleConnectWallet}<br>          className=&quot;btn btn-primary&quot;<br>        &gt;<br>          Connect Wallet<br>        &lt;/button&gt;<br>      ) : (<br>        &lt;div&gt;<br>          &lt;p&gt;Connected: {walletAddress.slice(0, 6)}...{walletAddress.slice(-4)}&lt;/p&gt;<br>          {/* Upload area, modal, etc. */}<br>        &lt;/div&gt;<br>      )}</pre><pre>      {error &amp;&amp; &lt;div className=&quot;error&quot;&gt;{error}&lt;/div&gt;}<br>    &lt;/div&gt;<br>  );<br>}</pre><h3>Drag &amp; Drop Area</h3><p>Create components/FileUploader/UploadArea.tsx:</p><pre>import { useDropzone } from &quot;react-dropzone&quot;;</pre><pre>export default function UploadArea({ onDrop }: { onDrop: (files: File[]) =&gt; void }) {<br>  const { getRootProps, getInputProps, isDragActive } = useDropzone({<br>    onDrop,<br>    maxFiles: 1,<br>  });</pre><pre>  return (<br>    &lt;div<br>      {...getRootProps()}<br>      className={`border-2 border-dashed rounded-lg p-12 text-center cursor-pointer<br>        ${isDragActive ? &#39;border-blue-500 bg-blue-50&#39; : &#39;border-gray-300&#39;}`}<br>    &gt;<br>      &lt;input {...getInputProps()} /&gt;<br>      {isDragActive ? (<br>        &lt;p&gt;Drop the file here...&lt;/p&gt;<br>      ) : (<br>        &lt;div&gt;<br>          &lt;p&gt;Drag &amp; drop a file here, or click to select&lt;/p&gt;<br>          &lt;p className=&quot;text-sm text-gray-500&quot;&gt;Any file type supported&lt;/p&gt;<br>        &lt;/div&gt;<br>      )}<br>    &lt;/div&gt;<br>  );<br>}</pre><h3>Step 5: Create the Homepage</h3><p>Update pages/index.tsx:</p><pre>import FileUploader from &quot;@/components/FileUploader&quot;;</pre><pre>export default function Home() {<br>  return (<br>    &lt;div className=&quot;min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100&quot;&gt;<br>      &lt;div className=&quot;container mx-auto px-4 py-12&quot;&gt;<br>        &lt;h1 className=&quot;text-4xl font-bold text-center mb-8&quot;&gt;<br>          Irys File Uploader<br>        &lt;/h1&gt;<br>        &lt;p className=&quot;text-center text-gray-600 mb-12&quot;&gt;<br>          Upload files to permanent decentralized storage on Arbitrum One<br>        &lt;/p&gt;</pre><pre>        &lt;FileUploader /&gt;<br>      &lt;/div&gt;<br>    &lt;/div&gt;<br>  );<br>}</pre><h3>Step 6: Run Your App</h3><pre>npm run dev</pre><p>Open <a href="http://localhost:3000/">http://localhost:3000</a> and test it out!</p><h3>How It Works: The Upload Flow</h3><ol><li><strong>User clicks “Connect Wallet”</strong> → MetaMask popup appears</li><li><strong>App checks network</strong> → If not Arbitrum One, automatically switches</li><li><strong>User selects file</strong> → Drag &amp; drop or click to upload</li><li><strong>App calculates price</strong> → Shows real-time cost in ETH and USD</li><li><strong>User confirms upload</strong> → Clicks “Upload to Irys”</li><li><strong>Auto-funding magic</strong> → If balance low, app automatically adds funds</li><li><strong>File uploads</strong> → Progress indicator shows status</li><li><strong>Success!</strong> → User gets permanent URL: <a href="https://gateway.irys.xyz/%7Bid%7D">https://gateway.irys.xyz/{id}</a></li></ol><h3>Why Arbitrum One?</h3><p>Let me show you a real comparison:</p><p>NetworkGas FeeTransaction TimeCost for 1MB UploadEthereum Mainnet~$5015 seconds~$50–100<strong>Arbitrum One~$0.012–3 seconds~$0.50</strong></p><p>That’s a <strong>99% cost reduction</strong>! 🤯</p><p>Plus:</p><ul><li>✅ Ethereum-compatible (use same tools: Ethers.js, MetaMask)</li><li>✅ Fast finality (2–3 seconds)</li><li>✅ Secure (backed by Ethereum L1)</li></ul><h3>Key Learnings</h3><h3>1. Auto-Funding Pattern</h3><p>The auto-funding feature is what makes this app production-ready. Users don’t need to:</p><ul><li>Understand what Irys is</li><li>Manually fund their account</li><li>Calculate how much to fund</li></ul><p>The app handles everything automatically!</p><h3>2. Network Switching</h3><p>Automatically switching networks saves users from:</p><ul><li>Manual network configuration</li><li>Getting confused about which network to use</li><li>Failed transactions on wrong network</li></ul><h3>3. Error Handling</h3><p>Always handle these MetaMask errors:</p><ul><li>ACTION_REJECTED (code 4001) - User rejected signature</li><li>Network switch failures</li><li>Insufficient balance</li></ul><h3>Troubleshooting Common Issues</h3><h3>“Wallet not found”</h3><p>Install MetaMask: <a href="https://metamask.io/">metamask.io</a></p><h3>“Failed to switch to Arbitrum One”</h3><p>The app will try to add the network automatically. If it fails, add manually:</p><ul><li>Network Name: Arbitrum One</li><li>RPC URL: <a href="https://arb1.arbitrum.io/rpc">https://arb1.arbitrum.io/rpc</a></li><li>Chain ID: 42161</li><li>Currency Symbol: ETH</li><li>Block Explorer: <a href="https://arbiscan.io/">https://arbiscan.io</a></li></ul><h3>“Insufficient balance”</h3><p>You need ETH on Arbitrum One:</p><ol><li>Go to <a href="https://bridge.arbitrum.io/">bridge.arbitrum.io</a></li><li>Bridge ETH from Ethereum mainnet</li><li>Wait 10–15 minutes for bridging to complete</li></ol><h3>What’s Next?</h3><p>Want to extend this app? Here are some ideas:</p><ul><li>📊 <strong>Upload history</strong> — Show all files user has uploaded</li><li>🔐 <strong>File encryption</strong> — Encrypt files before uploading</li><li>📁 <strong>Multiple files</strong> — Upload multiple files at once</li><li>🖼️ <strong>Image preview</strong> — Show image thumbnails for uploaded images</li><li>🔍 <strong>File search</strong> — Search through uploaded files</li><li>📱 <strong>Mobile responsive</strong> — Optimize for mobile devices</li></ul><h3>Deployment</h3><p>Ready to deploy? Here are some options:</p><h3>Vercel (Easiest)</h3><pre>npm install -g vercel<br>vercel</pre><h3>Netlify</h3><pre>npm run build<br># Upload &#39;out&#39; folder to Netlify</pre><h3>Your own server</h3><pre>npm run build<br>npm start</pre><h3>Final Thoughts</h3><p>Building Web3 apps doesn’t have to be complicated. By choosing the right stack:</p><ul><li><strong>Irys</strong> for permanent storage</li><li><strong>Arbitrum</strong> for low fees</li><li><strong>Next.js</strong> for modern UI</li></ul><p>You can create production-ready decentralized applications that users actually enjoy using.</p><p>The auto-funding feature is key — it removes the complexity and makes Web3 feel like Web2 to users. That’s the future! 🚀</p><h3>Resources</h3><ul><li><strong>Full Source Code</strong>: <a href="https://github.com/sipalingtestnet/Irys-File-Uploader">github.com/sipalingtestnet/Irys-File-Uploader</a></li><li><strong>Irys Docs</strong>: <a href="https://docs.irys.xyz/">docs.irys.xyz</a></li><li><strong>Arbitrum Docs</strong>: <a href="https://docs.arbitrum.io/">docs.arbitrum.io</a></li><li><strong>Ethers.js Docs</strong>: <a href="https://docs.ethers.org/">docs.ethers.org</a></li></ul><h3>Let’s Connect!</h3><p>If you found this tutorial helpful:</p><ul><li>⭐ <strong>Star the repo</strong> on GitHub</li><li>💬 <strong>Leave a comment</strong> with your questions</li><li>🐦 <strong>Share on Twitter</strong> with #Web3 #BuildInPubl</li></ul><p>Want to see more Web3 tutorials? Follow me for more content like this!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6299bf5ef708" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to join the Sipaling Testnet experiment at dymension]]></title>
            <link>https://medium.com/@sptnode/how-to-join-the-sipaling-testnet-experiment-at-dymension-2a8b899f3b3c?source=rss-17b0ff17a971------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a8b899f3b3c</guid>
            <category><![CDATA[dymension]]></category>
            <dc:creator><![CDATA[SIPALING TESTNET]]></dc:creator>
            <pubDate>Sun, 10 Dec 2023 17:27:37 GMT</pubDate>
            <atom:updated>2023-12-10T17:27:37.854Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WD6EXoh6PXI9K7-viJLusA.jpeg" /><figcaption>Dex SPT in dymension</figcaption></figure><p>Joining Dymension’s Sipaling Testnet allows you to experience fast and easy transactions. With the infrastructure provided, you can easily perform digital asset transactions, transfer funds, and execute smart contracts at high speed, giving you instant access and efficient use in the ecosystem being developed by Sipaling Testnet at <a href="https://medium.com/u/4fa1bf07d852">Dymension</a></p><h3>1. Add chain sipaling testnet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*7nqptoj5NjUNrSEuoNHEzA.png" /><figcaption>Chain Sipaling Testnet</figcaption></figure><blockquote><strong>Network name : </strong>SIPALING TESTNET<br><strong>RPC</strong> : <a href="https://rpcevm.dymension.sipalingtestnet.com/">https://rpcevm.dymension.sipalingtestnet.com/</a><br><strong>Chain ID</strong> : 6936708<br><strong>Currency</strong>: SPT<br><strong>Explorer</strong> : <a href="https://explorer.dymension.sipalingtestnet.com/block/474">https://explorer.dymension.sipalingtestnet.com/</a></blockquote><h3><strong>2. </strong>Interaction with Faucet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RP_tX_q1xpHWMOSuGykneg.png" /><figcaption>Faucet SPT</figcaption></figure><p>After adding your network in metamask you can proceed to retrieve the faucet (test token). <br><strong>Link</strong> :<a href="https://faucet.dymension.sipalingtestnet.com/">https://faucet.dymension.sipalingtestnet.com/</a></p><h3>3. Interaction with Dex</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WD6EXoh6PXI9K7-viJLusA.jpeg" /><figcaption>Dex SPT</figcaption></figure><p>After taking the test token you can do simple transactions by wrapping your token in dex as of now the dex function can only wrap and unrwap for asset exchange will be added when I have free time.<br><strong>Link</strong> :<a href="https://swap.dymension.sipalingtestnet.com/#/swap">https://swap.dymension.sipalingtestnet.com/#/swap</a></p><h3>4. Interaction with Indonesian presidential election expreriment dapps</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4cPgp4DowO5TuY9US22EXQ.png" /><figcaption>Voting dapps</figcaption></figure><p>This presidential election DApps was specially created for experiments using blockchain technology. Through the use of blockchain, presidential elections can become more transparent, secure, and decentralized.<br><strong>Link</strong> :<a href="https://swap.dymension.sipalingtestnet.com/#/swap">https://vote.dymension.sipalingtestnet.com</a>/<strong><br>Guide</strong>:<a href="https://medium.com/@sptnode/how-to-join-the-presidential-election-experiment-through-rollapps-dymension-e5052e254147">https://medium.com/@sptnode/how-to-join-the-presidential-election-experiment-through-rollapps-dymension-e5052e254147</a></p><p>In conclusion, by joining Dymension’s Sipaling Testnet experiment, you have the opportunity to be directly involved in the exploration of cutting-edge decentralized technologies. This experiment allows you to actively participate in testing and shaping the future of the Dymension ecosystem. Take advantage of this unique opportunity to experience the benefits of Testnet, contribute to its development, and pave the way for an era of secure, efficient, and innovative solutions. Join Sipaling Testnet now and become a pioneer in shaping the decentralized landscape of the future.</p><p><a href="http://t.me/ssipalingtestnet">Telegram Channel</a> | <a href="http://t.me/diskusisipalingairdrop">Telegram Diskusi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a8b899f3b3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to join the presidential election experiment through Rollapps Dymension]]></title>
            <link>https://medium.com/@sptnode/how-to-join-the-presidential-election-experiment-through-rollapps-dymension-e5052e254147?source=rss-17b0ff17a971------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5052e254147</guid>
            <category><![CDATA[testnet]]></category>
            <category><![CDATA[dymension]]></category>
            <dc:creator><![CDATA[SIPALING TESTNET]]></dc:creator>
            <pubDate>Wed, 06 Dec 2023 21:19:28 GMT</pubDate>
            <atom:updated>2023-12-07T06:42:44.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mygFjPe2Sb9p9OFvcmFF6A.png" /><figcaption>Indonesia President Contestants 2024</figcaption></figure><p>Welcome to the Presidential Election experiment through Rollapps Dymension! We are very excited to involve you in this innovative democratic process. With Rollapps Dymension, you have the opportunity to directly participate in choosing the country’s leader in this experiment.</p><ol><li><strong>First step open your metamask then add the Sipaling Testnet network</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*eYeLwzri4vraS3tJmRYpEg.png" /><figcaption>Chain Sipaling Testnet</figcaption></figure><p>Network name : SIPALING TESTNET<br>Rpc : <a href="http://159.65.130.45:8545/">http://159.65.130.45:8545/</a><br>Chain id : 2735051<br>Currency : SPT<br>Explorer : <a href="https://explorer.dymension.sipalingtestnet.com/">https://explorer.dymension.sipalingtestnet.com/</a></p><p><strong>2. Second step grab the faucet to make a transaction</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5WuvZH_kX5MpsV-D2Ud9YA.png" /><figcaption>Faucet Sipaling Testnet</figcaption></figure><p><a href="https://faucet.dymension.sipalingtestnet.com/">https://faucet.dymension.sipalingtestnet.com/</a></p><p><strong>3. The third step logs into dapps to make the selection</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*klcmlNN90zCetVSbeSHB_g.png" /><figcaption>Voting List</figcaption></figure><p>*Dont miss to connect your wallet and enter <br><a href="https://vote.dymension.sipalingtestnet.com/polls/2">https://vote.dymension.sipalingtestnet.com/</a></p><p><strong>4. Step four vote for your favorite presidential candidate by pressing vote</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NRIXFIeJn5oxdl2XDvhzwQ.png" /></figure><p>Press vote and then approve the transaction in metamask and your chosen president’s points will be added.</p><p>Thank you for reading my post, and I am very happy that you have tried the experiment DApps to conduct the presidential election.</p><p><a href="http://t.me/ssipalingtestnet">Telegram Channel</a> | <a href="http://t.me/diskusisipalingairdrop">Telegram Diskusi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5052e254147" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NAMADA — INDONESIA]]></title>
            <link>https://medium.com/@sptnode/namada-indonesia-f46ec7e8121e?source=rss-17b0ff17a971------2</link>
            <guid isPermaLink="false">https://medium.com/p/f46ec7e8121e</guid>
            <category><![CDATA[namada]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[namada-community]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[SIPALING TESTNET]]></dc:creator>
            <pubDate>Sun, 12 Nov 2023 15:35:58 GMT</pubDate>
            <atom:updated>2023-11-12T15:35:58.975Z</atom:updated>
            <content:encoded><![CDATA[<h3>NAMADA — INDONESIA</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xR2GcY9BjkJyeklEpNB2lw.png" /></figure><p>NAMADA adalah solusi blockchain Lapisan 1 yang menawarkan privasi multirantai dan memungkinkan pengguna menerapkan lapisan privasi pada aset digital dan aplikasi terdesentralisasi.</p><p>NAMADA Menawarkan berbagai fitur dan layanan, Namada memanfaatkan Cosmos Software Development Kit (SDK) untuk menyediakan lingkungan yang aman karena namada mengutamakan privasi pengguna. Dengan menggunakan teknologi inovatif, berikut adalah beberapa hal yang ditawarkan oleh Namada:</p><p><strong>1. Namada’s Unified Shielded Set (USS)<br></strong>Unified Shielded Set (USS) adalah fitur utama dalam solusi privasi modular NAMADA yang memungkinkan privasi yang terpadu dan melintasi berbagai aset di dalam sistem terdesentralisasi. USS menggunakan Multi-Asset Shielded Pool (MASP) untuk menampung berbagai jenis aset secara agnostik. Dengan USS, pengguna dapat memperoleh privasi yang kuat dan melintasi jaringan blockchain yang berbeda.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*twsJjExyBtxjVLAqm5qfQQ.jpeg" /><figcaption>Gambar 1: Melindungi token dari rantai transparan berkemampuan IBC</figcaption></figure><p><strong>2. </strong>Shielded Actions<br>Shielded Actions (SA) adalah fitur Namada yang memungkinkan pengguna untuk melakukan transaksi dan tindakan kompleks secara pribadi melalui Unified Shielded Set (USS), menjaga privasi mereka saat berinteraksi dengan berbagai jaringan blockchain dan aplikasi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dN9w05Jiswp_nEnaX81akQ.jpeg" /><figcaption><em>Gambar 2: Interaksi yang mendukung privasi pada rantai transparan melalui USS dan SA Namada</em></figcaption></figure><p>Seperti yang kita lihat diagram di atas menjelaskan user A menggunakan NAMADA USS+SA untuk swap atau jual beli nft maka user A akan mendapatkan fitur privasi dari namada jadi namada tidak hanya membuat aset kita terlindungi tetapi aktivitas transaksi kita juga terlindungi dengan privasi.</p><p><strong>Penutup</strong><br>Dengan solusi blockchain Lapisan 1 yang inovatif, NAMADA memberikan privasi multirantai yang unggul dan memungkinkan pengguna menerapkan lapisan privasi pada aset digital dan aplikasi terdesentralisasi. Melalui fitur-fitur seperti Unified Shielded Set (USS) dan Shielded Actions (SA), NAMADA memberikan pengguna keamanan dan privasi yang kuat saat berinteraksi dengan berbagai jaringan blockchain. Dengan NAMADA, privasi Anda terjaga baik untuk aset Anda maupun aktivitas transaksi Anda.</p><p><strong>Mari bergabung dalam revolusi privasi blockchain dengan NAMADA dan tingkatkan keamanan serta privasi dalam ekosistem blockchain.</strong></p><p><a href="https://namada.net/">Website </a>| <a href="https://twitter.com/namada">Twitter </a>| <a href="https://discord.com/invite/namada">Discord</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f46ec7e8121e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>