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

Adding multiple thread contracts #6

Open
pablosymc opened this issue Mar 5, 2023 · 0 comments
Open

Adding multiple thread contracts #6

pablosymc opened this issue Mar 5, 2023 · 0 comments

Comments

@pablosymc
Copy link

pablosymc commented Mar 5, 2023

First let me say that I find this repo to be quite fascinating in terms of the approach to minting using a Smart Contract (threads). I have a question however!

When I go to create the /initialize page and create the token with too many threads it gives the error (for example):

Maximum transaction size of 16384 exceeded. Found: 34125

I'm wondering if it would be possible to deploy multiple thread contracts instead of just 1, with each thread contract controlling a specific set of datums (Splitting up the policy NFT's into each). My thought process here is that, for a small mint with say 100 NFT's and 10 threads, you can expect things to be fine during a mint, but let's say you had 5000 NFT's instead with only 10 threads, you start to get a ton of UTXO contention.

Would having multiple thread contracts (to have less UTXO contention), be worth paying the upfront thread seed tx's costs?

Hopefully what i'm asking makes sense.. new to all this smart contract stuff 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant