• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
SmartHoldem Community

Community

Рефакторинг sthjs-wrapper

Scheduled Pinned Locked Moved Новости SmartHoldem
1 Posts 1 Posters 1.4k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TechnoL0gT Offline
    TechnoL0gT Offline
    TechnoL0g
    wrote on last edited by TechnoL0g
    #1

    Проведен рефакторинг sthjs-wrapper

    соотвественно обновлены

    • https://api.smartholdem.io/#js-api-wrapper-0-1-6
    • https://github.com/smartholdem/faucet

    модуль также доступен в npm https://www.npmjs.com/package/sthjs-wrapper

    установка

    npm install --save sthjs-wrapper
    

    инициализация перед использованием

    // init
    var smartholdemApi = require("sthjs-wrapper");
    var network = "main" //or "dev"
    smartholdemApi.init(network);
    

    использование

    var smartholdemApi = require("sthjs-wrapper")
    smartholdemApi.getBalance("Address of the account", (error, success, response) => {
        console.log(response);
    });
    

    Эксперт по сверхъестественному в области IT / Expert in the supernatural the IT

    1 Reply Last reply
    2

Decentralized Gaming Platform
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search