Granary

Granary

  • Docs
  • Tutorials
  • API

›Sandbox

Getting started

  • What & Why
  • Installation

API

  • CLI Commands
  • Configuration

Client

  • Using the client

Sandbox

  • Introduction
  • Activating a protocol

Contributing

  • Development environment
  • Updating the docs
  • Examples on how to contribute to Granary

Introduction

Development, no matter if blockchain or not, usually requires a fine-tuned control over your development environment. For Tezos, this is where the private sandbox comes into play. It's no rocket science, a bare tezos-node with a few options on top - don't worry, Granary lifts all the heavy weights for you.

Getting started

Starting a sandboxed tezos-node is a no-brainer, but first you have to make sure to install & initialize granary, so let's do that. In an empty directory, or an existing project, run the following:

Installation instructions can be found here

granary init

After initializing, you should now see a .granary folder and a granary.json config file in your project. One serves as a data storage for everything Granary related, and the other is a configuration file for your project.

To start a sandboxnet node, all you have to do is run the following command, and then check if it's up and running by calling the /protocols RPC endpoint via cURL.

granary node start
curl "http://localhost:8732/protocols"
# Outputs
["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","ProtoDemoDemoDemoDemoDemoDemoDemoDemoDemoDemoD3c8k9","ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im"]
Last updated on 5/6/2019 by Matej Sima
← Using the clientActivating a protocol →
  • Getting started
Docs
APIConfig
Community
Stack OverflowProject ChatTwitter
More
GitHubStar
Facebook Open Source
Copyright © 2019 Stove Labs
Icons made by Freepik and Smashicons from www.flaticon.com is licensed by CC 3.0 BY
Terminal window by nikitahl