Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yihau/solana-web3-demo
- Owner: yihau
- License: mit
- Created: 2021-05-10T04:16:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T03:03:42.000Z (almost 2 years ago)
- Last Synced: 2025-01-08T03:23:15.633Z (10 days ago)
- Topics: example, solana, tutorial, web3
- Language: TypeScript
- Homepage: https://yihau.github.io/solana-web3-demo
- Size: 1.46 MB
- Stars: 232
- Watchers: 5
- Forks: 70
- Open Issues: 25
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
- awesome - yihau/solana-web3-demo - a quick demo for solana web3 (TypeScript)
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
```