Quickstart

Begin interacting with JUSTWYNN's platform and start building in the ecosystem.

Developer Setup

Get started building on JUSTWYNN with our developer tools and SDKs.

🛠️ Prerequisites

  • • Node.js 18+ and npm/yarn
  • • Solana CLI tools
  • • Anchor framework (for smart contracts)
  • • Solana wallet (Phantom, Solflare, etc.)

Installation

Install JUSTWYNN SDK

npm install @justwynn/sdk

Install Solana Dependencies

npm install @solana/web3.js @solana/wallet-adapter-react

Basic Usage

import { JustwynnClient } from '@justwynn/sdk';
import { Connection, clusterApiUrl } from '@solana/web3.js';

// Initialize connection
const connection = new Connection(clusterApiUrl('mainnet-beta'));

// Initialize JUSTWYNN client
const justwynn = new JustwynnClient(connection);

// Launch a token
const launchResult = await justwynn.launchToken({
  name: "My Token",
  symbol: "MTK",
  description: "An amazing token",
  totalSupply: 1000000000,
  metadata: {
    image: "https://example.com/logo.png",
    twitter: "https://twitter.com/mytoken",
    telegram: "https://t.me/mytoken"
  }
});

console.log("Token launched:", launchResult.tokenAddress);