Code Monkey home page Code Monkey logo

capsules's Introduction

Move_VM

Notification

This project is no longer in active development, however its source code is free to use by anyone building on Sui. I hope you find it useful.

Motivation

Capsules is a set of general-purpose tools for managing ownership of virtual-currencies and virtual-items in Sui.

See capsulecraft.dev for more info.

A Capsule is a programmable unit of ownership. You can do fun stuff like attach data (data intended to be consumed by external applications) define ownership rights, and configure how ownership can be transferred, such as a non-tranferrable VS sellable on open markets.

Capsule's intended primary use-case is for Web3 Gaming and collectibles.

capsules's People

Contributors

bytedeveloperr avatar paulfidika avatar stefosgeo avatar

Stargazers

baturaλp avatar 0xrinegade avatar Chen Kai avatar Channa Ly avatar HK avatar Dracooo avatar Jiege avatar 0xDon avatar likegod avatar trinh thanh binh avatar Wondong Shin avatar Vivek avatar  avatar Andrej avatar Clayon avatar AlwaysDumpling avatar  avatar Georges-Charles Brain avatar YUNG DAGGER DCK avatar  avatar mosaicRegressor avatar Anto avatar  avatar nil avatar

Watchers

Channa Ly avatar J. Morgan Lieberthal avatar mosaicRegressor avatar

capsules's Issues

Replacing ASCII with just UTF8 as the new and only 'String'?

I've been thinking about this: Move core has two 'string' libraries; ascii and utf8. Most developers will find this somewhat confusing at first. In order to reduce complexity for devs first joining, I might simply remove all support and reference to ascii, and simply refer to utf8 as 'string'. This would simplify things a bit.

The only issue with this I can think of is that some devs might want their strings to be an ascii-only subset of utf8 strings, and they might want to enforce this at the byte-level, rather than doing their own custom application-level input validation.

Thoughts?

Unit Tests for Sui_Utils

Ideally, I'd like to get a lot of the functionality in packages/sui_utils merged into the Move-core and Sui-core, but in order to do that they have to be robustly tested. These modules:

ascii2
bcs2
encode
vector2

are the most important ones. For Capsules, we might just remove ascii entirely and only focus on utf8, but it will still exist in the move-core, so it'll help people still using ascii to have some of those functions. I also think encode could be refactored and simplified some.

bcs2 should also be expanded to support more types:

MystenLabs/sui#7231

Add a delay for Airdrop

If you just requested an airdrop, there has to be a delay between when you got it and when you can sign and send a transaction using it. Otherwise you'll have no gas objects and your tx will error out in the JSONRPC call before it's even submitted.

That delay is probably like 2 - 3 seconds

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.