Skip to content

Instantly share code, notes, and snippets.

Sui Move instructions (.move files):
- Sui is an object-oriented blockchain. Sui smart contracts are written in the Move language.
- Sui's object ownership model guarantees that the sender of a transaction has permission to use the objects it passes to functions as arguments.
- Sui object ownership model in a nutshell:
- Single owner objects: owned by a single address - granting it exclusive control over the object.
- Shared objects: any address can use them in transactions and pass them to functions.
- Immutable objects: like Shared objects, any address can use them, but they are read-only.
@juzybits
juzybits / sui_explorer_custom_search_engines.txt
Last active April 2, 2024 12:28
Sui Explorer - Custom Search engines
Instead of going to the explorer's website and entering the address/transaction/object
in the search bar, you can simply type the following in your browser address bar:
"suia" + [address]
"suio" + [object]
"suit" + [transaction]
(Bonus tip: use "Ctrl + L" or "⌘ + L" to jump to the browser address bar)
To add custom search engines to your Chromium browser, go to "Settings > Search engine >
@juzybits
juzybits / twitter-report.js
Last active September 10, 2023 03:50 — forked from banteg/twitter-report.js
report tweet as spam and block its author
/*
A script to report a tweet as spam and block its author.
It is meant to be run from the browser console.
How to use:
1) On Twitter, click "Report post"
2) Copy-paste this script into the console
*/
function waitForElement(selector) {