Skip to content

phantasma-io/Phantasma-Hub

Repository files navigation

Phantasma Hub

Welcome to the Phantasma Hub! This powerful tool is designed to help you make the most out of the Phantasma Chain, a blockchain network that enables seamless and secure interactions between users and decentralized applications.

Features

Phantasma Hub offers a wide range of features, including:

  • Air Drop (with randomization options):

    • Distribute tokens on a 1-to-1 basis
    • Randomly distribute tokens to a list of addresses, with more addresses than tokens (FT/NFT)
    • Airdrop Fungible Tokens:
      • Random amounts within a specified range
      • Specific amounts for each recipient
    • Airdrop Non-Fungible Tokens (Collections):
      • Random distribution among recipients
  • Interact with Contracts: Manage and interact with smart contracts on the Phantasma Chain

  • Transfers: Perform secure and efficient token transfers

  • Address Creation: Generate a list of addresses in Base16 format for sending tokens

  • Deploy Smart Contract: Easily deploy your smart contracts on the Phantasma Chain

Feature Requests

We're always working on improving the Phantasma Hub and adding new features. Here are some of the upcoming additions and requested enhancements:

  • Air Drop:

    • Support for airdropping tokens to selected DAOs
  • Transaction Creation: Streamlined process for creating and managing transactions

  • Mass Minting: Efficiently mint multiple tokens or NFTs in a single action

How to Set Up and Run a Svelte Application Locally

Follow these step-by-step instructions to set up and run a Svelte application on your local machine.

Prerequisites

  1. Install Node.js and npm (Node Package Manager). You can download the latest version of Node.js and npm from the official Node.js website.

Setting Up the Project

  1. Clone the repository using Git. Open a terminal or command prompt, and enter the following command: git clone git@github.com:phantasma-io/Phantasma-Hub.git

  2. Change the current directory to the cloned repository: cd Phantasma-Hub

Installing Dependencies and Running the Application

  1. Install the required dependencies by running the following command: npm install or yarn install

  2. Start the application in development mode using the following command: npm run dev --port 5174 or yarn dev --port 5174

Now, the Svelte application should be running locally on your machine. Open your web browser and navigate to http://localhost:5174 to access the application.

If you need to build the application for production, use the following command: npm run build or yarn buid

This will create a public folder with the optimized production build.