Giter Site home page Giter Site logo

stfl's Introduction

Solana Token Minting Application

About

This application is created for learning and testing purposes of Solana blockchain. It uses solana-labs libraries for interaction with the blockchain. Primary purpose of the application is usage of Solana's token program to create and mint new tokens but it can connect to Phantom Wallet and airdrop SOL tokens.

P.S. Application currently uses only devnet.

Use Flow

Connect Phantom Wallet

In order to use the application you'll have to connect your Phantom Wallet. Navigate to Wallet page. If you don't have Phantom Wallet's Chrome extension click on Visit Phantom Wallet button, install it and create a new account or log into the existing one. If you already meet those requirements, click on Connect Phantom Wallet button to allow the application to use your Phantom Wallet account which you can send tokens to.

You can check your current SOL token balance by clicking on Get Wallet Balance.

Airdropping Solana Tokens

When you connect your wallet, you have the option to airdrop some SOL tokens to it. Navigate to Airdrop Page and click on Airdrop 1 SOL button. After a few seconds your wallet balance should be updated.

Create Token

Finally, we come to the create token functionality. To do this, navigate to Create Token page. In order to create a new token, you'll have to pass an account which will have mint authority. Currently, you can only create a new one, the option to passs an existing one will be added in the future.

To create an account, click on Generate New Wallet Account button. You can optionally give it a name and we'll add an option to save your created wallets in the future. After the wallet is generated it should show in Your Wallet Accounts section.

To create a token, you need to select the wallet which will have minting authority. Click on one of your wallets and it should show up in Create New Token section under Selected Wallet subheading. Click on Create Token button and new token should be instantiated. The token should unlock Created Tokens section and it should be shown there.

Mint and Send Token

To mint created token, first you should select one of your created tokens by clicking on it. It should show up under Selected Token subheading. Paste the wallet you want to send minted tokens to public key in the input component and click Mint Selected Token button. You should receive one token.

stfl's People

Contributors

b8zeek avatar

Stargazers

Roman avatar

Watchers

 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.