GithubHelp home page GithubHelp logo

ravenerzz / solana-anchor-react-minimal-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 256hax/solana-anchor-react-minimal-example

0.0 0.0 0.0 24.61 MB

Solana, Anchor, Metaplex, React Minimal Example. Out of the Box, easy to start!

License: MIT License

JavaScript 11.90% Rust 8.76% TypeScript 75.05% CSS 2.36% HTML 1.93%

solana-anchor-react-minimal-example's Introduction

Solana x Anchor x React Minimal Example

Solana, Anchor, Metaplex, React Minimal Example.
This is Out of the Box, easy to start!
I wrote the code in a single file to make it easy to understand, without dividing it into modules.

For experiment purposes only.

How To Run

It depends on Framework (e.g. Anchor, React, JS...). Check README.md in each directory.

Wallet Key

I set id.json(keypair of wallet) at each directory.
Feel free to use that for only Devnet/Testnet. I hope you can easy to start minimal examples.

Tools

User-friendly Transaction Explorer

I recommend to use Solana Explorer for localnet.

  1. Run local validator.
% solana-test-validator
  1. Deploy something to localnet.

  2. Search Transaction Signature or public-key in Solana Explorer. Solana Explorer (localhost:8899)

Use Metaplex in Localnet

You can use Metaplex(e.g. mint/update NFTs) in Localnet.

Case 1 (Anchor): Mint NFT using Metaplex and Anchor in Localnet

Case 2 (validator):

% solana-test-validator --url https://api.devnet.solana.com /
	--clone metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s /
	--clone PwDiXFxQsGra4sFFTT8r1QWRMd4vfumiWC1jfWNfdYT /
	--clone H7h6dv6X9KGLuCFvYMNa1zmCP5VCSzw8AkQGod6zaCnX /
	--clone ojLGErfqghuAqpJXE1dguXF7kKfvketCEeah8ig6GU3

Remove test-ledger directory if it exists before running.

Outline Document for Product/Project Manager

Solana Blockchain Outline Figure

Example Image

STEPN ON/OFF Chain

STEPN Mapping System

Magic Eden Escrow

Reference

Solana

Solana Pay

Anchor

Metaplex/NFT

State Compression / Compressed NFT

Wallet Adapter for dApps

Wallet App

Arweave

solana-anchor-react-minimal-example's People

Contributors

256hax avatar omahs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.