An open API service indexing awesome lists of open source software.

https://github.com/delaklo/magic-8ball-on-sui

A client-only React app that uses Slush wallet signatures to generate Magic 8 Ball answers.
https://github.com/delaklo/magic-8ball-on-sui

magic8ball slush sui

Last synced: 9 months ago
JSON representation

A client-only React app that uses Slush wallet signatures to generate Magic 8 Ball answers.

Awesome Lists containing this project

README

          

# Sui Magic 8 Ball (Client-Only)

This is a **React-based Magic 8 Ball app** that uses the **Slush Wallet** to
sign messages and generate 8-ball responses

> Its a **fully client-side** application. There is **no Move contract**, no
> on-chain logic, and no backend. All behavior is local and deterministic based
> on signature data.

It's deployed on Github Pages: https://delaklo.github.io/magic-8ball-on-sui/ (switch your wallet to devnet)

- [Article on Medium](https://medium.com/@delaklovp/sui-developing-1-magic-8-ball-app-with-usesignpersonalmessage-hook-3327d2afa293)
- [Article on Paragraph](https://paragraph.com/@delaklo/sui-developing-1-magic-8-ball-app-with-usesignpersonalmessage-hook)
- [Article on Mirror](https://mirror.xyz/0x0E8A7D2E29371774f4caC2F0A935a597469a3761/irUokCv5JbswPdGzwbwTPQCQiJKOjbIFFlZsC0M0WwU)

## Features

- Magic 8 Ball experience powered by your own Slush wallet signature
- No transaction submission or on-chain storage

## How it works

1. You type in a question.
2. Your Slush wallet signs a message containing that question and a timestamp.
3. The app hashes your signature to select a response from a predefined list.
4. The answer is revealed with a magic-ball animation.