Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 943 Bytes

File metadata and controls

17 lines (11 loc) · 943 Bytes

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)