Skip to content

Simple blockchain built on Cosmos SDK with Ignite CLI

Notifications You must be signed in to change notification settings

Trong-Tra/BlogChain

Repository files navigation

BlogChain

BlogChain

A platform powered by blockchain that enables users to create and delete blogs.

About the projects

  • Welcome to BlogChain, a blog application as a Cosmos SDK blockchain using the Ignite CLI.
  • With BlogChain, you can create, read, update, and delete blog posts on the blockchain.

Built with


BlogChain is a blockchain built using Cosmos SDK and Tendermint and created with Ignite CLI.

Get started

Run the chain with this command:

ignite chain serve

After the blockchain is running you need to have the daemon file of the chain in order for it to perform queries or call functions.

First, find your daemon file in the your compiled go files.
Put it in the cmd/blogd and called it.
cd into the file (cmd/blogd) and from there you can perform queries or call functions. For example:

./blogd tx blog create-post hello world --from alice --chain-id blog

Configure

Your blockchain in development can be configured with config.yml. To learn more, see the Ignite CLI docs.

Web Frontend

Additionally, Ignite CLI offers both Vue and React options for frontend scaffolding:

For a Vue frontend, use: ignite scaffold vue For a React frontend, use: ignite scaffold react These commands can be run within your scaffolded blockchain project.

For more information see the monorepo for Ignite front-end development.

Learn more


Developer note: Lasted update: 3/2/2024
  • This chain is for studying purpose, not recommend to be used as mainnet or testnet.
  • The codebase may have bugs that could potentially lead to loss of funds. Use at your own risk.
  • Functions and queries is successfully tested, the repository does not include the daemon file, please follow the instruction or contact with the repo-owner for further assistance.

About

Simple blockchain built on Cosmos SDK with Ignite CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages