Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yihau/solana-web3-demo

a quick demo for solana web3
https://github.com/yihau/solana-web3-demo

example solana tutorial web3

Last synced: 3 days ago
JSON representation

a quick demo for solana web3

Awesome Lists containing this project

README

        

# Solana Web3 Example

there are some solana web3 example

## Guide

### Tour

* [create keypair](tour/create-keypair/main.en.ts)
* [retrieve keypair](tour/retrieve-keypair/main.en.ts)
* [build connection](tour/create-connection/main.en.ts)
* [request airdrop](tour/request-airdrop/main.en.ts)
* [get sol balance](tour/get-sol-balance/main.en.ts)
* [sol transfer](tour/transfer/main.en.ts)
* [create mint](tour/create-mint/main.en.ts)
* [get mint info](tour/get-mint/main.en.ts)
* [create token naccount](tour/create-token-account/main.en.ts)
* [mint token](tour/mint-to/main.en.ts)
* [get token balance](tour/get-token-balance/main.en.ts)
* [token transfer](tour/token-transfer/main.en.ts)

### Advanced

* [Token](advanced/token/README.en.md)
* [Close account](advanced/token/close-account/main.en.ts)
* [Get all token accounts by owner](advanced/token/get-all-token-account-by-owner/main.en.ts)
* [Wrapped SOL](advanced/token/wrapped-sol)
* [NFT](advanced/metaplex)
* [Durable Nonce](advanced/durable-nonce/README.en.md)
* [Send Tx](advanced/send-tx/main.ts)
* [interact with program](advanced/interact-with-program)

### Rpc

## Start

install dependency

```bash
npm install
```

run example

```bash
npx ts-node -s
```