5j2s31AytniP67YgcV9yENqVDiTxmBBpqQEX7j4Xf2T2
fs_store in contract sleethello.testnet<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>hello.sleet</title><link rel="icon" type="image/svg+xml" href="/img/sleet_icon.svg"><meta name="description" content="Welcome to hello.sleet, your gateway to the NEAR blockchain. Discover and interact with smart contracts seamlessly."><meta name="keywords" content="NEAR, blockchain, smart contracts, hello.sleet, decentralized, web3"><meta name="author" content="Your Name or Company"><meta property="og:title" content="hello.sleet - NEAR Blockchain Interaction"><meta property="og:description" content="Explore and interact with NEAR blockchain smart contracts using hello.sleet."><meta property="og:image" content="/img/sleet_icon.svg"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="hello.sleet - NEAR Blockchain Interaction"><meta name="twitter:description" content="Explore and interact with NEAR blockchain smart contracts using hello.sleet."><meta name="twitter:image" content="/img/sleet_icon.svg"><meta property="og:url" content><style>@import "https://fonts.googleapis.com/css2?family=Offside&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap";@import "https://fonts.googleapis.com/css2?family=Offside&family=Ubuntu&display=swap";*{box-sizing:border-box;margin:0;padding:0}html{scroll-snap-type:y mandatory;scroll-behavior:smooth}body{font-family:Ubuntu,sans-serif;position:relative}article>header,article>section,article>footer{text-align:center;scroll-snap-align:start;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex}article>:nth-child(odd){color:#d9dbf1;background-color:#313638}article>:nth-child(2n){color:#7d84b2;background-color:#f9f9ed}header h1{font-family:Offside,cursive}section h3,footer p{margin:.5rem}button{cursor:pointer;border:none;border-radius:4px;margin:.5rem;padding:.8rem 1.2rem;font-size:1rem}#new_greeting_input{border:1px solid #ccc;border-radius:4px;padding:.5rem;font-size:1rem}#network_toggle_button,#near_login_button{z-index:1000;position:fixed;top:1rem}#network_toggle_button{left:1rem}#near_login_button{right:1rem}article{width:100%}</style></head><body> <article> <header> <h1 id="header">hello.sleet.near</h1> </header> <section id="greeting_update"> <h3 id="current_greeting"></h3> <input type="text" id="new_greeting_input" placeholder="Enter new greeting"> <br> <button id="update_greeting_button">Update Greeting</button> </section> <footer> <p id="footer">copyright: 2025 by sleet.near</p> </footer> </article> <button id="near_login_button">LOGIN</button> <script type="module" src="/sleet_web4_hello.b08e24c1.js"></script> <script type="module" src="/sleet_web4_hello.2bc0e68d.js"></script> </body></html>fs_store in contract sleethello.testnetfunction e(e){return e&&e.__esModule?e.default:e}var t={};function n(e){let t=window.location.origin,n=new URL(e.startsWith("/")?e:`/${e}`,t);return new URLSearchParams(window.location.search).forEach((e,t)=>{t.startsWith("web4_")||n.searchParams.append(t,e)}),n.toString()}function r(){return!!e(t).get("web4_account_id")}async function o(e,t,n){let r=new URLSearchParams;n&&Object.entries(n).forEach(([e,t])=>{r.append(`${e}.json`,JSON.stringify(t))});let o=`/web4/contract/${e}/${t}?${r.toString()}`,a=await fetch(o);if(!a.ok)throw Error(await a.text());return a.json()}async function a(e,t,r,o={}){let i=o.callbackUrl?n(o.callbackUrl):n("/"),c=new URLSearchParams;Object.entries(r).forEach(([e,t])=>{c.append(e,JSON.stringify(t))}),o.gas&&c.append("web4_gas",o.gas),o.deposit&&c.append("web4_deposit",o.deposit),c.append("web4_callback_url",i);let l=await fetch(`/web4/contract/${e}/${t}`,{method:"POST",body:c,headers:{"Content-Type":"application/x-www-form-urlencoded"}});if(l.redirected)return window.location.href=l.url,null;if(!l.ok)throw Error(await l.text());return l.json()}async function i(e,t,n){try{return await o(e,t,n)}catch(e){throw console.error("Error in view method:",e),e}}async function c(e,t,n,r={}){try{return await a(e,t,n,r)}catch(e){throw console.error("Error in call method:",e),e}}t=function(){function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}return function t(n,r){function o(t,o,a){if("undefined"!=typeof document){"number"==typeof(a=e({},r,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in a)a[c]&&(i+="; "+c,!0!==a[c]&&(i+="="+a[c].split(";")[0]));return document.cookie=t+"="+n.write(o,t)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},o=0;o<t.length;o++){var a=t[o].split("="),i=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(r[c]=n.read(i,c),e===c)break}catch(e){}}return e?r[e]:r}},remove:function(t,n){o(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}();const l={mainnet:"hello.sleet.near",testnet:"hello.sleet.testnet"},d=()=>localStorage.getItem("networkId")||"testnet",u=()=>l[d()],s=document.getElementById("near_login_button"),g=document.getElementById("current_greeting"),p=document.getElementById("new_greeting_input"),w=document.getElementById("update_greeting_button");function f(){let n=r();s.textContent=n?"LOGOUT":"LOGIN",w.style.display=n?"block":"none",p.style.display=n?"block":"none",n&&console.log("Logged in as:",e(t).get("web4_account_id"))}async function h(){try{g.textContent=await i(u(),"get_greeting",{})}catch(e){console.error("Error getting greeting:",e),g.textContent="Error getting greeting"}}async function m(){if(!r())return void alert("Please login first");let e=p.value.trim();if(!e)return void alert("Please enter a greeting");try{await c(u(),"set_greeting",{greeting:e}),await h(),p.value=""}catch(e){console.error("Error updating greeting:",e),alert("Error updating greeting")}}s.addEventListener("click",()=>{r()?(window.location.href="/web4/logout",f()):function(e={}){let{contractId:t,callbackPath:r="/"}=e,o=new URLSearchParams;t&&o.append("web4_contract_id",t),o.append("web4_callback_url",n(r)),window.location.href=`/web4/login?${o.toString()}`}({contractId:u(),callbackPath:window.location.pathname})}),w.addEventListener("click",m),document.addEventListener("DOMContentLoaded",()=>{f(),h()});//# sourceMappingURL=sleet_web4_hello.2bc0e68d.js.map
fs_store in contract sleethello.testnetfs_store in contract sleethello.testnet.$p �Wp|���T�x*���6d�r:������$�x�S�img� 5$U �AH��vgߖ��{�NZH�3[�DO�(;��<�nindex.html�G$U ,�9�7�@!��� (��B)�s�I��ӄSsleet_web4_hello.2bc0e68d.js� L$U �R�FY�����|��k#�Q���.��_n sleet_web4_hello.2bc0e68d.js.map��G$U ���l[��@1���"?�lٞ�<uo�/ �Osusleet_web4_hello.b08e24c1.js�K$U \_j��� ��{<f���?zRn1A� ]C � sleet_web4_hello.b08e24c1.js.map�!
No Logs
3botCV4gdSsrSKXmqK8tK2EdAaikaoj89NjvtGJmSyef
Empty Result
No Logs