Docs Category: 01-basics

Add a simple frontend to the crossword puzzle that checks the solution’s hash

To Share and +4 nLEARNs Login with NEARimport nearReactFriends from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/near-and-react–dakila.near–rodolf_dtbbx.png’; Add a simple frontend This will be the final section in this chapter, where we’ll add a simple frontend using React and near-api-js to communicate with the smart contract. Dynamic duo of NEAR as the backend and React as a frontend.Art by dakila.near There …

Add a simple frontend to the crossword puzzle that checks the solution’s hash Read More »

Introduction to basic hashing and adding unit tests

To Share and +4 nLEARNs Login with NEARimport batchCookieTray from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/batch-of-actions–dobulyo.near–w_artsu.jpg’; Hash the solution, add basic unit tests In the previous section, we stored the crossword solution as plain text as a String type on the smart contract. If we’re trying to hide the solution from the users, this isn’t a great approach as it’ll …

Introduction to basic hashing and adding unit tests Read More »

Alter the smart contract, learning about basics of development

To Share and +4 nLEARNs Login with NEARimport teachingDeployment from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/teaching–jeheycell.near–artcultureac.jpeg’; import createAccount from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/creating account with text–seanpineda.near–_seanpineda.png’; import chalkboardErase from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/erasing-subaccount-chalkboard–iambon.near–JohnreyBona.mp4’; Modifying the contract This section will modify the smart contract skeleton from the previous section. This tutorial will start by writing a contract in a somewhat useless way in order to learn the …

Alter the smart contract, learning about basics of development Read More »

Set up Rust, get a NEAR testnet account, NEAR CLI, and get a basic smart contract skeleton ready

To Share and +4 nLEARNs Login with NEARGetting started In this tutorial we’ll get a testnet account, use NEAR CLI to add a key to our computer’s file system, and set up the basic skeleton of a Rust smart contract. Getting a testnet account Visit NEAR Wallet for testnet and register for a free account. …

Set up Rust, get a NEAR testnet account, NEAR CLI, and get a basic smart contract skeleton ready Read More »

Basics overview laying out what will be accomplished in this first section.

To Share and +4 nLEARNs Login with NEARimport basicCrossword from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/basics-crossword.jpg’; import rustScary from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/rust-scary–ksart.near.png’; import rustGood from ‘https://raw.githubusercontent.com/Techbridge3/docs/master/website/static/docs/assets/crosswords/rust-good–ksart.near.png’; Basics overview This first chapter of the crossword puzzle tutorial will introduce fundamental concepts to smart contract development in a beginner-friendly way. By the end of this chapter you’ll have a proof-of-concept contract that can be …

Basics overview laying out what will be accomplished in this first section. Read More »

Scroll to Top
Report a bug👀