Skip to content

treasurenetprotocol/treasurenet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

223 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Treasurenet Logo

Treasurenet Protocol

A Layer 1 blockchain protocol bridging real-world economic value with distributed ledger technology

License: LGPL v3 Go Version Version Discord X (formerly Twitter) Follow

Overview β€’ Features β€’ Quick Start β€’ Documentation β€’ Community β€’ Contributing


πŸ“‹ Overview

Treasurenet Protocol is a groundbreaking Layer 1 blockchain solution designed to address the significant shortfall of enduring and substantial value within the cryptocurrency realm. By merging real-world economic forces with the scalability of distributed ledger technology, Treasurenet aims to set a new precedent for maintaining value across both fiat and digital domains.

🎯 Mission

Our mission is to create a sustainable blockchain ecosystem that:

  • Bridges traditional finance with decentralized technology
  • Provides lasting value preservation mechanisms
  • Enables seamless cross-chain interoperability
  • Supports real-world asset tokenization

✨ Key Features

πŸ—οΈ Technical Architecture

  • Consensus Mechanism: Advanced proof-of-stake (PoS) consensus for energy efficiency and security
  • EVM Compatibility: Full Ethereum Virtual Machine support for smart contract deployment
  • Cross-Chain Communication: Built-in IBC (Inter-Blockchain Communication) protocol support
  • High Performance: Capable of processing thousands of transactions per second
  • Low Latency: Sub-second block finality for optimal user experience

πŸ’‘ Core Capabilities

  • πŸ” Security First: Enterprise-grade security with regular audits and formal verification
  • 🌐 Interoperability: Native support for cross-chain asset transfers and communication
  • πŸ“Š Scalability: Horizontal scaling capabilities to meet growing demand
  • πŸ› οΈ Developer Friendly: Comprehensive SDKs and tooling for rapid development
  • πŸ’° Economic Sustainability: Novel tokenomics model ensuring long-term value stability

πŸš€ Quick Start

Prerequisites

Before you begin, ensure your system meets the following requirements:

  • Operating System: Linux, macOS, or Windows (WSL2)
  • Go: Version 1.22 or higher
  • Git: Latest version
  • Hardware:
    • CPU: 4+ cores
    • RAM: 8GB minimum (16GB recommended)
    • Storage: 100GB+ SSD

Installation

  1. Clone the repository

    git clone https://github.com/treasurenetprotocol/treasurenet.git
    cd treasurenet
  2. Install dependencies

    make install-deps
  3. Build from source

    make build
  4. Verify installation

    ./build/treasurenetd version

🐳 Docker Installation

For a containerized setup:

docker pull treasurenet/node:latest
docker run -d --name treasurenet-node treasurenet/node:latest

πŸƒ Running a Node

Local Development Node

# Initialize the node
treasurenetd init my-node --chain-id treasurenet-testnet-1

# Start the node
treasurenetd start

Joining Mainnet

# Download genesis file
curl -o ~/.treasurenet/config/genesis.json https://raw.githubusercontent.com/treasurenetprotocol/mainnet/main/genesis.json

# Start with state sync
treasurenetd start --p2p.seeds="seed1@treasurenet.io:26656,seed2@treasurenet.io:26656"

πŸ“š Documentation

Core Documentation

Technical Specifications

  • Block Time: ~5 seconds
  • Transaction Throughput: 2,000+ TPS
  • Smart Contract Support: Solidity, Vyper (EVM compatible)
  • Token Standard: TNT (native), ERC-20/721/1155 compatible
  • Network ID:
    • Mainnet: treasurenet-mainnet-1
    • Testnet: treasurenet-testnet-1

πŸ› οΈ Development

Building from Source

# Clone the repository
git clone https://github.com/treasurenetprotocol/treasurenet.git
cd treasurenet

# Checkout a specific version (optional)
git checkout v1.5.0

# Build the binary
make build

# Run tests
make test

# Run linter
make lint

Development Tools

πŸ”Œ API Reference

JSON-RPC Endpoints

// Mainnet
const mainnetRPC = "https://rpc.treasurenet.io";

// Testnet
const testnetRPC = "https://testnet-rpc.treasurenet.io";

// WebSocket
const wsEndpoint = "wss://ws.treasurenet.io";

Example: Query Balance

curl -X POST https://rpc.treasurenet.io \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getBalance",
    "params": ["0x742d35Cc6634C0532925a3b844Bc9e7595f7F8e", "latest"],
    "id": 1
  }'

SDK Usage

import { TreasurenetSDK } from '@treasurenet/sdk';

const sdk = new TreasurenetSDK({
  rpcUrl: 'https://rpc.treasurenet.io',
  chainId: 'treasurenet-mainnet-1'
});

// Query account balance
const balance = await sdk.bank.balance('treasurenet1...');
console.log(`Balance: ${balance.amount} TNT`);

🀝 Contributing

We welcome contributions from the community! Here's how you can help:

Getting Started

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Contribution Guidelines

Development Workflow

  1. Code Style: Follow the Go Code Review Comments
  2. Testing: Write unit tests for new features (minimum 80% coverage)
  3. Documentation: Update relevant documentation with your changes
  4. Commit Messages: Use Conventional Commits

πŸ‘₯ Community

Join our vibrant community and stay updated with the latest developments:

🌐 Official Channels

  • πŸ’¬ Discord - Real-time discussions and support
  • πŸ“± Telegram - Announcements and community chat
  • 🐦 X (Twitter) - Latest news and updates
  • πŸ“Ί YouTube - Tutorials and webinars
  • πŸ“ Medium - Technical articles and insights

πŸ—“οΈ Community Calls

  • Developer Calls: Every Tuesday at 15:00 UTC
  • Governance Calls: First Thursday of each month at 16:00 UTC
  • Office Hours: Fridays at 14:00 UTC

πŸ“„ License

Treasurenet Protocol is licensed under the GNU Lesser General Public License v3.0.

Third-Party Software

Treasurenet Protocol includes third-party open-source code. In general, a source subtree with a LICENSE or COPYRIGHT file is from a third party, and our modifications thereto are licensed under the same third-party open source license.

πŸ™ Acknowledgments

We would like to thank:

  • The Cosmos SDK team for their foundational work
  • The Ethereum community for EVM innovations
  • All our contributors and community members
  • Our partners and validators supporting the network

Build the future of value with Treasurenet Protocol
Copyright Β© 2024 Treasurenet Protocol. All rights reserved.

About

treasurenet blockchian

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors