💞 #Gate Square Qixi Celebration# 💞
Couples showcase love / Singles celebrate self-love — gifts for everyone this Qixi!
📅 Event Period
August 26 — August 31, 2025
✨ How to Participate
Romantic Teams 💑
Form a “Heartbeat Squad” with one friend and submit the registration form 👉 https://www.gate.com/questionnaire/7012
Post original content on Gate Square (images, videos, hand-drawn art, digital creations, or copywriting) featuring Qixi romance + Gate elements. Include the hashtag #GateSquareQixiCelebration#
The top 5 squads with the highest total posts will win a Valentine's Day Gift Box + $1
NEAR Testnet Deployment Rust smart contracts Practical Guide
Rust smart contracts development practice: deployment and invocation
This article will introduce how to deploy a simple example smart contract to the NEAR test network, execute the contract, and query the execution results.
Introduction to the NEAR Network
NEAR Protocol, as a protocol, can support multiple independent networks based on it. The three main networks commonly used are as follows:
NEAR CLI Installation
NEAR CLI is a NodeJS command line interface for interacting with the NEAR network. Installation steps:
sudo npm install -g near-cli
near --version
Deploying Contracts on TestNet
Register TestNet account
Log in to NEAR CLI
Execute the following command to log in to your account:
near login
View account information
near state <账户名>
Contract Compilation and Deployment
call contract function
Use the near call command to invoke functions in the smart contracts, for example:
near call '{"parameter":"value"}' --accountId
transaction query
You can query specific transaction details in NEAR Explorer using the transaction ID.
By following the above steps, we have completed the entire process of smart contracts from compilation to deployment and then to invocation. The next step can be to discuss how to write safer smart contracts from a security perspective.