Dfinity's fungible token standard. Any PRs and comments are welcome,collaborate with us to build this standard

Overview

Dfinity Fungible Token Standard

Tutorial

https://dft.delandlabs.com/

Tools

DFT issuance tool

Compile dependencies

dfx

sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"

rust

Linux & Mac

  1. Install Rust & cmake & optimizer
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
brew install cmake
cargo install ic-cdk-optimizer
  1. Add wasm32-unknown-unknown target
rustup target add wasm32-unknown-unknown

How to test?

Rust

   cd rust
   make test

Motoko

   cd motoko
   make test

About us

We are from Deland-Labs team.

We are building a decentralized exchange based on Dfinity with Open Order Protocol.

Offcial Website : https://delandlabs.com

Comments
Releases(v0.6.0)
  • v0.6.0(May 26, 2022)

    Major Updates:

    1. Code refactoring & optimization for easier expansion
    2. Built-in implementation of mineable & burnable & batchTransfer & batchMint configurable extensions
    3. More unit tests
    4. Re-support notify
    5. Auto-scaling storage optimization & unit tests

    Changes

    • Version: v0.6.0 @witter-deland (#131)
    • Improve: notify @witter-deland (#132)
    • Feature: support notify @witter-deland (#130)
    • Update Rust crate ic-cdk to 0.5.1 @renovate (#119)
    • Update Rust crate ic-cdk-macros to 0.5.1 @renovate (#120)
    • Improve: struct name @witter-deland (#128)
    • Fix: typo error @witter-deland (#127)
    • Update gittools/actions action to v0.9.13 @renovate (#57)
    • Improve: token_info & token_metrics @witter-deland (#126)
    • Unit Test: more coverage @witter-deland (#125)
    • Update Rust crate mockall to 0.11.1 @renovate (#122)
    • Unit Test: more coverage @witter-deland (#124)
    • Update Rust crate log to 0.4.17 @renovate (#117)
    • Refactor: auto scaling storage & Unit Test @witter-deland (#121)
    • Update Rust crate rstest to 0.13.0 @renovate (#118)
    • Refactor:dft_tx_storage @witter-deland (#116)
    • Improve: readme @witter-deland (#115)
    • Unit Test: more coverage @witter-deland (#114)
    • Unit Test: dft_types blockchain @witter-deland (#113)
    • Unit Test: dft_types @witter-deland (#112)
    • Unit Test: image_utils @witter-deland (#111)
    • Update codecov/codecov-action action to v3 @renovate (#99)
    • Unit Test: dft_utils @witter-deland (#109)
    • Fix : typo error @witter-deland (#108)
    • Update Rust crate num-traits to 0.2.15 @renovate (#106)
    • Update Rust crate serde to 1.0.137 @renovate (#102)
    • Improve: refactor operation result @witter-deland (#104)
    • Rename: rename target wasm package name @witter-deland (#103)
    • Improve block struct @witter-deland (#100)
    • Option Feature: batch transfer @witter-deland (#98)
    • Report code coverage when building @kentsday (#96)
    • Option Feature: batch mint @witter-deland (#97)
    • Update Rust crate anyhow to 1.0.57 @renovate (#94)
    • Refactor: refactor service impl @witter-deland (#95)
    • Update Rust crate serde to 1.0.136 @renovate (#83)
    • Refactor: token standard impl refactor @witter-deland (#93)
    • Improve: improve mintable @witter-deland (#92)
    Source code(tar.gz)
    Source code(zip)
    local-0.6.0.zip(2.21 MB)
  • v0.5.0(Apr 17, 2022)

    Major Updates.

    1. Blockchain support for Token, integration of the ledger design, interface optimization design
    2. TokenHolder type changed to AccountIdentifier to ensure that Principal receipts and default AccountIdentifier are consistent
    3. Use bincode serialization to optimize the size of stored data
    4. Auto-scaling failure and archiving failure of the fallback policy optimization
    5. Remove nonce, use transaction hash to do better anti-duplication
    6. Auto-scaling storage optimization

    Changes

    • Update package script config @witter-deland (#91)
    • Refactor: code clear, improve @witter-deland (#90)
    • Add pre-commit to check before git commint @kentsday (#89)
    • Github action enhancement @kentsday (#88)
    • Update version to v0.5.0 @witter-deland (#85)
    • Fix:avoid re-create storage canister when install code failed @witter-deland (#87)
    • Fix: ensure archive unlock @witter-deland (#86)
    • Fix: close #72 @witter-deland (#84)
    • Update Rust crate ic-cdk-macros to 0.5.0 @renovate (#82)
    • Clear: clear receiver code @witter-deland (#81)
    • Update Rust crate ic-cdk to 0.5.0 @renovate (#66)
    • Update Rust crate candid to 0.7.14 @renovate (#46)
    • Update:dfx 0.9.2 -> 0.9.3 @witter-deland (#78)
    • Refactor:TokenHolder type @witter-deland (#76)
    • Refactor token types @witter-deland (#75)
    • Token Standard Blockchainization @witter-deland (#74)
    • Support to generate init in Candid @kentsday (#73)
    Source code(tar.gz)
    Source code(zip)
    DFT-v0.5.0.zip(1.86 MB)
  • v0.4.0(Mar 29, 2022)

    Changes

    • Imporve: error rename @varik1770 (#65)
    • Fix did @varik1770 (#64)
    • Release v0.4.0 @varik1770 (#63)
    • Remove motoko implementation @varik1770 (#62)
    • Automated Integration Testing @varik1770 (#60)
    • Update Rust crate sha2 to 0.10.2 @renovate (#47)
    • Update Rust crate crc32fast to 1.3.2 @renovate (#45)
    • Update Rust crate anyhow to 1.0.56 @renovate (#49)
    • Refactor: add tx record type & improve management API @varik1770 (#56)
    • add scripts for BDD test @kentsday (#54)
    • Update actions/setup-dotnet action to v2 @renovate (#50)
    • Update actions/checkout action to v3 @renovate (#51)
    • Update actions/labeler action to v4 @renovate (#52)
    • Update actions/upload-artifact action to v3 @renovate (#53)
    • Update Rust crate anyhow to 1.0.54 @renovate (#48)
    • Update Rust crate ic-cdk-macros to 0.4.0 @renovate (#42)
    • Update Rust crate ic-cdk to 0.4.0 @renovate (#41)
    Source code(tar.gz)
    Source code(zip)
  • v0.3.0(Feb 4, 2022)

  • v0.2.1(Jan 26, 2022)

  • v0.2.0(Jan 25, 2022)

    Changes

    • Update Rust crate serde to 1.0.135 @renovate (#31)
    • Update Rust crate anyhow to 1.0.53 @renovate (#29)
    • Update Rust crate crc32fast to 1.3.1 @renovate (#28)
    • Feature: support nonce @varik1770 (#36)
    • Remove call support @varik1770 (#35)
    • Remove notify after transfer @varik1770 (#34)
    • Refactor: add rate_decimals to fee struct @varik1770 (#32)
    Source code(tar.gz)
    Source code(zip)
    local-0.2.0.zip(1.53 MB)
  • v0.1.4(Jan 22, 2022)

  • v0.1.3(Jan 18, 2022)

    Changes

    • Improve http interface @varik1770 (#21)
    • Update Rust crate anyhow to 1.0.52 @renovate (#8)
    • Update Rust crate serde to 1.0.133 @renovate (#16)
    • Update Rust crate crc32fast to 1.3.0 @renovate (#11)
    • Update Rust crate sha2 to 0.10.1 @renovate (#17)
    • Update Rust crate candid to 0.7.10 @renovate (#9)
    • Update Rust crate num-bigint to 0.4.3 @renovate (#15)
    • Update Rust crate hex to 0.4.3 @renovate (#12)
    • Update Rust crate ic-cdk-macros to 0.3.3 @renovate (#14)
    • Update Rust crate ic-cdk to 0.3.3 @renovate (#13)
    Source code(tar.gz)
    Source code(zip)
    local-0.1.3.zip(2.13 MB)
  • v0.1.2(Jan 15, 2022)

  • v0.1.1(Jan 7, 2022)

  • v0.1.0(Jan 6, 2022)

Owner
Deland Labs
Open Order Protocol on Dfinity
Deland Labs
NFT & Marketplace Contracts with royalties and fungible token support. Sample React app included.

NFT Market Reference Implementation A PoC backbone for NFT Marketplaces on NEAR Protocol. Reference Changelog Changelog Progress: basic purchase of NF

NEAR App Examples 156 Apr 28, 2022
ARYA Network is a polkadot/substrate based chain for Non-fungible Token platform on which we can own sell and buy the NFT's on polkadot network.

ARYA Network ARYA Network is a polkadot/substrate based chain for Non-fungible Token platform on which we can own sell and buy the NFT's on polkadot n

Pankaj Chaudhary 6 Dec 20, 2022
An all-in-one IBC protocol providing fungible token transfer, interchain account, and async query functionalities

ICS-999 An all-in-one IBC protocol providing fungible token transfer, interchain account (ICA), and query (ICQ) functionalities, implemented in CosmWa

larry 9 Apr 1, 2023
Bespoke toolkit for Non-fungible token (NFT) technology 🚀

Bespoke toolkit for Non-fungible token (NFT) technology ?? What is Onft? Instead of forcing a consensus algorithm or peer networking on you, Onft prov

Owez 5 Jan 9, 2022
Yi Token by Crate Protocol: the primitive for auto-compounding single token staking pools.

yi Yi Token by Crate Protocol: the primitive for auto-compounding single token staking pools. About Yi is a Solana primitive for building single-sided

Crate Protocol 12 Apr 7, 2022
Metaplex is a protocol built on top of Solana that allows: Creating/Minting non-fungible tokens;

Metaplex is a protocol built on top of Solana that allows: Creating/Minting non-fungible tokens; Starting a variety of auctions for primary/secondary

Metaplex Foundation 3.2k Jan 4, 2023
A contract to lock fungible tokens with a given vesting schedule including cliffs.

Fungible Token Lockup contract Features A reusable lockup contract for a select fungible token. Lockup schedule can be set as a list of checkpoints wi

null 15 Dec 16, 2022
Subsocial full node with Substrate/Polkadot pallets for decentralized communities: blogs, posts, comments, likes, reputation.

Subsocial Node by DappForce Subsocial is a set of Substrate pallets with web UI that allows anyone to launch their own decentralized censorship-resist

DappForce 74 Nov 24, 2022
All the data an IC app needs to make seamless experiences, accessible directly on the IC. DAB is an open internet service for NFT, Token, Canister, and Dapp registries.

DAB ?? Overview An Internet Computer open internet service for data. All the data an IC app needs to make a seamless experience, accessible directly o

Psychedelic 58 Oct 6, 2022
Making Token Exchange program with Solana(Rust), Web3, and Vue

Escrow program for Solana blockchain Tech stack Program (Smart Contract) Rust crates: solana-program, spl-token Solana CLI for test validator UI Types

Hoon Wee 3 May 10, 2022
Token management program (vesting and mining) implemented in Anchor

Deep Dive into Anchor by Implementing Token Management Program Author: @ironaddicteddog, @emersonliuuu [Updated at 2022.5.21] You can find the full co

Jim 31 Jun 13, 2023
Dank - The Internet Computer Decentralized Bank - A collection of Open Internet Services - Including the Cycles Token (XTC)

Dank - The Internet Computer Decentralized Bank Dank is a collection of Open Internet Services for users and developers on the Internet Computer. In t

Psychedelic 56 Nov 12, 2022
Scans the Ethereum network for USDT ERC-20 token transfer transactions

ethscan This is a Rust command line program for scanning the Ethereum blockchain for USDT transfers within a time span and amount span. prerequisites

Frank Buss 4 Oct 6, 2022
Create your personal token with rust smart contracts

Solana Rust Token ?? This application written Rust using Anchor âš“

Ritesh 6 Nov 22, 2022
Swap token protocol for cryptocurrencies, supported in cosmos network, such as UST, LUNA, LUNI, etc.

Tokenswap This is a Smart Contract built in Rust to run inside Cosmos SDK module on all chains that enable it. To understand the framework better, ple

Smart Geek 6 Dec 12, 2022
An easily deployable service to monitor mission-critical SPL token accounts

Vault watcher Monitoring critical spl-token accounts in real time Table of contents Introduction Usage Configuration Configuration examples Grafana In

null 21 Nov 29, 2022
Durudex Near Protocol Token.

Durudex Near Token ?? Prerequisites Rust Near CLI ⚙️ Build To build a token you will need to use this: cargo build --all --target wasm32-unknown-unkno

Durudex 2 May 31, 2022
shavee is a Program to automatically decrypt and mount ZFS datasets using Yubikey HMAC as 2FA or any USB drive with support for PAM to auto mount home directories.

shavee is a simple program to decrypt and mount encrypted ZFS user home directories at login using Yubikey HMAC or a Simple USB drive as 2FA written in rust.

Ashutosh Verma 38 Dec 24, 2022
Parity-Bridge — Bridge between any two ethereum-based networks

Deprecated Bridges This repo is deprecated. Originally it contained the ETH <> ETH-PoA bridge (see tumski tag). Later it was repurposed for ETH-PoA <>

Parity Technologies 314 Nov 25, 2022