crescent-tx-example

command module
v0.0.0-...-cc82147 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: MIT Imports: 10 Imported by: 0

README

Crescent Transaction Example

This repository is a sample project to demonstrate how to wrap message(s) in a single transaction and signs the transaction to broadcast it the transaction to the network.

In main.go, you will find that it demonstrates how to send MsgMMOrder for market makers. There are also other sample functions available. Feel free to add/update/delete them depending on your usage.

Dependency

Dependency Version
Go 1.18
Crescent Core 3.0.x

Configuration

A configuration file called config.toml is required to run the program. Make sure to copy example.toml to create config.toml file and change values for you need. The config source code can be found in this config file.

Usage

# See the code in main.go file to understand how this program is developed
go run main.go

Resources

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL