(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[228],{74153:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/buy",function(){return n(83808)}])},83808:function(e,t,n){"use strict";n.r(t);var s=n(85893),r=n(49199),a=n(55277),o=n(67294),i=n(38442),c=n(74189),l=n(60155),d=n(25675),x=n.n(d);t.default=function(){(0,a.q)(function(){return(0,r.kf)("signup-buy : view")});var e=(0,o.useContext)(i.S).currentUser;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:" mb-20 mt-16 text-blue-300/60 text-center fmd:mt-24 ",children:[(0,s.jsx)("h2",{className:"text-white font-bold text-5xl md:text-5xl",children:"How to Buy DESO?"}),(0,s.jsxs)("p",{className:"flex items-center justify-center mt-6",children:["View on\xa0",(0,s.jsxs)("a",{href:"https://coinmarketcap.com/currencies/deso/",className:"flex underline hover:text-blue-300/60 items-center",target:"_blank",rel:"noreferrer",children:["CoinMarketCap ",(0,s.jsx)(l.wzU,{className:"ml-1 mr-2"})]})," ","or"," ",(0,s.jsxs)("a",{href:"https://www.coingecko.com/en/coins/deso",className:"flex underline hover:text-blue-300/60 items-center ml-2",target:"_blank",rel:"noreferrer",children:["CoinGecko ",(0,s.jsx)(l.wzU,{className:"ml-1"})]})]})]}),(0,s.jsxs)("div",{className:"overflow-x-hidden flex flex-col-reverse md:flex-row flex-wrap justify-center margin-auto w-full sm:overflow-auto m-auto",children:[(0,s.jsxs)("div",{className:"w-full md:w-1/2 lg:w-1/3",children:[(0,s.jsx)("div",{className:"bg-black/0",children:(0,s.jsxs)("div",{className:"m-auto px-8 md:px-0 text-center",children:[(0,s.jsx)("h2",{className:"text-white font-bold text-2xl mb-2 md:text-2xl",children:"Buy on exchange"}),(0,s.jsxs)("p",{className:"text-xl leading-8 text-blue-300/60",children:["DESO is listed on exchanges like Coinbase",(0,s.jsx)("br",{}),"Blockchain.com, and AscendEX."]})]})}),(0,s.jsxs)("div",{className:"w-full text-center items-center p-8 mb-0 md:mb-12 rounded-3xl max-w-[1300px] mx-auto",children:[(0,s.jsxs)("div",{className:"flex flex-col flex-wrap",children:[(0,s.jsx)("div",{className:"h-auto m-auto",children:(0,s.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center m-auto text-center px-4 md:px-4",children:(0,s.jsx)("a",{href:"https://www.coinbase.com/price/decentralized-social",onClick:function(){return(0,r.kf)("signup-buy : exchange",{exchangeName:"coinbase"})},target:"_blank",rel:"noreferrer",className:"rounded-full bg-transparent text-white/40 hover:text-white/100 opacity-80 hover:opacity-100 px-5 py-3 font-bold",children:(0,s.jsx)(x(),{width:168,height:30,alt:"logo-coinbase",src:"/assets/logo-coinbase.svg"})})})}),(0,s.jsx)("div",{className:"mt-6 h-auto m-auto",children:(0,s.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center m-auto text-center px-4 md:px-4",children:(0,s.jsx)("a",{href:"https://www.gate.io/trade/DESO_USDT",onClick:function(){return(0,r.kf)("signup-buy : exchange",{exchangeName:"gate"})},target:"_blank",rel:"noreferrer",className:"rounded-full bg-transparent text-white/40 hover:text-white/100 opacity-80 hover:opacity-100 px-5 py-3 font-bold",children:(0,s.jsx)(x(),{width:168,height:38,alt:"logo-gate",src:"/assets/logo-gate.svg"})})})}),(0,s.jsx)("div",{className:"mt-6 h-auto m-auto",children:(0,s.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center m-auto text-center px-4 md:px-4",children:(0,s.jsx)("a",{href:"https://www.htx.com/trade/deso_usdt",onClick:function(){return(0,r.kf)("signup-buy : exchange",{exchangeName:"htx"})},target:"_blank",rel:"noreferrer",className:"rounded-full bg-transparent text-white/40 hover:text-white/100 opacity-80 hover:opacity-100 px-5 py-3 font-bold",children:(0,s.jsx)(x(),{width:128,height:0,alt:"logo-htx",src:"/assets/logo-htx.svg"})})})}),(0,s.jsx)("div",{className:"relative h-auto m-auto sm:mb-0",children:(0,s.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center m-auto text-center px-4 md:px-4",children:(0,s.jsx)("a",{href:"https://exchange.blockchain.com/trade/CLOUT-USD",onClick:function(){return(0,r.kf)("signup-buy : exchange",{exchangeName:"blockchain.com"})},target:"_blank",rel:"noreferrer",className:"rounded-full bg-transparent text-white/40 hover:text-white/100 opacity-80 hover:opacity-100 px-5 py-3 font-bold",children:(0,s.jsx)(x(),{width:268,height:70,alt:"logo-blockchain",src:"/assets/logo-blockchain.svg"})})})}),(0,s.jsx)("div",{className:"h-auto m-auto sm:mb-0",children:(0,s.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center m-auto text-center px-4 md:px-4",children:(0,s.jsx)("a",{href:"https://ascendex.com/en/cashtrade-spottrading/usdt/deso",onClick:function(){return(0,r.kf)("signup-buy : exchange",{exchangeName:"ascendex"})},target:"_blank",rel:"noreferrer",className:"rounded-full bg-transparent text-white/40 hover:text-white/100 opacity-80 hover:opacity-100 px-5 py-3 font-bold",children:(0,s.jsx)(x(),{width:168,height:28,alt:"logo-ascendex",src:"/assets/logo-ascendex.svg"})})})}),(0,s.jsx)("div",{className:"mt-6 h-auto m-auto sm:mb-0",children:(0,s.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center m-auto text-center px-4 md:px-4",children:(0,s.jsx)("a",{href:"https://www.coinex.com/exchange?currency=usdt&dest=deso&tab=limit",onClick:function(){return(0,r.kf)("signup-buy : exchange",{exchangeName:"coinex"})},target:"_blank",rel:"noreferrer",className:"rounded-full bg-transparent text-white/40 hover:text-white/100 opacity-80 hover:opacity-100 px-5 py-3 font-bold",children:(0,s.jsx)(x(),{width:150,height:37,alt:"logo-coinex",src:"/assets/logo-coinex.svg"})})})}),(0,s.jsxs)("div",{className:"text-blue-300/60 mt-4 text-md",children:[(0,s.jsx)("strong",{className:"text-blue-300/80 inline-block mb-1 text-lg",children:"Want to list $DESO?"}),(0,s.jsx)("br",{}),"We have an"," ",(0,s.jsx)("a",{className:"underline",target:"_blank",rel:"noreferrer",href:"https://docs.deso.org/deso-exchange-listings/exchange-listing-api",children:"Exchange Listing API"})," ","to add $DESO to your exchange.",(0,s.jsx)("br",{}),"See our"," ",(0,s.jsx)("a",{className:"underline",target:"_blank",href:"https://docs.google.com/document/d/1DLSljJeb_5dV_wFFEBTnkFBYIBWl4uG8RQP2e63agqo/edit",rel:"noreferrer",children:"Listing Info Sheet"})," ","with"," ",(0,s.jsx)("a",{className:"underline",target:"_blank",href:"https://drive.google.com/drive/folders/1gEBMEBYlU_NvY45kHFHBOZYY9Ct6wRgW?usp=share_link",rel:"noreferrer",children:"All Listing Assets"}),"."]})]}),(0,s.jsxs)("div",{className:"w-full h-auto m-auto mt-12 sm:mb-0 border-t border-blue-800/40 pt-12",children:[(0,s.jsx)("h2",{className:"text-white font-bold text-2xl mb-2 md:text-2xl",children:"Buy via Diamond"}),(0,s.jsxs)("p",{className:"text-xl leading-8 text-blue-300/60",children:["Use your DeSo account on Diamond",(0,s.jsx)("br",{}),"to easily get DESO using HeroSwap"]})]}),(0,s.jsx)("div",{className:"h-auto m-auto mt-10 sm:mb-0",children:(0,s.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-center m-auto text-center px-4 md:px-4",children:(0,s.jsx)("a",{href:"https://diamondapp.com/buy-deso",onClick:function(){return(0,r.kf)("signup-buy : exchange",{exchangeName:"diamond"})},target:"_blank",rel:"noreferrer",className:"rounded-full bg-transparent text-white/40 hover:text-white/100 opacity-80 hover:opacity-100 px-5 font-bold",children:(0,s.jsx)(x(),{width:168,height:38,className:"mb-5 invert",alt:"logo-diamond",src:"/assets/logo-diamond.svg"})})})})]})]}),(0,s.jsxs)("div",{className:"w-10/12 mx-auto md:mx-0 md:w-1/2 lg:w-1/3 md:mt-0 border-t border-blue-800/40 pt-12 md:border-0 md:pt-0",children:[(0,s.jsx)("div",{className:"bg-black/0 mb-12",children:(0,s.jsxs)("div",{className:"max-w-[800px] m-auto px-8 md:px-0 text-center",children:[(0,s.jsx)("h2",{className:"text-white font-bold text-2xl mb-2 md:text-2xl",children:"Buy Anonymously with HeroSwap"}),(0,s.jsxs)("p",{className:"text-xl leading-8 text-blue-300/60",children:["DESO can also be bought instantly and anonymously using"," ",(0,s.jsx)("a",{href:"https://heroswap.com/",className:"font-semibold underline text-blue-300",target:"_blank",rel:"noreferrer",children:"HeroSwap"}),", with BTC, ETH, SOL, USDC, USDT & more with no signups and no wallet connections."]})]})}),(0,s.jsx)("div",{className:"w-full mb-8 m-auto",children:(0,s.jsx)("div",{className:"flex justify-center border p-4 border-blue-800/60 rounded-2xl",children:(0,s.jsx)("iframe",{title:"HeroSwap",src:["https://heroswap.com/widget","?theme=default","&destinationTickers=DESO","&destinationTicker=DESO","".concat((null==e?void 0:e.PublicKeyBase58Check)?"&destinationAddress="+(null==e?void 0:e.PublicKeyBase58Check):""),"&affiliateAddress=".concat(c.L),"&now=".concat(Date.now())].join(""),height:"750",width:"650"})})})]})]})]})})}},74189:function(e,t,n){"use strict";n.d(t,{K:function(){return i},L:function(){return o}});var s=n(11010),r=n(48564),a=n(70655),o="BC1YLgk64us61PUyJ7iTEkV4y2GqpHSi8ejWJRnZwsX6XRTZSfUKsop",i=function(){function HeroSwapper(e,t){(0,r._)(this,HeroSwapper),this.api=e,this.storage=t}var e=HeroSwapper.prototype;return e.getOrCreateCashOutAddressGroup=function(e){var t=this;return(0,s._)(function(){return(0,a.Jh)(this,function(n){switch(n.label){case 0:return[4,t.api.post("v1/addrs",{DestinationAddress:e,DestinationTicker:"USDC",AffiliateAddress:o})];case 1:return[2,n.sent().data]}})})()},e.pollNewDepositOnce=function(e,t){var n=this;return new Promise(function(s,r){n.api.get("v1/new-deposits/".concat(t,"/").concat(e)).then(function(e){var t,n=e.data;(null===(t=n.Deposits)||void 0===t?void 0:t.length)||s(null);var r=n.Deposits.find(function(e){return"DEPOSIT_CONFIRMED"===e.DepositStatus});r?s(r):s(null)}).catch(r)})},e.getRecentDepositEventsForDepositAddress=function(e,t){var n=this;return(0,s._)(function(){var s,r;return(0,a.Jh)(this,function(a){switch(a.label){case 0:return[4,n.api.get("v1/deposits/".concat(e,"/").concat(t))];case 1:return[2,null!==(r=null===(s=a.sent().data.Deposits)||void 0===s?void 0:s.sort(function(e,t){return new Date(t.CreatedAt).getTime()-new Date(e.CreatedAt).getTime()}))&&void 0!==r?r:[]]}})})()},e.calcCurrencySwapAmount=function(e,t,n){var r=this;return(0,s._)(function(){return(0,a.Jh)(this,function(s){switch(s.label){case 0:if(0===Number(n))return[2,{DestinationTicker:t,DepositTicker:e,DepositFeeDeducted:"0",DepositAmount:"0",DestinationAmount:"0",SwapRateDestinationTickerPerDepositTicker:"0"}];return[4,r.api.get("v1/destination-amount-for-deposit-amount/".concat(e,"/").concat(t,"/").concat(n))];case 1:return[2,s.sent().data]}})})()},HeroSwapper}()}},function(e){e.O(0,[774,888,179],function(){return e(e.s=74153)}),_N_E=e.O()}]);