GithubHelp home page GithubHelp logo

sam-thetutor / icrc_fungible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from panindustrial-org/icrc_fungible

0.0 0.0 0.0 38 KB

A full implementation of an ICRC 1,2,3 compatible fungible token

License: MIT License

Shell 13.44% Motoko 86.56%

icrc_fungible's Introduction

ICRC-1, ICRC-2, and ICRC-3 Fungible Token

Overview

This project is focused on the development and implementation of a fungible token standard, utilizing blockchain or distributed ledger technology. The core of the project is written in Motoko and is compatibility with the DFINITY Internet Computer platform.

Contents

  • dfx.json: Configuration file for project settings and canister definitions.
  • mops.toml: Dependency management file listing various Motoko libraries and tools.
  • runners/test_deploy.sh: Script for testing or deploying the token system.
  • runners/prod_deploy.sh: Script for deploying to production token system.
  • src/Token.mo: Source code for the token system written in Motoko.
  • src/examples/Allowlist.mo: Source code for the a token who is limited to an allow list of users who can send tokens, but anyone can receive them. See the source file for more information.
  • src/examples/Lotto.mo: Source code for a token where whenever you burn tokens you have a chance to double your tokens. See the source file for more information.

Setup and Installation

  1. Environment Setup: Ensure you have an environment that supports Motoko programming. This typically involves setting up the DFINITY Internet Computer SDK and mops tool chain.
  2. Dependency Installation: Install the dependencies listed in mops.toml. mops install.
  3. Configuration: Adjust dfx.json and mops.toml according to your project's specific needs, such as changing canister settings or updating dependency versions.

Usage

  • Development: Modify and enhance src/Token.mo as per your requirements. This file contains the logic and structure of the fungible token system.
  • Testing and Deployment: Use runners/test_deploy.sh for deploying the token system to a test or development environment. This script may need modifications to fit your deployment process.
  • Production Deployment: Use runners/prod_deploy.sh for deploying the token system to a main net environment. This script will need modifications to fit your deployment process.

Dependencies

  • DFX and Mops
  • Additional dependencies are listed in mops.toml. Ensure they are properly installed and configured.

Contribution and Development Guidelines

  • Coding Standards: Adhere to established Motoko coding practices. Ensure readability and maintainability of the code.
  • Testing: Thoroughly test any new features or changes in a controlled environment before integrating them into the main project.
  • Documentation: Update documentation and comments within the code to reflect changes or additions to the project.

Repository

License

  • MIT License

Contact

  • Contributing: For contributing to this project, please submit a pull request to the repository.

icrc_fungible's People

Contributors

panindustrial-dev 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.