Open tdelabro opened 3 weeks ago
Hello, can i do this?
Hey @89oso! Thanks for showing interest. We've created an application for you to contribute to btczee. Go check it out on OnlyDust!
Hey @tdelabro I can take this up. Been working with Zig the past few weeks. I probably have a good idea how to get this done
Hey @varun-doshi! Thanks for showing interest. We've created an application for you to contribute to btczee. Go check it out on OnlyDust!
Hey @89oso, as this is an advanced issue and you have not contributed yet to the project, I will assign it to @varun-doshi and ask you to start with an easier, smaller issue.
Would it be right to assume our ScriptBuilder will only hold max of 201 opcodes at any given time?
Also something to note @tdelabro Zig seems to have an inherent issue with function chaining: https://github.com/ziglang/zig/issues/5705
I've come up with 2 ways to use the ScriptBuilder. Will clarify in my PR. We can choose whichever seems to be simpler syntax wise
Currently we create scripts in order to test our opcodes implementation. It is done with a []u8 looking like this:
Where everything (opcode and data) is written as u8. This is unreadable and unmaintainable.
I want it to look like this:
Create in as an independent lib,
script/