Skip to content

peaceinc/starter--near-api-js

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NCD L2 Submission

This is essentially a clone of the starter--near-api-js repo from Learn-NEAR, with origional code only in contract.html and login.html. This is a front-end for our starter--near-sdk-as repo. A call to the contract 'GetMagicWords', passing in an integer in 'wordcount' will return an array of random words with the specified size. Also takes parameter 'extra' which is a string that gets stored to the blockchain. Requires a deposit of at least 1 yoctonear in the "money" box.

near-api-js Starter Kit

This is a simple project to help you get started with frontend development on NEAR Protocol

Files

β”œβ”€β”€ index.html                # default page, nothing here
β”œβ”€β”€ login.html                # code to login to NEAR Wallet
β”œβ”€β”€ contract.html             # code to call view and change methods (basic)
└── contract-advanced.html    # code to call view and change methods (advanced)

About

basic project to get oriented to frontend development on NEAR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 97.1%
  • HTML 2.9%