Building a Voting Smart Contract with Near Protocol and Typescript

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • starter--near-sdk-as

    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

  • Welcome to the Voting App Near Smart Contract Tutorial! Here you can find the detailed steps of what we are going to implement, how to build, run, and deploy it to the testnet. This tutorial is based on near-sdk-as Starter Kit which contains AssemblyScript written in Typescript and allows everyone to write and deploy smart contracts using TypeScript instead of Rust. You are using yarn tasks to build the smart contract.

  • near-cli

    General purpose command line tools for interacting with NEAR Protocol

  • Make sure you have installed node js 12+, yarn and the latest near-cli.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • near-api-js

    JavaScript library to interact with NEAR Protocol via RPC API

  • That's it, now you can try to build some nice web app to have a frontend application which can use your smart contract. Usefull library to get started with the js api for building near web apps is near-api-js or if you're familiar with react you can use create-near-app library. Good luck!

  • create-near-app

    Create a starter app hooked up to the NEAR blockchain

  • That's it, now you can try to build some nice web app to have a frontend application which can use your smart contract. Usefull library to get started with the js api for building near web apps is near-api-js or if you're familiar with react you can use create-near-app library. Good luck!

  • berry

    📦🐈 Active development trunk for Yarn ⚒

  • Make sure you have installed node js 12+, yarn and the latest near-cli.

  • near-voting-app-smart-contract-tutorial

    Tutorial for building Near Protocol Smart Contract for a Voting App

  • Full implementation of the contract can be found here

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts