Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give us your best Inscription examples! will be added to documentation for Issue 949 #3769

Merged
merged 25 commits into from
Sep 13, 2024

Conversation

cryptoni9n
Copy link
Collaborator

@cryptoni9n cryptoni9n commented May 20, 2024

The purpose of this PR is to gather good examples for Issue #949

Please submit feedback of any on-chain inscriptions that you feel make exemplary use of following inscription technologies for their respective areas of documentation:

  1. Inscriptions

    3.1. Delegate
    3.2. Metadata
    3.3. Pointer
    3.4. Provenance
    3.5. Recursion

    • a) Remixing the content of existing inscriptions.
    • b) Publishing snippets of code, images, audio, or stylesheets as shared public resources.
    • c) Generative art collections where an algorithm is inscribed as JavaScript, and instantiated from multiple inscriptions with unique seeds.
    • d) Generative profile picture collections where accessories and attributes are inscribed as individual images, or in a shared texture atlas, and then combined, collage-style, in unique combinations in multiple inscriptions.

    3.6. Rendering

Updating the list below with all submissions:

Delegation:

  • This inscription was inscribed as a delegate of this inscription and is also the parent inscription of a rune.
  • The collection Oscillations * utilizes delegate, provenance, recursion, sat-endpoint, and detects the kind of sat that each piece is inscribed on (sattribute-aware). Each piece is a delegate of this inscription.

Metadata:

Pointer:

Provenance:

Recursion

  • The Abstractii Evolved generative collection uses the recursive blockheight endpoint as a seed
  • (b) This code is called recursively in this inscription
  • (b) This code is called recursively in this inscription allowing it to operate as a drawing program.
  • (b&c) Blob is a generative collection that seeds generation with metadata. It also uses delegation as the rendering engine. The Delegate is updatable with the sat endpoint. Delegate uses threeJS, React 3 Fiber and other libraries via recursion. Also each blob is on a satname starting with blob
  • (c) Abstractii Genesis uses the inscriptionID as a seed
  • (d) OnChainMonkey

Rendering:

@cryptoni9n cryptoni9n changed the title Initial commit for discussion PR on Issue 949 Give us your best Inscription examples! will be added to documentation for Issue 949 May 20, 2024
@phorkish
Copy link
Contributor

Here's an inscription that I made that uses recursion, delegation and metadata. And also provenance if you count the structure of its dependencies.

https://ordinals.com/inscription/4fb16cb8362e117f671fdbc105d6738887cd58432d25cec328212e217426f4fdi0

Each inscription is a full application that reads in the metadata and uses it to draw pixel art. The idea is that you can delegate to this inscription with your own metadata and it'll render your pixel art. If you hover over the inscription there's a menu in the top right, which opens up a drawing tool that generates the metadata that you need to inscribe.

For example, I redrew my Bandit here

https://ordinals.com/inscription/454700af2cffd3a872daeb89598a891f5fe9936225838a8c4522f491f246ca0ai0

@elocremarc
Copy link
Contributor

Bitcoin Magazine Cover

Child endpoint where the children are rendered into the parent inscription.
https://ordinals.com/inscription/60902330

Blob

https://ordinals.com/inscription/b10b00bfb146fee3e86d6cbd8e8c954c485da41be480c0b21a6a63de7986892bi0
Generative collection that seeds generation with metadata It also uses delegation as the rendering engine. The Delegate is updatable with the sat endpoint. Delegate uses threeJS, React 3 Fiber and other libraries via recursion. Also each blob is on a satname starting with blob

Sat endpoint:
https://ordinals.com/sat/1749358685368819

Delegate:
https://ordinals.com/inscription/bc6b4132d7772e78eb4b8390ebe9970c6e5315ec0e0f644a88b4e5b35ced43d3i0

Parent:
https://ordinals.com/inscription/648f02fbb36d7841dbf629966ea9c82a60255044fbdd09b31533c0b9fafa573di0

Abstractii Genesis

A generative collection that uses inscriptionId as seed
https://ordinals.com/inscription/b2de70a5658d3659b74a9a349e02ed9396318eab844073b6f35e726dea9e103ei0

Abstractii Evolved

A generative collection that uses blockheight as a seed
https://ordinals.com/inscription/c56795a454a30bb6866686770f14d015d53f3cf2ddfa5154e34a7cd1120a51efi0

Rug Me

Child endpoint and Sat endpoint example collection
Collector can update background color by inscribing a child
Creator can "rug" collection by inscribing an additional image onto the entire collection using the sat endpoint
https://ordinals.com/inscription/f87a6b16a1224b65f9c8ea55e1718585b3075373581689e343860c12a70d15c7i41

@cryptoni9n
Copy link
Collaborator Author

thanks @phorkish & @elocremarc for the excellent examples! I've incorporated them into the list in the OP.

@matthewvollmer
Copy link

*Oscillations

My collection Oscillations * utilizes delegate, provenance, recursion, sat-endpoint, and detects the kind of sat that each piece is inscribed on (sattribute-aware).

Collection Link: https://gamma.io/ordinals/collections/oscillations-mdv
The 500 different pieces are on 7 different types of sats, each with different generative engine parameters.

@cryptoni9n
Copy link
Collaborator Author

cryptoni9n commented May 23, 2024

thanks matthewvollmer, I've added your examples to the list in the OP! I think I minted some runes that are associated with this collection, RUNIC•SUBSTANCE?

@cryptoni9n
Copy link
Collaborator Author

seems like we may have all of the suggestions we're going to get so I'll start working on trying to integrate these examples into the docs.

@cryptoni9n cryptoni9n closed this Jun 10, 2024
@cryptoni9n cryptoni9n reopened this Jun 10, 2024
@cryptoni9n cryptoni9n closed this Jun 10, 2024
@cryptoni9n cryptoni9n reopened this Jun 10, 2024
@cryptoni9n cryptoni9n marked this pull request as ready for review June 10, 2024 16:55
@cryptoni9n cryptoni9n requested a review from casey June 10, 2024 16:56
@cryptoni9n
Copy link
Collaborator Author

Hi @casey & @raphjaph - I've incorporated the suggestions we received here into the docs. Please review and let me know if there are any edits or changes that you'd prefer.

@lifofifoX
Copy link
Collaborator

Spellbound

https://ordinals.com/children/451accbce30177c23a8cd42ab85131312a449359ada3c054aa147b054136fa3bi0

Utilizes recursion, delegation, metadata, parent/child, postage, location, compression. Background here https://x.com/lifofifo/status/1767059753555853656

@DrJingLee
Copy link
Contributor

Actully GPU Ordinals by Anarkoic is another cool collection ,here are some self-intro from the Magic Eden:

GPU Ordinals by Anarkoic is the first ever WebGPU Ordinals collection. WebGPU is the new technology that provides high-throughput use of GPU's for graphics and even computation, & can enable high-performance Metaverses and LLM AI's on Bitcoin. This immersive, interactive 3D collection also features Grandparent-Grandchild Inscription, Spatial Audio, Real-time Block Streaming & introduces Super-Recursion. Max Supply 2100.

https://magiceden.io/ordinals/marketplace/gpu

@cryptoni9n cryptoni9n marked this pull request as draft August 9, 2024 02:34
adding Spellbound collection from Wizards of Ord
@cryptoni9n
Copy link
Collaborator Author

Spellbound

https://ordinals.com/children/451accbce30177c23a8cd42ab85131312a449359ada3c054aa147b054136fa3bi0

Utilizes recursion, delegation, metadata, parent/child, postage, location, compression. Background here https://x.com/lifofifo/status/1767059753555853656

added under provenance

@cryptoni9n
Copy link
Collaborator Author

Actully GPU Ordinals by Anarkoic is another cool collection ,here are some self-intro from the Magic Eden:

GPU Ordinals by Anarkoic is the first ever WebGPU Ordinals collection. WebGPU is the new technology that provides high-throughput use of GPU's for graphics and even computation, & can enable high-performance Metaverses and LLM AI's on Bitcoin. This immersive, interactive 3D collection also features Grandparent-Grandchild Inscription, Spatial Audio, Real-time Block Streaming & introduces Super-Recursion. Max Supply 2100.

https://magiceden.io/ordinals/marketplace/gpu

I agree there are a lot of cool things about this collection, but I'm not sure where best to place this as an example. Perhaps @Anarkoic can provide some information here about 'super recursion' so I don't miscommunicate?

@cryptoni9n cryptoni9n marked this pull request as ready for review August 12, 2024 15:01
@cryptoni9n
Copy link
Collaborator Author

Hi, thanks Super-Recursion leverages "Recursion" and mutates it. Content is pulled in from the recursion url and then changed before rendering. In this case the large WebGPU Three.js inscription used by the collection is leveraged, and changes developed post-inscription are used without having to reinscribe the large dependent inscription.

added to recursion.md

@cryptoni9n
Copy link
Collaborator Author

OK, this is really ready for review this time @casey - please let me know if there are any changes you'd like.

casey
casey previously requested changes Aug 16, 2024
Copy link
Collaborator

@casey casey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good, but I think I would prefer all the examples to be in a single section of the documentation, probably docs/src/inscriptions/examples.md.

If someone is interested in a particular feature, then having the example in the section for that feature is useful, but if they're just interested in features of ordinals generally, then being able to browse them all on a dedicated page is nice.

@raphjaph raphjaph added the stream label Sep 3, 2024
@mutabletrees
Copy link

You can't not include the first recursive inscription in the recursive section. Just saying.
https://ordinals.com/inscription/bf637552f3758e20f733d1f250cbea7cbbb4bbf157a8d4a9c26132950a383415i0

correcting links, headers and typos.  

added inscription 12992 to recursive section
@cryptoni9n
Copy link
Collaborator Author

keep getting these weird lint failures on src/index.rs, which is not a part of this PR.

Checking update-contributors v0.0.0 (/home/runner/work/ord/ord/crates/update-contributors)
error: the borrowed expression implements the required traits
--> src/index.rs:4518:53
|
4518 | inscription("text/plain;charset=utf-8", &format!("hello {}", i)).to_witness(),
| ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: format!("hello {}", i)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: -D clippy::needless-borrows-for-generic-args implied by -D warnings
= help: to override -D warnings add #[allow(clippy::needless_borrows_for_generic_args)]

error: could not compile ord (lib test) due to 1 previous error
Error: Process completed with exit code 101.

going to close/reopen this PR to re-initiate the checks.

@cryptoni9n cryptoni9n closed this Sep 6, 2024
@cryptoni9n cryptoni9n reopened this Sep 6, 2024
@cryptoni9n
Copy link
Collaborator Author

getting identical failures 3 times in a row now. @raphjaph / @casey - would one of you please take a look and let me know what you think is going wrong here?

@casey
Copy link
Collaborator

casey commented Sep 6, 2024

@cryptoni9n This was due to a recent rust update which caused a clippy lint to fail. Just merged #3937 to fix it.

Copy link
Collaborator

@raphjaph raphjaph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are great, thanks for aggregating these!

@raphjaph raphjaph enabled auto-merge (squash) September 13, 2024 11:29
@raphjaph raphjaph merged commit 5953cca into ordinals:master Sep 13, 2024
5 checks passed
@cryptoni9n cryptoni9n deleted the issue949 branch September 13, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

10 participants