Testnet Faucet

Introduction

Developers can get test coins through the Testnet , and will get 10 WICC each time when request.

Method

  • Use the url https://baas-test.wiccdev.org/v1/api/chain/getcoinsfromfaucet/{address},Replace {address} with receiver address,can get 10 WICC from testnet

Example

// Request
https://baas-test.wiccdev.org/v1/api/chain/getcoinsfromfaucet/wYXV7QzHZnb8LuWw7Xa24dfUTqmH2tNZBq

// Response
{"id":1,"jsonrpc":"2.0","result":{"hash":"49df0aa85954621da6487615fc24a0c40aa5842bc27cdaff10428b4a754717d5"}}

WaykiChain public node

The public node for Testnet only can be to test.

url: https://testnode.wiccdev.org

RPC username: wiccuser

RPC password: 123456

example

// Request
~$curl -u wiccuser:123456 -d '{"jsonrpc":"2.0","id":"curltext","method":"getinfo","params":[]}' -H 'content-type:application/json;' https://testnode.wiccdev.org

// Response
{
    "result": {
        "version": 1010101,
        "fullversion": "v1.1.1.1-ee173ce-release-linux (2019-01-23 10:37:43 +0800)",
        "protocolversion": 10001,
        "walletversion": 0,
        "balance": 1999749.99679999,
        "timeoffset": 0,
        "proxy": "",
        "ext_ip": "30.0.0.1",
        "nettype": "TEST_NET",
        "genblock": 0,
        "chainwork": "000000000000000000000000000000000000000000000000000000000000876e",
        "tipblocktime": 1548490510,
        "paytxfee": 0.0001,
        "relayfee": 0.00001,
        "fuelrate": 1,
        "fuel": 0,
        "data directory": "/root/.WaykiChain/testnet",
        "tip block hash": "c28bef6d3029ba6149235f27eb482a67d6202194a3d139b3a2e0bc59159aea8f",
        "syncheight": 34670,
        "blocks": 34670,
        "connections": 4,
        "errors": ""
    },
    "error": null,
    "id": "curltext"
}

~$