PageSourceSearch

https://layerswap.io/_next/static/chunks/pages/transfer/starknet_usdc-59cdc4ec8b28771f.js

js layerswap.io collected 2026-09-25 19:13:55 UTC 11,782 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[740],{2993:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var a=r(7876),n=r(5652),i=r(4495),s=r(3804),o=r(2503),l=r(7654),d=r(8230),c=r.n(d),p=r(5844),h=r(7798),u=r(8474);let m=(0,r(8358).A)("SquareStack",[["path",{d:"M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"4i38lg"}],["path",{d:"M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"mlte4a"}],["rect",{width:"8",height:"8",x:"14",y:"14",rx:"2",key:"1fa9i4"}]]);var f=r(9998),w=r(4462),x=r(8815);let y=()=>{let e=[{question:(0,a.jsx)("span",{children:"What is the difference between USDC.e and native USDC on Starknet? "}),answer:(0,a.jsxs)("span",{children:[(0,a.jsx)(c(),{href:"https://www.circle.com/blog/native-usdc-cctp-v2-are-coming-to-starknet-what-you-need-to-know#:~:text=Bridged%20vs.%20Native%20USDC",target:"_blank",className:"text-primary underline decoration-primary hover:no-underline",children:"USDC.e is the bridged version of USDC."})," Starknet currently supports bridged USDC (USDC.e), which comes from Ethereum via StarkGate. Native USDC is issued by ",(0,a.jsx)(c(),{href:"https://www.circle.com/usdc",target:"_blank",className:"text-primary underline decoration-primary hover:no-underline",children:"Circle"}),", providing stronger security and lower risk."]})},{question:(0,a.jsx)("span",{children:"Is the migration happening immediately?"}),answer:(0,a.jsx)("span",{children:"No. The migration is gradual. Both versions will continue to exist for some time while apps and liquidity providers transition to native USDC. Bridged USDC will remain labeled as “USDC.e” in block explorers, app interfaces, and documentation."})},{question:(0,a.jsx)("span",{children:"Can I bridge USDC.e from Starknet to other chains?"}),answer:(0,a.jsxs)("span",{children:["Yes, with Layerswap you can send USDC.e from ",(0,a.jsx)(c(),{href:"https://www.starknet.io/",target:"_blank",className:"text-primary underline decoration-primary hover:no-underline",children:"Starknet"})," and get other forms of USDC including native USDC on other chains."]})},{question:(0,a.jsx)("span",{children:"Can I swap USDC.e for other assets?"}),answer:(0,a.jsx)("span",{children:"Yes, you can swap USDC.e for other assets. Easily swap USDC.e on Starknet to other tokens (e.g: USDT, DAI, USDC, ETH) on other chains. For example, bridge USDC.e from Starknet to DAI on Arbitrum One."})}],t={header:"Why is Layerswap the most optimal way for swapping your bridged USDC",perks:[{name:"Minimal Fees and Fast Transfers",icon:(0,a.jsx)(h.A,{className:"h-9 w-9"}),description:"Layerswap is the most affordable and efficient way to bridge or swap your assets within seconds."},{name:"Simple Experience",icon:(0,a.jsx)(u.A,{className:"h-9 w-9"}),description:"Swap your USDC.e to USDC on Starknet with just a few clicks. Layerswap is committed to providing the most intuitive UX for asset swapping and bridging."},{name:"Multiple swap options",icon:(0,a.jsx)(m,{className:"h-9 w-9"}),description:"Swap your USDC.e on Starknet to USDC or other tokens on any supported network."},{name:"Dedicated Assistance",icon:(0,a.jsx)(f.A,{className:"h-9 w-9"}),description:(0,a.jsxs)("span",{children:["Need guidance? Our team is ",(0,a.jsx)(c(),{href:"https://layerswap.io/help",target:"_blank",className:"text-primary underline decoration-primary hover:no-underline",children:"here"})," to assist you with any questions or issues throughout the migration process."]})}]};return(0,a.jsxs)(l.x,{children:[(0,a.jsx)(l.x.Header,{children:(0,a.jsx)(s.A,{title:(0,a.jsxs)("span",{children:["Swap USDC.e to USDC on ",(0,a.jsx)("span",{className:"underline decoration-primary",children:"Starknet"})]})})}),(0,a.jsxs)(l.x.Content,{children:[(0,a.jsx)(w.A,{benefits:t}),(0,a.jsx)(x.A,{howItWorks:{header:"3 Simple Steps to Swap Bridged USDC to Native USDC on Straknet",firstStep:"Fill in the transfer details: USDC.e amount, destination token and address",secondStep:"Connect your Starknet-compatible wallet (Ready, Braavos, Keplr) to Layerswap",thirdStep:"Click “Send from wallet” to initiate the transfer"}}),(0,a.jsx)(p.A,{values:e})]})]})}
1,S={name:"starknet_usdc",initialValues:{from:"STARKNET_MAINNET",to:"STARKNET_MAINNET",fromAsset:"USDC.e",toAsset:"USDC"},metaData:{title:"Swap USDC.e to USDC on Starknet I Layerswap Guide",description:"Learn how to swap bridged USDC to native USDC on Starknet using Layerswap – fast transfers, low fees, and a seamless migration process."}};function g(){return(0,a.jsxs)(n.A,{canonicalUrl:"https://layerswap.io/transfer/".concat(S.name),metadata:S.metaData,children:[(0,a.jsxs)(i.t,{children:[(0,a.jsx)(i.t.Header,{children:(0,a.jsx)(s.A,{title:(0,a.jsxs)("span",{children:["Swap USDC.e to USDC on ",(0,a.jsx)("span",{className:"underline decoration-primary",children:"Starknet"})]})})}),(0,a.jsx)(i.t.Content,{children:(0,a.jsx)(o.o,{initialValues:S.initialValues})})]}),(0,a.jsx)("div",{className:"relative flex-auto",children:(0,a.jsx)("main",{className:"space-y-20 py-10 sm:space-y-32 sm:py-32 bg-secondary-800/10",children:(0,a.jsx)(y,{})})})]})}},4068:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/transfer/starknet_usdc",function(){return r(2993)}])},7798:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(8358).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},8221:(e,t,r)=>{"use strict";r.d(t,{UC:()=>es,Y9:()=>en,q7:()=>ea,bL:()=>er,l9:()=>ei});var a=r(4232),n=r(1844),i=r(3134),s=r(714),o=r(3716),l=r(8162),d=r(7797),c=r(1285),p=r(6822),h=r(294),u=r(7876),m="Collapsible",[f,w]=(0,n.A)(m),[x,y]=f(m),S=a.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:n,defaultOpen:i,disabled:s,onOpenChange:o,...c}=e,[p,f]=(0,l.i)({prop:n,defaultProp:i??!1,onChange:o,caller:m});return(0,u.jsx)(x,{scope:r,disabled:s,contentId:(0,h.B)(),open:p,onOpenToggle:a.useCallback(()=>f(e=>!e),[f]),children:(0,u.jsx)(d.sG.div,{"data-state":k(p),"data-disabled":s?"":void 0,...c,ref:t})})});S.displayName=m;var g="CollapsibleTrigger",C=a.forwardRef((e,t)=>{let{__scopeCollapsible:r,...a}=e,n=y(g,r);return(0,u.jsx)(d.sG.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":k(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...a,ref:t,onClick:(0,o.mK)(e.onClick,n.onOpenToggle)})});C.displayName=g;var j="CollapsibleContent",b=a.forwardRef((e,t)=>{let{forceMount:r,...a}=e,n=y(j,e.__scopeCollapsible);return(0,u.jsx)(p.C,{present:r||n.open,children:({present:e})=>(0,u.jsx)(v,{...a,ref:t,present:e})})});b.displayName=j;var v=a.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:n,children:i,...o}=e,l=y(j,r),[p,h]=a.useState(n),m=a.useRef(null),f=(0,s.s)(t,m),w=a.useRef(0),x=w.current,S=a.useRef(0),g=S.current,C=l.open||p,b=a.useRef(C),v=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{let e=m.current;if(e){v.current=v.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();w.current=t.height,S.current=t.width,b.current||(e.style.transitionDuration=v.current.transitionDuration,e.style.animationName=v.current.animationName),h(n)}},[l.open,n]),(0,u.jsx)(d.sG.div,{"data-state":k(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!C,...o,ref:f,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:C&&i})});function k(e){return e?"open":"closed"}var D=r(4966),A="Accordion",U=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[N,_,R]=(0,i.N)(A),[I,T]=(0,n.A)(A,[R,w]),E=w(),q=a.forwardRef((e,t)=>{let{type:r,...a}=e;return(0,u.jsx)(N.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,u.jsx)(G,{...a,ref:t}):(0,u.jsx)(H,{...a,ref:t})})});q.displayName=A;var[L,M]=I(A),[O,B]=I(A,{collapsible:!1}),H=a.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:i=()=>{},collapsible:s=!1,...o}=e,[d,c]=(0,l.i)({prop:r,defaultProp:n??"",onChange:i,caller:A});return(0,u.jsx)(L,{scope:e.__scopeAccordion,value:a.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:a.useCallback(()=>s&&c(""),[s,c]),children:(0,u.jsx)(O,{scope:e.__scopeAccordion,collapsible:s,children:(0,u.jsx)(F,{...o,ref:t})})})}),G=a.forwardRef((e,t)=>
1{let{value:r,defaultValue:n,onValueChange:i=()=>{},...s}=e,[o,d]=(0,l.i)({prop:r,defaultProp:n??[],onChange:i,caller:A}),c=a.useCallback(e=>d((t=[])=>[...t,e]),[d]),p=a.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,u.jsx)(L,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:p,children:(0,u.jsx)(O,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(F,{...s,ref:t})})})}),[K,z]=I(A),F=a.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:n,dir:i,orientation:l="vertical",...c}=e,p=a.useRef(null),h=(0,s.s)(p,t),m=_(r),f="ltr"===(0,D.jH)(i),w=(0,o.mK)(e.onKeyDown,e=>{if(!U.includes(e.key))return;let t=e.target,r=m().filter(e=>!e.ref.current?.disabled),a=r.findIndex(e=>e.ref.current===t),n=r.length;if(-1===a)return;e.preventDefault();let i=a,s=n-1,o=()=>{(i=a+1)>s&&(i=0)},d=()=>{(i=a-1)<0&&(i=s)};switch(e.key){case"Home":i=0;break;case"End":i=s;break;case"ArrowRight":"horizontal"===l&&(f?o():d());break;case"ArrowDown":"vertical"===l&&o();break;case"ArrowLeft":"horizontal"===l&&(f?d():o());break;case"ArrowUp":"vertical"===l&&d()}let c=i%n;r[c].ref.current?.focus()});return(0,u.jsx)(K,{scope:r,disabled:n,direction:i,orientation:l,children:(0,u.jsx)(N.Slot,{scope:r,children:(0,u.jsx)(d.sG.div,{...c,"data-orientation":l,ref:h,onKeyDown:n?void 0:w})})})}),P="AccordionItem",[V,W]=I(P),X=a.forwardRef((e,t)=>{let{__scopeAccordion:r,value:a,...n}=e,i=z(P,r),s=M(P,r),o=E(r),l=(0,h.B)(),d=a&&s.value.includes(a)||!1,c=i.disabled||e.disabled;return(0,u.jsx)(V,{scope:r,open:d,disabled:c,triggerId:l,children:(0,u.jsx)(S,{"data-orientation":i.orientation,"data-state":et(d),...o,...n,ref:t,disabled:c,open:d,onOpenChange:e=>{e?s.onItemOpen(a):s.onItemClose(a)}})})});X.displayName=P;var Y="AccordionHeader",$=a.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,n=z(A,r),i=W(Y,r);return(0,u.jsx)(d.sG.h3,{"data-orientation":n.orientation,"data-state":et(i.open),"data-disabled":i.disabled?"":void 0,...a,ref:t})});$.displayName=Y;var Z="AccordionTrigger",J=a.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,n=z(A,r),i=W(Z,r),s=B(Z,r),o=E(r);return(0,u.jsx)(N.ItemSlot,{scope:r,children:(0,u.jsx)(C,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":n.orientation,id:i.triggerId,...o,...a,ref:t})})});J.displayName=Z;var Q="AccordionContent",ee=a.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,n=z(A,r),i=W(Q,r),s=E(r);return(0,u.jsx)(b,{role:"region","aria-labelledby":i.triggerId,"data-orientation":n.orientation,...s,...a,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function et(e){return e?"open":"closed"}ee.displayName=Q;var er=q,ea=X,en=$,ei=J,es=ee},8474:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(8358).A)("LayoutTemplate",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]])},9998:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(8358).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])}},e=>{e.O(0,[865,66,636,593,792],()=>e(e.s=4068)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.