KO
|
EN
gitlite โ search
Search
#php
#python
#swift
#machine-learning
#react
#javascript
#csharp
#golang
#kubernetes
#webpack
#nodejs
#android
simple-vote-tutorial
โ 35
Open GitHub โ
Simple Smart Contract Tutorial
Download README (.md)
Explore Similar Repositories
redis-sitesearch
:
Real-time search and indexing for any website
CheckLists
:
No description available.
TsaThroughput
:
Monitors the TSA Published Statistics, Downloads new PDF files and Saves as .json
clowder
:
Operator for operating cloud.redhat.com
genshin-info
:
๐ๅ็ฅ่ง่ฒไฟกๆฏๅจ็บฟๆฅ่ฏข
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
simple-vote-tutorial
?
Download (.md)
# Simple Solana Dapp Tutorial This is the code for a tutorial, which explains step-by-step how to write, deploy, and interact with a smart contract on the Solana Blockchain. It intentionally translates an existing (and quite famous) tutorial for Ethereum, aiming at exact functional compatibility. The tutorial works from the simple to the complex, and therefore includes multiple versions of the program and front-end, the final version is a web page interacting with the contract back-end on the Solana Mainnet. This code is designed to be used with the [Simple Solana Dapp Tutorial](https://medium.com/@smith_10562/a-simple-solana-dapp-tutorial-6dedbdf65444), a working version of the [Solana Dapp Tutorial can be seen here](https://solana-dapp-tutorial.mcf.rocks) ## Quick Start The following dependencies are required to build and run this example, depending on your OS, they may already be installed: ```bash $ node --version $ npm --version $ docker -v $ wget --version $ rustup --version $ rustc --version $ cargo --version ``` If this is your first time using Docker or Rust, these [Installation Notes](README-installation-notes.md) might be helpful. If not already, install (current version of) Solana CLI ``` sh -c "$(curl -sSfL https://release.solana.com/v1.6.1/install)" ``` This code is designed to be used with the tutorial, but if you just want to 'make it do something': ``` cd simple-vote-tutorial npm install npm run cluster_devnet npm run keypair npm run airdrop npm run build_simplest npm run deploy_simplest npm run vote_simplest -- 2 ``` You just voted via a smart contract on Solana (devnet). ## About Solana More information about how Solana works is available in the [Solana documentation](https://docs.solana.com/) and all the source code is available on [github](https://github.com/solana-labs/solana) Further questions? Visit the [Discord](https://discordapp.com/invite/pquxPsq) - [Solana Rust SDK](https://docs.rs/solana-sdk/1.3.4/solana_sdk/) - [Solana web3 SDK](https://solana-labs.github.io/solana-web3.js)