Code Monkey home page Code Monkey logo

solana-wallet-playground's Introduction

Wallet Tutorial

In this tutorial, you'll learn to develop a wallet for the Solana protocol. We will provide a simple Next.js application that you will complete by leveraging Solana's JavaScript SDK. In the process, you'll dive into key concepts relevant to Web 3 and start to cultivate an understanding for what it takes to build decentralized applications (dApps).

๐Ÿค” What is the wallet-dapp?

Crypto wallets are one of the foundations of Web 3. They are the gateway application into crypto ecosystems by enabling users to interact with blockchain protocols and manage digital assets.

Under the hood, wallets leverage cryptographic technologies to generate and recover private keys - a concept that we'll define in the course of this tutorial. Those private keys give users access to public accounts that record ownership on a blockchain and expand the internet's functionality from a global network for information exchange to a global network for disintermediated economic exchange.

๐Ÿง‘โ€๐Ÿ’ป Getting started

There are no formal blockchain or Web 3 prerequisites for this tutorial, but you should have some experience with TypeScript and React. Having said that, you can certainly complete the tutorial if you at least know basic JavaScript. You might just find it more difficult to follow the app's pre-built functionality.

Make sure you have git, Node and yarn installed. Then clone the repo and run the yarn command to install the app dependencies:

git clone https://github.com/figment-networks/wallet-tutorial.git
cd wallet-tutorial
yarn

If you encounter any errors during this process, please join our Discord for help.

๐Ÿ’ป Running the development server

Start the Next.js development server on the default port 3000 with:

yarn dev

Alternatively, run yarn dev -p 8080 or any port other than 8080 to start the server in a different port.

Once the server is running, you should see output that looks like this:

yarn run v1.22.11
$ next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
event - compiled successfully

You can now view the running application at http://localhost:3000

๐Ÿ”ฉ Designed by Figment Learn

Our goal at Figment Learn is to build the best resources for developers learning about and building in Web 3. We really hope you enjoy the tutorial and thanks for checking it out. WAGMI!

Learn more about Figment and Figment Learn.

Join us on Discord if you have any feedback or questions!

-- The Figment Learn Team

solana-wallet-playground's People

Contributors

dgamboa avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

exzonetwork

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.