Skip to content

Commit

Permalink
Merge pull request #200 from massalabs/hello-world-plugin
Browse files Browse the repository at this point in the history
Hello world plugin
  • Loading branch information
Adrien LF authored Oct 9, 2023
2 parents 56b95ab + d3d3c82 commit fa1e607
Show file tree
Hide file tree
Showing 9 changed files with 834 additions and 63 deletions.
Empty file.
9 changes: 0 additions & 9 deletions docs/build/plugin/introduction.mdx

This file was deleted.

31 changes: 2 additions & 29 deletions docs/build/wallet/massa-station.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,6 @@ title: Massa Wallet
# Massa Wallet

[Massa Wallet](https://github.com/massalabs/station-massa-wallet) is a plugin for Massa Station that allows you to
store your assets and interact with decentralized applications.

Massa wallet can be installed from the Massa Station plugin store.

:::info
One feature of the Massa blockchain the Decentralized Web. Web applications can be hosted directly on the Massa blockchain. Massa Station is a the gateway to these applications. Once installed, Massa station will allow your browser to resolve `.massa` urls and interact with these on-chain apps. When using Massa Station, the `.massa` extension indicates that you are visiting a website that is hosted on the Massa blockchain, and directly served to you without intermediaries. You can learn more about the Decentralized Web and Massa Station [here](/docs/learn/decentralized-web).
:::

## Pre-requisites
In order to install Massa Wallet, you will need to have Massa Station installed on your machine. To do so, go to the [official Massa Station website](https://station.massa.net/) and download the latest version of the Massa Station installer for your operating system. Once you have downloaded the installer, just click on it and let it guide you through the installation process. Once the installation is complete, you can proceed to the next step.

## Installing Massa Wallet
Once you have Massa Station installed on your machine, you can install Massa Wallet by following these steps.
1. Launch Massa Station, either from your desktop, system launchpad, or applications menu.
2. In the icon tray, select Massa Station and click on the `Open Massa Station` button. This will open Massa Station in your default browser.
3. On the landing page, you should see a panel that says that Massa Station is not installed in your station and suggests you install it. Click on this `Install` button. Alternatively, if you don't see this panel, you can click on the `Explore module store` button. Once on the store, search for Massa Wallet and click on the download icon. Navigate back to the landing page and you should see the Massa Wallet panel.
4. Once it is installed, click on the `Launch` button, this should open Massa Wallet welcome page.
5. Once you are on Massa Wallet welcome page, you can either create a new wallet or import an existing one. If you are new to Massa, you can create a new wallet by clicking on the `Create an account` button. If you already have a wallet, you can import it by clicking on the `Import an existing account` button.

* **If you are creating a new wallet**, click on the `create an account` button. You will need to provide a name for your account. Once this is done you'll be prompted to create a password to encrypt your wallet. Click on the `Define a password` button and set up your password. Once you have done so, you will be prompted to back up your wallet. This step is optional but is highly recommended in case your machine is damaged or lost. This can be done either by downloading a `.yml` file or by writing down your private key pair. Whatever method you chose keep in mind that anyone that can access this `.yml` or private key can take control of your wallet, so these must be safely stored.

* **If you are importing a wallet**, you can either do it by providing your `.yml` wallet file or by providing your private key. Whatever method you chose, you will then have to provide a name for your account and a password to encrypt your wallet.

6. Congrats, you are now ready to use Massa Wallet !!!

## Using Massa Wallet
Once you have installed Massa Wallet, you can use it to store your assets and interact with decentralized applications. To do so, you can either use the Massa Wallet web interface or the Massa Wallet API.
On the select account page, you should see the account that you have created and your current balance. You can click on the `Send` button to send Massa to another account or click on the `Receive` button to receive Massa from another account.

store your assets and interact with decentralized applications. It is the recommended way to interact with the Massa blockchain.

Follow the link to [get started with Massa Wallet](/docs/massaStation/massa-wallet/getting-started) !
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: guidelines
title: Guidelines
title: Plugin Creation Guidelines
---

# Plugin Creation Guidelines
Expand All @@ -13,7 +13,7 @@ Massa Station plugins are essentially binaries with a few specific requirements,

Since Massa Station plugins are binaries, developers have the freedom to use their preferred programming language to create plugins that work seamlessly with Massa Station. Most of our Massa Station products and documentation are using Go because it's the language we use internally. However, we encourage developers to use any language they prefer.

For detailed steps on creating a plugin, please refer to the [create plugin guide](/docs/build/plugin/create-plugin).
For detailed steps on creating a plugin, please refer to the [create plugin guide](/docs/massaStation/hello-world-plugin).

## Plugin binary specifications

Expand Down Expand Up @@ -45,9 +45,6 @@ Currently, Massa Station supports the following OS configurations:
- macOS, AMD64
- macOS, ARM64

<!-- to do : add more details about the supported os in another page
For details on the supported OS configurations, refer to [the Massa Station documentation](../wallet/massa-station.mdx).
-->

### Archive Structure

Expand Down
Binary file added docs/massaStation/hello-world-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fa1e607

Please sign in to comment.