Categorygithub.com/loomnetwork/go-loom
modulepackage
0.0.0-20210524052030-e0cfe8bf35cc
Repository: https://github.com/loomnetwork/go-loom.git
Documentation: pkg.go.dev

# README

go-loom Build Status

Go package for building Go Smart Contracts for the Loom SDK

This package is also used for building Clients to DAppChains in the Loom SDK.

The code that runs the actual DAppChain(sidechain) is in a different repository.

Requirements

  • Go 1.9+
  • Mac or Linux (Windows support coming in June)

Installation

go get github.com/loomnetwork/go-loom

Examples

The example smart contracts can be built with:

make deps
make

If you want the ethereum examples, use

make evm

instead of make. However you need the go-ethereum package.

To run the blockchain with the Samples

Note Loom binary is only available to beta testers right now

# init the blockchain
./loom init
# Copy over example genesis
cp genesis.example.json genesis.json
# run the node
./loom run

Development

  1. go get or clone the repo into your desired GOPATH.
  2. Install deps
    make deps
    

Generating protobufs

make proto

running tests

make test

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
recent versions of Tendermint > 0.22.0.
No description provided by the author
No description provided by the author
No description provided by the author
NewBigUint creates a biguint from a bigint.
NewBigUintFromInt creates a biguint from a int64.
No description provided by the author
No description provided by the author
No description provided by the author
ParseAddress parses an address generated from String().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author