GithubHelp home page GithubHelp logo

grc20-register's Introduction

⚛️ GRC20 Register ⚛️

Overview

grc20-register is a tool designed to register Gno's GRC20 token automatically whenever new grc20 token has been successfully deployed to gno.

Key Features

  • Automatic GRC20 Register: Automatically registers grc20 token to target register contract.
  • Concurrent Chain Indexing: Utilizes asynchronous workers for fast and efficient indexing. Data is available for serving as soon as it is fetched from the remote chain.

    feature came from tx-indexer

  • Embedded Database: Features PebbleDB for quick on-disk data access and migration.

    feature came from tx-indexer

Getting Started

This section guides you through setting up and running the `grc20-register.

  1. Clone the Repository
git clone github.com/gnoswap-labs/grc20-register
  1. Copy .env.example in /addpkg to .env at same location and change variables

  2. Change register template addpkg/template.txt

    Default template is for gnoswap pool, router, staker register. Use your own realm's register.

  3. Build the binary

make build
  1. Run the grc20-register
./build/grc20-register start

It should print something like below if automatic register ${\bf\color{#009900}SUCCEDED}$

2024-03-20T17:57:20.907+0900    INFO    fetcher fetch/fetch.go:248      Registered grc20 token  {"pkgPath": "gno.land/r/gnoswap/test_foo"}

It should print something like below if automatic register ${\bf\color{#ff0000}FAILED}$

2024-03-20T17:59:16.908+0900    ERROR   fetcher fetch/fetch.go:246      Failed to register grc20 token  {"pkgPath": "gno.land/r/demo/gns", "error": "transaction failed during execution, invalid package path"}

grc20-register's People

Contributors

r3v4s avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.