Skip to content

tellor-io/layer

Repository files navigation

Tests

Twitter WeAreTellor

Overview

Tellor Layer is a stand alone L1 built using the cosmos sdk for the purpose of coming to consensus on any subjective data. It works by using tendermint to agree upon requested data and its values, and in cases where consensus is not reached, falls back to relying on an optimistic approach given reported values can be disputed.

For more in-depth information about Layer, checkout the TellorLayer - tech paper.

Tests

To run all tests: go test -v ./...

Starting the Chain (Without Ignite):

  1. Remove old test chains (if present): rm -rf ~/.layer
  2. Go build layerd: go build ./cmd/layerd
  3. Initialize the chain: ./layerd init layer --chain-id layer-test-1
  4. Add a validator account: ./layerd keys add alice
  5. Create a tx to Give the alice loyas to stake: ./layerd genesis add-genesis-account alice 10000000000000loya
  6. Create a tx to Stake some loyas for alice: ./layerd genesis gentx alice 1000000000000loya --chain-id layer-test-1
  7. Add the transactions to the genesis block: ./layerd genesis collect-gentxs
  8. Start the chain: ./layerd start

Starting the Chain With Ignite CLI:

To start the chain locally with Ignite CLI: ignite chain serve

To create a transaction, in another terminal: layerd tx [command]

To see all available commands: layerd

Maintainers

This repository is maintained by the Tellor team

How to Contribute

Check out our issues log here on Github or feel free to reach out anytime info@tellor.io

Copyright

Tellor Inc. 2022

Tools

  1. Install golangci-lint 1.55.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published