Giter Site home page Giter Site logo

fonzie's Introduction

Fonzie ๐Ÿ‘

The interchain cosmos faucet for discord.

  • Disambiguates by bech32 prefix
  • Supports multiple chains at once & rate-limiting
  • State-of-the-art emoji response technology. Inspired by the fonz ๐Ÿ‘

Building

go build .

Usage

Environment Variables

  • BOT_TOKEN -- Create a Discord token
  • MNEMONIC -- 12 or 24 word seed string, shared for each chain
  • CHAINS -- A JSON object, keyed by each bech32 prefix, value is a RPC endpoint
  • FUNDING -- Similar to CHAINS, value is how much funding to sip with each tap

An example configuration supporting Umee, Atom, Juno & Osmosis

BOT_TOKEN='<discord bot token>'
MNEMONIC='<12 or 24 word mnemonic>'
CHAINS='[{"prefix":"umee","rpc":"https://rpc.alley.umeemania-1.network.umee.cc:443"},{"prefix":"cosmos","rpc":"https://rpc.flash.gaia-umeemania-1.network.umee.cc:443"},{"prefix":"juno","rpc":"https://rpc.section.juno-umeemania-1.network.umee.cc:443"},{"prefix":"osmo","rpc":"https://rpc.wall.osmosis-umeemania-1.network.umee.cc:443"}]'
FUNDING='{"umee":"100000000uumee","cosmos":"100000000uatom","juno":"100000000ujuno","osmo":"100000000uosmo"}'

Running

./fonzie

Bot Commands

See help.md. This file is rendered for the !help command.

Screenshots

Screen Shot 2022-04-08 at 12 49 55 AM

Releasing

Example

  1. Suppose you want to release version v99.99.99
  2. Make sure you are on main and have a clean git state
  3. bin/release v99.99.99

Output

Everything up-to-date
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To github.com:umee-network/fonzie.git
 * [new tag]         v99.99.99 -> v99.99.99

fonzie's People

Contributors

dependabot[bot] avatar dreamcodez 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.