Reading from NEAR testnet…
Reading from NEAR testnet…
EeTX1FbDwHYvpYdmAoknWxFEWJHETuctRBpGhZex4ai9
web4go.testnet to web4go.testnet · failed
fs_store()
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
:root {
font-family: 'Ubuntu', sans-serif;
line-height: 1.5;
font-weight: 400;
color: #8CA2F5;
background-color: #ffffff;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #C9A8F4;
text-decoration: inherit;
}
a:hover {
color: #95D58D;
}
body {
margin: 0;
padding: 20px;
background-color: #ffffff;
min-height: 100vh;
width: 100%;
text-align: center;
}
* {
box-sizing: border-box;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #8CA2F5;
color: #ffffff;
cursor: pointer;
transition: all 0.25s;
}
button:hover {
background-color: #95D58D;
border-color: #FFF8A3;
}
button:focus,
button:focus-visible {
outline: 4px auto #FF8A8A;
}
.web4list button {
margin: 5px;
}
#near_web4_login {
position: fixed;
top: 2px;
right: 2px;
}fs_store()
// submit.js
import { login, logout, isSignedIn, getAccountId, call } from 'web4-api-js';
// Contract IDs based on network
const CONTRACT_IDS = {
mainnet: 'web4go.sleet.near',
testnet: 'web4go.sleet.testnet'
};
// Get current network from localStorage
const getCurrentNetwork = () => localStorage.getItem('networkId') || 'testnet';
// Get current contract ID based on network
const getCurrentContractId = () => CONTRACT_IDS[getCurrentNetwork()];
// UI Elements
const loginButton = document.getElementById('near_web4_login');
const submitForm = document.querySelector('.search-bar');
const submitInput = document.querySelector('.search-input');
const submitButton = document.querySelector('.search-button');
// Update UI based on sign-in state
function updateUI() {
const signedIn = isSignedIn();
loginButton.textContent = signedIn ? 'LOGOUT' : 'LOGIN';
submitForm.style.display = signedIn ? 'block' : 'none';
if (signedIn) {
const accountId = getAccountId();
console.log('Logged in as:', accountId);
}
}
// Handle login/logout
loginButton.addEventListener('click', () => {
if (isSignedIn()) {
logout();
updateUI();
} else {
login({
contractId: getCurrentContractId(),
callbackPath: window.location.pathname
});
}
});
// Handle form submission
async function handleSubmit(event) {
event.preventDefault();
if (!isSignedIn()) {
alert('Please login first');
return;
}
const accountId = submitInput.value.trim().toLowerCase();
if (!accountId || (!accountId.endsWith('.near') && !accountId.endsWith('.testnet'))) {
alert('Please enter a valid .near or .testnet account.');
return;
}
try {
await call(
getCurrentContractId(),
'add_account',
{ account_id: accountId }
);
alert(`Successfully submitted account: ${accountId}`);
submitInput.value = ''; // Clear input
} catch (error) {
console.error('Error submitting account:', error);
alert('Error submitting account. Please try again.');
}
}
// Initialize UI
document.addEventListener('DOMContentLoaded', () => {
updateUI();
submitForm.addEventListener('submit', handleSubmit);
});fs_store()
8 $U �a�&����F�p^�u�f*��QjZq+����%web_icon.png�7 $U փǭ&u$ÞU��Yd,ض�9��!1�8fԀweb_icon.svg�
fs_store()
.
$p ��L�:��[����\��C)Y��F�>��css�/
$p ��~����IrҴA�� �戗�
��5
ƁJimg�5
$U q��"D8��%�WdaJ{(\�3�Fp�*�i
index.html�-
$p �mD����'�U��P��X������HK
2w�js�T6
$U _J��X�б�m\0�,wY�q8�f�D��vK�submit.html�
fs_store()
4 $U e��g�M1�K��&9N���[�rw��54�GL gobar.css�4 $U �:���|9I��0�4�YlO\�5��̔��?� index.css� 2 $U �I��/��w�M�V��"j��t��J!���r%'�main.cssJ
fs_store()
8 $U �)����@���� a�5QC�:�u�;՜� get_and_go.js�4 $U je�@>��.sS"��h.���(���5�t go_bar.js�$3 $U ��� �>��hQ)��|�o���OV����+k�0�hello.js�@ $U 杨2�9RÒe���3�^w�+��㮱Bk� �on_your_mark_login.js�9 $U ��B�����șo�$'�A�d��L���xR�Uset_and_edit.js
{"ActionError":{"index":0,"kind":{"FunctionCallError":{"MethodResolveError":"MethodNotFound"}}}}
1 automatic refund step from the network not shown.
This page reads FastNEAR's public transaction index and stores nothing. This command asks a NEAR archival node for the same transaction and needs no keys.
curl -s https://archival-rpc.testnet.fastnear.com -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tx","params":{"tx_hash":"EeTX1FbDwHYvpYdmAoknWxFEWJHETuctRBpGhZex4ai9","sender_account_id":"web4go.testnet","wait_until":"FINAL"}}'Vouch has its own page because testnet.nearblocks.io stopped indexing on 27 Sep 2026, so it can't show newer transactions.