Open ShaunSHamilton opened 11 months ago
Learn How to Set Up NEAR by Building a Hello World Smart Contract
viewGreeting
getGreeting
Learn NEAR Smart Contracts by Building a Word Guessing Game
({})
;
I
me
Minor bug: Since changing guesses to a Vector, indexing does not work as expected. Instead, const lastGuess = this.guesses.get(this.guesses.length-1);
guesses
Vector
const lastGuess = this.guesses.get(this.guesses.length-1);
Build a Sentence Making Smart Contract
!
Learn NEAR Accounts by Creating a Named Testnet Account
account.testnet
testnet.json
<ACCOUNT>.testnet
<ACCOUNT>.testnet.json
dev-account
neardev
near state <ACCOUNT>
<ACCOUNT>
near dev-deploy ./build/word-guess.wasm
Learn How to Interact with NEAR Programs Using the NEAR JavaScript API and Node
and set the value get your sub-account
...addHint({hint: "new web"})
Build a Fortune Telling Smart Contract
TOOLING
"terminal.integrated.defaultProfile.linux": "bash",
.vscode/settings.json
cargo
bash/.bashrc
freecodecamp-os@2
Learn How to Set Up NEAR by Building a Hello World Smart Contract
viewGreeting
getGreeting
Learn NEAR Smart Contracts by Building a Word Guessing Game
({})
;
in the code block for what string to return({})
I
. Probably change to "Seems the contract is complete. ..."I
me
Minor bug: Since changing
guesses
to aVector
, indexing does not work as expected. Instead,const lastGuess = this.guesses.get(this.guesses.length-1);
Build a Sentence Making Smart Contract
!
an exclamation point...Learn NEAR Accounts by Creating a Named Testnet Account
account.testnet
andtestnet.json
<ACCOUNT>.testnet
and<ACCOUNT>.testnet.json
dev-account
", but there is nothing named that. It should probably say "use theneardev
account".near state <ACCOUNT>
what<ACCOUNT>
is referring tonear dev-deploy ./build/word-guess.wasm
;
Learn How to Interact with NEAR Programs Using the NEAR JavaScript API and Node
and set the value get your sub-account
...addHint({hint: "new web"})
should be validBuild a Fortune Telling Smart Contract
TOOLING
"terminal.integrated.defaultProfile.linux": "bash",
to.vscode/settings.json
cargo
config frombash/.bashrc
freecodecamp-os@2