Gold Logo

Developer Documentation

This documentation provides technical details for developers who want to build on the Gold Digger platform. Whether you're integrating with our APIs, developing custom applications, or contributing to the core codebase, you'll find the information you need here.

Environment Setup

To start developing with Gold Digger, you'll need to set up your development environment with the following tools:

  • Node.js 20+ or Bun
  • Rust Toolchain (for program development)
  • Solana CLI Tools
  • Git

Installation Steps

# Install Node.js (or use nvm)

$ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install -y nodejs

# Install Rust

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install Solana CLI Tools

$ sh -c "$(curl -sSfL https://release.solana.com/v1.18.0/install)"

# Clone the Gold Digger repository

$ git clone https://github.com/golddigger/gold-digger.git

Configuration

After installing the required tools, you'll need to configure your environment:

# Set up Solana configuration

$ solana config set --url https://api.devnet.solana.com

# Create a new Solana wallet for development

$ solana-keygen new --outfile ~/.config/solana/devnet.json

# Set the new wallet as default

$ solana config set --keypair ~/.config/solana/devnet.json

# Airdrop SOL for testing

$ solana airdrop 2

Contributing

Gold Digger is an open-source project, and we welcome contributions from the community. Whether you're fixing bugs, adding features, or improving documentation, your help is appreciated.

To contribute to the project:

  1. Fork the repository on GitHub
  2. Create a new branch for your changes
  3. Make your changes and commit them
  4. Push your changes to your fork
  5. Submit a pull request to the main repository

Please follow the contribution guidelines when submitting pull requests.