Skip to content

This is a good project to use as a starting point for your AssemblyScript project. Click "Use this template" just above the list of files to get started

Notifications You must be signed in to change notification settings

brkyydnmz/starter--near-sdk-as

 
 

Repository files navigation

near-sdk-as Starter Kit

This is a good project to use as a starting point for your AssemblyScript project.

./src/simple/assembly
In here we changed helloWorld function and transaction in blockchain. Transactions:

1.practice https://explorer.testnet.near.org/transactions/CJQ3RU7GjFzMsa9bhpbvEyYFYDFWZQDPRxyEBiyqgeU9

2.practice https://explorer.testnet.near.org/transactions/6vGF42nnnv7RK8Uu8u6BLSLP1SxHjoKy1J1LeTyBQ4RC

Getting started

INSTALL NEAR CLI first like this: npm i -g near-cli

  1. clone this repo to a local folder
  2. run yarn
  3. run ./scripts/1.dev-deploy.sh
  4. run ./scripts/2.use-contract.sh
  5. run ./scripts/2.use-contract.sh (yes, run it to see changes)
  6. run ./scripts/3.cleanup.sh

Using function whatsYourName()

https://explorer.testnet.near.org/transactions/7s5nU5DJtJUKsaXMGhAceYEFAkTPo8fHNfyd473yRhoL

  1. yarn build:release
  2. near dev-deploy ./build/release/simple.wasm
  3. near call <CONTRACT_NAME> whatsYourName --accountId ***.testnet

About

This is a good project to use as a starting point for your AssemblyScript project. Click "Use this template" just above the list of files to get started

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.1%
  • Shell 32.1%
  • JavaScript 0.8%