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

Make it easier to build deployment transactions #64

Open
blckngm opened this issue Apr 19, 2023 · 1 comment
Open

Make it easier to build deployment transactions #64

blckngm opened this issue Apr 19, 2023 · 1 comment

Comments

@blckngm
Copy link
Contributor

blckngm commented Apr 19, 2023

I find it really useful to have the following functions when building custom deployment tools. It may worth adding similar functions to ckb-sdk:

Maybe we should also add a function that adds the next output as a type id cell with some specified lock and data, given a transaction that has at least one input.

@blckngm
Copy link
Contributor Author

blckngm commented Jul 18, 2023

I see that there's new transaction builders like SimpleTransactionBuilder now. The second function can be added to these builders.

I see that type id is supported by TypeIdHandler, but IMO the handler mechanism is complicated and not well-documented. The current implementation doesn't support multiple type-id outputs or updating type-id cells either. I'd still prefer to have a builder that let me add inputs manually and calculate the type-id type script myself.

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