Build on GCR

Comprehensive tools and documentation for developers

πŸš€ Fast

3-second block time

πŸ’° Low Cost

Minimal transaction fees

πŸ”— Compatible

EVM compatible

πŸ“š Documented

Comprehensive guides

Getting Started

Build decentralized applications on the GCR blockchain in minutes

1

Set Up Your Environment

Install Node.js and your preferred IDE

npm install -g gcr-cli
2

Connect to the Network

Configure your Web3 provider

const Web3 = require('web3');
const web3 = new Web3('https://rpc.goldcoinreserve.io');
3

Deploy Your First Contract

Write and deploy a smart contract

gcr-cli deploy MyContract.sol

API Reference

RESTful and WebSocket APIs for interacting with the GCR blockchain

Blockchain Data

GET
/api/v1/blocks/latest

Get the latest block information

GET
/api/v1/blocks/{block_number}

Get specific block by number

GET
/api/v1/transactions/{tx_hash}

Get transaction details

Accounts & Balances

GET
/api/v1/accounts/{address}

Get account information

GET
/api/v1/accounts/{address}/balance

Get account balance

GET
/api/v1/accounts/{address}/transactions

Get account transaction history

Network Statistics

GET
/api/v1/stats/network

Get network statistics

GET
/api/v1/stats/validators

Get validator information

Example Request

curl -X GET "https://api.goldcoinreserve.io/v1/blocks/latest" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Example Response

{
  "block_number": 4582391,
  "timestamp": 1699876543,
  "hash": "0x3f2a8d4c...",
  "parent_hash": "0x7c1b5e3a...",
  "validator": "0x742d4e12...",
  "transactions": 143,
  "gas_used": 1250000,
  "gas_limit": 10000000
}
View Full API Documentation

SDKs & Libraries

JavaScript / TypeScript

npm install @gcr/sdk
View Docs

Python

pip install gcr-python
View Docs

Go

go get github.com/gcr/go-gcr
View Docs

Java

implementation 'io.gcr:gcr-java:1.0.0'
View Docs

Smart Contracts

Build and deploy smart contracts on the GCR blockchain

EVM Compatible

Write contracts in Solidity or Vyper

Low Gas Fees

Significantly lower costs than Ethereum

Fast Execution

3-second block times for quick confirmations

Example Smart Contract

pragma solidity ^0.8.0;

contract SimpleToken {
    mapping(address => uint256) public balances;
    
    function mint(address to, uint256 amount) public {
        balances[to] += amount;
    }
    
    function transfer(address to, uint256 amount) public {
        require(balances[msg.sender] >= amount, "Insufficient balance");
        balances[msg.sender] -= amount;
        balances[to] += amount;
    }
}

Build Your Token on GCR

Launch your own token on the GCR blockchain with full support

  • Fast and cheap transactions
  • Priority exchange listings
  • Marketing support
  • Technical assistance
  • Community exposure
Apply to Build a Token

Testnet

Test your applications on our testnet before going live

RPC Endpoint

https://testnet-rpc.goldcoinreserve.io

Chain ID

1234

Developer Support

πŸ’¬ Discord

Join our developer community

Join Discord

πŸ“§ Email

Get technical support

[email protected]

πŸ“š Forum

Ask questions and share knowledge

Visit Forum

Developer Grants

We provide funding for promising projects building on GCR

  • Grants from $10,000 to $100,000
  • Technical support and mentorship
  • Marketing and community support
  • Fast-track exchange listings
Apply for a Grant