@pkg/vaults

Version 1 - mainnet - 0xa9...7ffe61

Public nameBrowse public packages

Readme

Versions

1

Dependencies

0

Dependents

0

Analytics

On the way

Vaults

A simple ACL-based vault implementation for Sui that allows whitelisted addresses to withdraw from a shared pool of funds.

What it does

  • Creates a shared vault that can hold multiple coin types
  • Only whitelisted addresses can withdraw funds
  • Anyone can deposit funds into the vault
  • The vault owner (capability holder) manages the whitelist

Use Cases

Perfect for gas pool-like implementations and generally shared fund management where you need controlled access, but too simplistic. It does not enforce custom logic like withdrawal limits.

Install

You can install this package in your Move project by calling

mvr add @pkg/vaults
Interoperating Transactions

Description

Simple ACL-based vault implementation for multi-party balances of any token type `T`. Warning: This implementation will be fully replaced by address / object balances soon!