Giter Site home page Giter Site logo

originmate's Introduction

Originmate

A library of module building blocks for Move on Sui.

Movemate provides an advanced standard library of common modules in the Move ecosystem (working in tandem with the native frameworks), focusing on security, efficiency, composability, and ease of implementation.

Forked from: pentagonxyz/movemate

Modules

  • acl: Multi-role access control list (ACL).
  • bcd: Binary canonical Deserialization. Convert vector<u8> to u64 and u128.
  • bloom_filter: Space-efficient probabilistic data structure for checking if an element is part of a set.
  • box: Transfer objects with the store ability but not the key ability.
  • crit_bit: Crit-bit trees data structure. (Thanks to Econia.)
  • crit_bit_u64: Crit-bit trees data structure. (Thanks to Econia.) Uses u64 keys.
  • date: Date conversion library in Move.
  • escrow: Basic object escrow module on Sui.
  • escrow_shared: Basic object escrow module with refunds and arbitration on Sui.
  • governance: On-chain coinholder governance (store coins and other objects).
  • i64: Signed 64-bit integers.
  • i128: Signed 128-bit integers.
  • linear_vesting: Linear vesting of coins for a given beneficiary.
  • math: Standard math utilities missing in the Move language (for u64).
  • math_safe_precise: mul_div for u64s while avoiding overflow and a more precise quadratic function.
  • math_u128: Standard math utilities missing in the Move language (for u128).
  • merkle_proof: Merkle proof verification utilities.
  • pseudorandom: Pseudorandom number generator.
  • to_string: u128 to String conversion utilities.
  • vectors: Vector utilities--specifically, comparison operators and a binary search function.
  • virtual_block: Replace latency auctions with gas auctions (with control over MEV rewards) via virtual blocks.
  • object_box: An implementation of ObjectBag that constrains bag to holding only one object.
  • object_vec: An implementation ObjectTable that does not require a generic for key and it uses indexing.

Publishing

./bin/publish.sh

If you get error "Modules must all have 0x0 as their addresses." you first need to change the originmate in Move.toml to 0x0. Then you can run the publish script again. This will yield a new address where the contract is deployed. We hard code the address to Move.toml in order for other packages to be able to use this package as a dependency.

Usage

Add following dependency to your Move.toml:

[dependencies.Originmate]
git = "https://github.com/Origin-Byte/originmate.git"
rev = "<<git commit you'd like to use as a dependency>>"

originmate's People

Contributors

nmboavida avatar suficio avatar porkbrain avatar github-actions[bot] 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.