--- Log opened Tue Feb 22 00:00:06 2022 01:59 -!- pigeons [~pigeons@androzani.sysevolve.com] has quit [Ping timeout: 268 seconds] 02:42 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined ##ctv-bip-review 08:02 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Quit: ZNC - http://znc.sourceforge.net] 08:02 -!- luke-jr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 11:18 -!- pigeons [~pigeons@androzani.sysevolve.com] has joined ##ctv-bip-review 11:57 -!- prayank [~andr0irc@45.64.9.55] has joined ##ctv-bip-review 11:59 < jeremyrubin> good day people 11:59 -!- ryanthegentry [~ryanthege@2600:1700:14d0:65e0:ace8:3f91:19f6:3717] has joined ##ctv-bip-review 12:00 < jeremyrubin> #startmeeting 12:00 < jeremyrubin> gm 12:00 < prayank> hi 12:00 < ryanthegentry> ga 12:00 < jeremyrubin> Today's format is a bit different than usual, as we'll mostly be working through some more hands on stuff / playing / Q&A 12:01 < jeremyrubin> #topic Signet, what is it good for? (20 m) 12:01 < jeremyrubin> - Do we have a "decision function" of observations from a test network? 12:01 < jeremyrubin> - What applications should be prototyped/fleshed out? 12:01 < jeremyrubin> - What level of fleshed out matters? 12:01 < jeremyrubin> - Should we add other experiments in the mix on this net, like APO/Sponsors? 12:01 < jeremyrubin> - Should we get e.g. lightning working on this signet? 12:02 < jeremyrubin> CTV has had a functioning signet for a while now (altho it had some issues early on), but it's not seen much use. Do people have thoughts around what it means practically for a Signet/Liquid/Testnet/etc w/ CTV to yield a positive or negative result? 12:02 < jeremyrubin> What's the scientific process here? 12:04 -!- rgrant [~rgrant@user/rgrant] has joined ##ctv-bip-review 12:04 < rgrant> hi 12:04 < jeremyrubin> hi! 12:04 -!- l_sx01 [sid489830@id-489830.helmsley.irccloud.com] has joined ##ctv-bip-review 12:05 < jeremyrubin> rgrant: plz see backlog in https://gnusha.org/ctv-bip-review as i think you'll have some thoughts on current topic 12:05 < rgrant> ok 12:06 < prayank> signet is good for testing, easier to sync and lot of things better than testnet. Always better to test things for a soft fork on such chain apart from regtest. 12:06 < ryanthegentry> scientific process is tough. Obvious best case scenario is a bunch of devs start building prototypes in Sapio, deploying to Signet, and clamoring for 'wen mainnet'. 12:07 < ryanthegentry> maybe closest precedent is LN deploying first on Litecoin while waiting for Segwit? Only one I can think of off the top of my head 12:08 < jeremyrubin> did LN deploy on LTC? 12:09 < ryanthegentry> people forget! 12:09 < ryanthegentry> https://lightning.engineering/posts/2017-11-16-ln-swap/ 12:09 < jeremyrubin> i guess the main issue is the "nothing at stake" problem... 12:09 < jeremyrubin> would be interesting if we did a signet with a peg to btc 12:09 < jeremyrubin> but cats kinda out of the bag on that unless we restart (since i've given away a lot of coins) 12:10 < rgrant> i'd like to see shared-UTXO payment pools fleshed out, for sure. any additional simulation of eltoo-like features (using any mechanism) on top would be very illustrative. people want these things and they don't know how to best get them. 12:11 < jeremyrubin> it does seem like a signet with a bevy of features might be more popular for devs than just CTV 12:11 < jeremyrubin> e.g. adding CSFS, APO, Sponsors, etc 12:11 < jeremyrubin> but then does the results from that have any merit for a CTV-alone activation? 12:12 < ryanthegentry> yes if the only thing that gets used is CTV :) 12:12 < rgrant> right now it takes a lot of brainpower and reading to model the effects of various opcodes. a place that offered concrete illustrations of things that can be done would help people's imaginations along. 12:12 < jeremyrubin> ryanthegentry: i think ctv would be the only thing used... 12:12 < jeremyrubin> because none of the other things (except sponsors) have any infra built for them yet 12:13 < jeremyrubin> so the cold start for them is probably months/years out 12:14 < ryanthegentry> far future: would be cool to have a signet with multiple competing implementations for coinpools/payment pools running on the same network to compare like for like 12:14 < rgrant> ryanthegentry: +1 12:14 < ryanthegentry> but probably out of scope for this specific discussion 12:15 < jeremyrubin> i think it's back to the 'would like alternatives fleshed out' 12:15 < jeremyrubin> CTV / Sapio has basic working coinpool code (you may need to get hands dirty with psbts tho) 12:16 < jeremyrubin> whereas new stuff is probably a lot greener / would take years to apple to apple it 12:16 < jeremyrubin> e.g., imagine if we had multiple competing LNs before any LN forks 12:17 < jeremyrubin> in theory i agree thi 12:17 < rgrant> happy to dive further into psbts. 12:17 < jeremyrubin> more testing, more experimenting 12:17 < jeremyrubin> but want to know concretely what to do in this moment 12:18 < ryanthegentry> iirc a lot of early LN prototypes were betting games 12:18 < jeremyrubin> mod: 1 min 12:19 < ryanthegentry> maybe a coinflip game deployed to Signet would be interesting? get coins from faucet, go to website, bet from within the coinpool or w/e 12:19 < rgrant> i think improving LN is top priority for everyone. it's more concrete and near-term than coin pools, which stil sound exotic. 12:19 < jeremyrubin> ryanthegentry: +1 good idea, having more "click to get contract" faucets is cool 12:20 < ryanthegentry> rgrant: there is this signet-based bitcoin/lnd package that could maybe be repurposed: https://plebnet.wiki/wiki/Plebnet_Playground/en 12:20 < jeremyrubin> #topic: connecting to signet 12:20 < jeremyrubin> Hows that going for y'all? 12:20 < jeremyrubin> anyone having any issues? 12:20 < prayank> No issues 12:21 < jeremyrubin> anyone want me to send them more coinz 12:21 < ryanthegentry> no issues after I realized I needed signet=1 in my bitcoin.conf ^_^ 12:21 < jeremyrubin> there is also https://faucet.ctvsignet.com 12:21 < prayank> jeremyrubin: yes 12:23 < jeremyrubin> send addresses? 12:23 < jeremyrubin> if you send me 10,000 addresses I will send you 0.1 coins per address 12:24 < prayank> Will share after this meeting :) 12:25 < jeremyrubin> may be in a congestion control tree tho :) 12:26 < prayank> I hope bitcoind and qt works with 10k UTXO 12:26 < jeremyrubin> i can send fewer, too 12:27 < jeremyrubin> any other issues/gotchas or anything anyone had? 12:28 < jeremyrubin> RubenSomsen had a good suggestion to change the default params so you don't need to set anything special 12:29 < jeremyrubin> mod: 1 min 12:30 < jeremyrubin> okey 12:30 < jeremyrubin> #topic sending receiving coins? (5 mins) 12:30 < jeremyrubin> I think everyone who wanted them and is here has em 12:31 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 12:31 < jeremyrubin> i sent myself several thousand coins https://explorer.ctvsignet.com/blocks 12:32 < jeremyrubin> you can see the CTV-ness here https://explorer.ctvsignet.com/tx/f467e80a755c600c87fc99dd3fbacc3c64a715fb3dc361ed88f3848f73a21400 12:32 -!- criptoluis [~criptolui@186.32.73.228] has joined ##ctv-bip-review 12:32 < jeremyrubin> OP_PUSHBYTES_32 8d196a64b3a0d69048be44774be1c0755cc83bf678b6700fbb08e8545dc6b05c OP_NOP4 OP_DROP OP_PUSHNUM_1 12:32 < jeremyrubin> it gets generated like that because of miniscript, in theory the drop/pushnum is redundant 12:33 < jeremyrubin> Taproot support Soon™ 12:33 < jeremyrubin> (just updated all deps to master on rust-bitcoin, but will be rough b/c poor support of taproot on other tools and stuff) 12:33 < jeremyrubin> mod: 1 min left 12:34 < jeremyrubin> btw for newcomers bucko criptoluis LMK if you need ctv-sBtc 12:34 < bucko> Yeah, it's a shame there's not taproot support in rust bitcoin yet, would be great for testing some of the dlc ideas 12:34 < jeremyrubin> it's close! 12:35 < jeremyrubin> just not released 12:35 < bucko> oh that's good. Who's working on it? 12:35 < jeremyrubin> so we have alphas out for the sapio flavoured stuff 12:35 < jeremyrubin> bucko a lot of people, incl yours truly (mostly review/testing)\ 12:36 < jeremyrubin> #topic sapio tutorial 12:36 < jeremyrubin> did everyone see the guide on the mailing list? 12:36 < ryanthegentry> yep! 12:36 < prayank> Yes 12:36 < jeremyrubin> let's roll through it! 12:36 < jeremyrubin> -1: everyone has JQ? 12:37 < jeremyrubin> brew install jq / sudo apt install jq etc 12:37 < jeremyrubin> very useful tool 12:37 < jeremyrubin> 0: everyone should have their signet node/coins from the faucet? 12:38 < prayank> Yes 12:38 < jeremyrubin> if you need me to send you any just paste an addr in / use https://faucet.ctvsignet.com 12:38 < jeremyrubin> 1. Follow the install instructions on https://learn.sapio-lang.org/ch01-01-installation.html You can skip the the sapio-studio part / pod part and just do the Local Quickstart up until "Instantiate a contract from the plugin". You'll also want to run cargo build --release from the root directory to build the sapio-cli. 12:39 < jeremyrubin> this step is a little tougher since sometimes people need to fix their clang / wasm targets and stuff 12:39 < jeremyrubin> anyone facing difficulties here? 12:39 < ryanthegentry> issue: I'm on MacOS without an M1, and my clang is in /usr/bin/ instead of /opt/homebrew/opt/llvm/bin/clang :( 12:40 < jeremyrubin> clang --version? 12:40 < ryanthegentry> Apple clang version 11.0.3 (clang-1103.0.32.62) 12:40 < ryanthegentry> Target: x86_64-apple-darwin19.6.0 12:40 < ryanthegentry> Thread model: posix 12:40 < ryanthegentry> InstalledDir: /Library/Developer/CommandLineTools/usr/bin 12:41 < ryanthegentry> cargo build fails at `error: failed to run custom build command for `sapio-secp256k1-sys v0.21.4`` 12:41 < jeremyrubin> ok 12:41 < jeremyrubin> brew install llvm 12:41 < jeremyrubin> and then you should be able to do something like 12:42 < jeremyrubin> export PATH="/opt/homebrew/opt/llvm/bin:$PATH" 12:42 < jeremyrubin> export CC=/opt/homebrew/opt/llvm/bin/clang 12:42 < jeremyrubin> export AR=/opt/homebrew/opt/llvm/bin/llvm-ar 12:42 < jeremyrubin> you'll now have two copies of clang, one for your system install, the other for brew 12:42 < ryanthegentry> yeah so I've followed those instructions, problem is I don't even have /opt/homebrew as a dir. Probably user error, no need to hold up meeting with it 12:42 < jeremyrubin> you can pop those lines in your bashrc/zshrc whatever, and forget about it... or just re-run that before any time you compile 12:42 < jeremyrubin> gotcha 12:42 < jeremyrubin> ryanthegentry: this is the point of this meeting 12:43 < jeremyrubin> so you should have a homebrew folder somewhere 12:43 < jeremyrubin> brew --prefix 12:43 < jeremyrubin> try that, it should tell you where to look? 12:44 < ryanthegentry> output: /usr/local 12:44 < jeremyrubin> do you have /usr/local/Cellar/? 12:44 < jeremyrubin> or /usr/local/opt? 12:44 < jeremyrubin> packages may be in there 12:44 < jeremyrubin> poke around :) 12:44 < ryanthegentry> Cellar 12:44 < jeremyrubin> yep! 12:45 < jeremyrubin> so you should have something in there, just inspect and see if you can find llvm/bin/clang 12:45 < jeremyrubin> 2. Open up the site https://rjsf-team.github.io/react-jsonschema-form/ 12:45 < ryanthegentry> got it: /usr/local/Cellar/llvm/13.0.1/bin/clang 12:45 < jeremyrubin> ryanthegentry: keep us updated, proceeding 12:45 < jeremyrubin> sweet -- just change the PATH/CC/AR above to match the locations for each 12:45 < ryanthegentry> 👍 12:46 < jeremyrubin> so the site is "react jsonschema form" 12:46 -!- lukedashjr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 12:46 < jeremyrubin> Sapio modules can output jsonschemas to take args 12:46 < jeremyrubin> this helps with UXs/validation/APIs that are self documented 12:46 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 240 seconds] 12:46 -!- criptoluis [~criptolui@186.32.73.228] has quit [Quit: Client closed] 12:46 < jeremyrubin> this little site, you can paste in a jsonschema, and it helps you fill it out 12:47 < jeremyrubin> it's a _little_ buggy tho, so i think some of the default state may need to be erased by hand 12:47 < jeremyrubin> 3. Run sapio-cli contract api --file plugin-example/target/wasm32-unknown-unknown/debug/sapio_wasm_plugin_example.wasm 12:47 < jeremyrubin> your sapio-cli binary should be in ./target/release/sapio-cli 12:48 < jeremyrubin> you can also do 'cargo run sapio-cli' but then it's slower / may rebuild... i prefer doing the binary directlhy 12:48 -!- lukedashjr is now known as luke-jr 12:48 < prayank> Mine is in /target/debug 12:48 < jeremyrubin> prayank build with 'cargo build --release' 12:48 < prayank> Okay 12:48 < jeremyrubin> otherwise debug build is fine, just a lot slower 12:49 < jeremyrubin> everyone should be able to see an API pop out when you run that command (LMK if you get it or not) 12:50 < prayank> Yes. More examples could be helpful or maybe they already exist in docs and I need to go through everything. 12:50 < _0x0ff> i'm just in time, this is the part where i stopped working through after reading your email :) 12:52 < jeremyrubin> prayank: yes you can do this workflow with any of the .wasm blobs that get build in the plugin_example/target :D 12:52 < jeremyrubin> _0x0ff excellent! 12:52 < jeremyrubin> prayank: you got the API? 12:53 < jeremyrubin> bucko rgrant ryanthegentry status check :) 12:53 < jeremyrubin> i need a drone to hover over y'alls shoulders :p 12:54 < bucko> didn't have a chance to do the homework so I'm still building things :D. Will have a signet address soon though I hope 12:54 < ryanthegentry> clang stuff worked! catching up now ty 12:54 < jeremyrubin> amazing 12:54 < jeremyrubin> https://meet.google.com/xuy-xebf-fze 12:54 < jeremyrubin> if anyone needs to screen share for support 12:55 < prayank> jeremyrubin: sapio-cli works for me. I didn't try creating a contract right now but tried earlier. 12:56 < jeremyrubin> prayank: did you broadcast it to signet :D 12:56 < prayank> jeremyrubin: nope not yet on signet. Last time I tried it was regtest. 12:57 < jeremyrubin> prayank: lets get you to be one of the first not-me people to do a contract on signet :) 12:57 -!- rgrant_ [~rgrant@user/rgrant] has joined ##ctv-bip-review 12:58 -!- rgrant [~rgrant@user/rgrant] has quit [Ping timeout: 240 seconds] 13:02 < jeremyrubin> hows everyone 13:02 < bucko> building... building... 13:03 < rgrant_> i'm cheating. i found an old directory that compiles. sapio-cli 0.1.0 Beta 13:03 < _0x0ff> i got the API, pasted it into that rjsf website, edited the form to get similar json output as the one you've sent in the email 13:03 < ryanthegentry> w00t: Finished release [optimized] target(s) in 8m 06s 13:03 < jeremyrubin> amazing! 13:03 < jeremyrubin> rgrant_: that won't work 13:03 < _0x0ff> i feel like im missing some context around what some of the arguments mean (tree branching factor, relative timelock backpressure etc.) 13:03 < rgrant_> i'm updating. 13:03 < jeremyrubin> this is alpha software; please build the latest lol 13:04 < prayank> What is the location for wasm examples? 13:04 < jeremyrubin> _0x0ff: well one thing that would help is to read the source :D 13:04 < jeremyrubin> sapio/plugin-example/treepay 13:04 < jeremyrubin> but yeah the docs could be better 100% 13:05 < _0x0ff> i didnt get that far yet hehe 13:05 < jeremyrubin> Ok so now it seems like people kinda have stuff working / available, and have the JSON 13:05 < _0x0ff> just braindumping things as i work through 13:05 < jeremyrubin> (you can copy the one from the email if you just want to follow along / not play with the web form) 13:06 < jeremyrubin> 6. Copy the JSON and paste it into a file ARGS.json (somewhere on your computer) 13:06 < jeremyrubin> you can also, if you want, just edit the fields by hand 13:06 < jeremyrubin> 7. Find your sapio-cli config file (mine is at ~/.config/sapio-cli/config.json). Modify it to look like (enter your rpcauth credentials): 13:06 < ryanthegentry> sorry, another stupid question: running the suggested sapio-cli command, and seeing "command not found: sapio-cli" so I guess it's not in my 13:07 < ryanthegentry> PATH... where would sapio-cli be built to? 13:07 < jeremyrubin> ./target/release/sapio-cli! 13:07 < jeremyrubin> in the rust project root 13:07 < ryanthegentry> got it, ty 13:07 < jeremyrubin> the config might also be at ~/Library/Application\ Support/org.judica.sapio-cli/config.json 13:07 < jeremyrubin> "auth": { 13:07 < jeremyrubin> "CookieFile": "/Users/jr/Library/Application Support/Bitcoin/regtest/.cookie" 13:07 < jeremyrubin> } 13:07 < jeremyrubin> that's also an allowed setting :) 13:07 < ryanthegentry> ./target/release/sapio-cli! 13:07 < ryanthegentry> worked! 13:07 < jeremyrubin> (wherever your .cookie is located for signet...) 13:08 < jeremyrubin> if you don't want to do rpcauth.py 13:08 < jeremyrubin> doing this enables sapio-cli to speak with your node (that is running?) 13:09 < jeremyrubin> and it ensures that we are using CTV, and not a CTV emulator 13:09 < jeremyrubin> if you want multiple configs, sapio-cli accepts --config arg too :) 13:11 < jeremyrubin> once you've done that, cat ARGS.json| ./target/release/sapio-cli contract create --file plugin-example/target/wasm32-unknown-unknown/debug/sapio_wasm_plugin_example.wasm | jq > UNBOUND.json 13:11 < jeremyrubin> this takes ARGS.json and pipes it into sapio to build the treepay 13:11 < jeremyrubin> it then pipes into JQ to be pretties, and writes it to unbound 13:12 < jeremyrubin> this is the first step in a contracts life 13:12 < jeremyrubin> create(ARGS, wasm_module) -> unbound contrct 13:12 < jeremyrubin> you can peep the json (cat UNBOUND.json | jq) 13:12 < jeremyrubin> it is full of... stuff 13:13 < jeremyrubin> this is instructions on what the contract is/does and internal representations useful for tools 13:13 < jeremyrubin> pausing for people to catch up 13:14 < _0x0ff> i keep getting `parse error: Invalid numeric literal at line 1, column 6` 13:15 < jeremyrubin> is your config json a valid json? 13:15 < jeremyrubin> e.g. can you still run the contract api command? 13:18 < _0x0ff> this is is the json in my ARGS.json: https://dpaste.org/f501 13:18 < _0x0ff> it's a valid json 13:18 < _0x0ff> will try adding the effects into it 13:18 < jeremyrubin> what about your config.json? 13:19 < bucko> Note to self: don't skip steps in the instructions. 13:20 < _0x0ff> config is also a valid json 13:20 < jeremyrubin> huh 13:20 < jeremyrubin> what command are you running when you get that error? 13:21 < _0x0ff> cat ARGS.json | ./sapio/target/debug/sapio-cli contract create --file sapio/plugin-example/target/wasm32-unknown-unknown/debug/sapio_wasm_plugin_example.wasm | jq > UNBOUND.json 13:21 < jeremyrubin> can you share screen in the google meet? 13:21 < jeremyrubin> that looks correct 13:22 < _0x0ff> sec, i need to reconnect - audio wasnt working before for me so i left 13:24 < prayank> I am on step 7 of your last email. Not sure if the json is correct. 13:25 < jeremyrubin> the config.json? 13:26 < prayank> No the json I got earlier from that site 13:26 < _0x0ff> lol, sharing screen crashed my computer - damn you linux weirdness 13:27 < prayank> Port will be 38332 I guess in step 7 13:28 < jeremyrubin> yes 13:28 < jeremyrubin> if you use a diff port must adjust 13:29 < ryanthegentry> dang got all the way to step 10, then this: TX decode failed invalid base64 13:29 < jeremyrubin> that's actually OK 13:29 < jeremyrubin> can you peel off the final commands one by one 13:30 < jeremyrubin> i will retest it 13:30 < jeremyrubin> most likely you just need to put an xargs echo between one of the commands 13:30 < jeremyrubin> (stupid, but JQ extracts "string" and not string for the next commmand) 13:31 < ryanthegentry> yeah so it works if I end at `jq ".psbt"` 13:31 < jeremyrubin> cool 13:32 < jeremyrubin> plz try adding | xargs echo 13:33 < ryanthegentry> in between jq ".psbt" and the finalize psbt command? 13:33 < jeremyrubin> what's the output of .psbt? 13:34 < jeremyrubin> is it "some psbt base64 thing" or some psbt base64 thing 13:35 < ryanthegentry> the former 13:35 < ryanthegentry> "cHN...gAA=" 13:35 < jeremyrubin> i think an xargs echo should fix it 13:35 < jeremyrubin> so do it as | xargs echo | in between the commands 13:35 < jeremyrubin> these bash pipelines are :/ 13:36 < ryanthegentry> so this: `src % cat BOUND.json | jq ".program[\"funding\"].txs[0].linked_psbt.psbt" | xargs echo | xargs -I% ./bitcoin-cli -signet utxoupdatepsbt % | xargs -I% ./bitcoin-cli -signet walletprocesspsbt % | jq ".psbt" | xargs echo | xargs -I% ./bitcoin-cli -signet finalizepsbt % | jq ".hex"` 13:36 < jeremyrubin> yes sir lets try that 13:36 < ryanthegentry> still returns: `TX decode failed invalid base64` 13:36 < jeremyrubin> weird 13:37 < jeremyrubin> can you copy the PSBT to your clipboard and then try pasting it into finalizepsbt directly ? 13:37 < jeremyrubin> bitcoin-cli -signet finalizepsbt chn... 13:37 < ryanthegentry> huh, that works great 13:37 < jeremyrubin> which shell you using? 13:37 < ryanthegentry> zsh, standard Terminal in MacOS 13:38 < jeremyrubin> well now you can sendrawtransaction that thing 13:38 < jeremyrubin> note to self: bash pipelines :( 13:39 < jeremyrubin> ok so once you do that, then it will have created the congestion control tree root 13:39 < jeremyrubin> and then the other command will finalize all the interior/leaf nodes and try broadcasting them 13:39 < jeremyrubin> unclear if your system had an issue with the pipeline if that will work tho :/ 13:39 < ryanthegentry> w00t! https://explorer.ctvsignet.com/tx/910037978f53495a8103153c968aa4541bcd2fbf416415d845fe7a60e0bca9f8 13:40 < jeremyrubin> noice 13:40 < jeremyrubin> expand that sucker 13:41 < _0x0ff> ok, finally it passed, i had to remove `timelock_backpressure": {}` from ARGS.json 13:41 < jeremyrubin> ah! 13:41 < jeremyrubin> that makes sense 13:41 < jeremyrubin> because it's expecting nothing there? 13:42 < _0x0ff> it does, but the error "invalid json" made it confusing 13:42 < prayank> Didn't work for me. I will try again and follow everything from email. 13:42 < jeremyrubin> prayank: what error? 13:42 < _0x0ff> prayank: you getting the json error? 13:43 < jeremyrubin> i think theres a "omit extra data" thing on the RJSF site 13:43 < jeremyrubin> that might help 13:43 < jeremyrubin> since i think it removes things unset 13:43 < prayank> I was getting some weird error: not implemented yet something. Rebooted machine after trying lot of things. 13:43 < _0x0ff> i basically had Jeremy's and mine JSON output side by side and compared it at the end 13:43 < jeremyrubin> prayank: when did you last build sapio-cli 13:43 < prayank> jeremyrubin: it's been few days 13:43 < jeremyrubin> i recently added signet support 13:43 < jeremyrubin> so please rebuild 13:43 < prayank> Okay 13:44 < jeremyrubin> there were issues with supporting signet earlier, so i had to wait till the deps were updated 13:44 < prayank> Sorry I will try later and maybe share on Twitter or ML. I assumed everything is same. 13:45 < jeremyrubin> nah it's alpha software 13:45 < jeremyrubin> sorry :/ 13:45 < rgrant_> could have the tutorial add a version test, to catch it early 13:45 < jeremyrubin> good point! 13:46 < jeremyrubin> ryanthegentry have you been able to get the other txs broadcast 13:46 < _0x0ff> w00t w00t https://explorer.ctvsignet.com/tx/862abf32a9607bebb85be72857429027f633b324cd196f867d3d058312130264 13:46 < prayank> Nice 13:47 < ryanthegentry> nice! 13:47 < ryanthegentry> so I'm getting hung up on the `sapio-cli psbt finalize --psbt` command 13:47 < ryanthegentry> bunch of these: `Error: InvalidByte(0, 37)` 13:47 < jeremyrubin> thats actually OK 13:48 < jeremyrubin> some of them will be valid, some invalid 13:48 < bucko> Finally: hit me up with some of that sweet sweet signet corn: tb1qfd6q8c80xpuvdmdj0g6xshjl2gkzahffx6yp70 13:48 < jeremyrubin> what matters is that some of them are valid 13:48 < jeremyrubin> (we could filter for ones we want to finalize, here we just try them all) 13:48 < jeremyrubin> can you screenshot the output? 13:48 < ryanthegentry> which output? 13:49 < jeremyrubin> sapio-cli psbt finalize 13:49 < _0x0ff> and step 12: https://explorer.ctvsignet.com/tx/5ff08dcc8eb17979a22be471db1d9f0eb8dc49b4dd015fb08bac34be1ed03a10 13:49 < ryanthegentry> 🎉 13:50 < ryanthegentry> $ cat BOUND.json| jq .program | jq ".[].txs[0].linked_psbt.psbt" | xargs -I% ./target/release/sapio-cli psbt finalize --psbt % 13:50 < ryanthegentry> Error: InvalidByte(0, 37) 13:50 < ryanthegentry> Error: InvalidByte(0, 37) 13:50 < ryanthegentry> Error: InvalidByte(0, 37) 13:50 < ryanthegentry> Error: InvalidByte(0, 37) 13:50 < ryanthegentry> Error: Io(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }) 13:50 < ryanthegentry> Error: InputError(MissingUtxo, 0) 13:50 < _0x0ff> at finalize i got two errors but the raw transaction was still generated ... so I'll take it 13:50 < jeremyrubin> well done! 13:50 < jeremyrubin> _0x0ff takes the price 13:50 < jeremyrubin> senda sBTC addr 13:51 < _0x0ff> yay, i'll be donating it via the faucet anyway :P 13:51 < jeremyrubin> ryanthegentry it sounds like the same bug from before 13:51 < jeremyrubin> you may need a xargs echo? 13:51 < _0x0ff> tb1qm6974nd2pvl6my3pqujgcs3zksndfgptkgje03 13:53 < jeremyrubin> ryanthegentry: i would try getting rid of the xargs entirely and just seeing the psbts out of the first bit 13:53 < ryanthegentry> yeah that's what I'm trying 13:53 < jeremyrubin> and then you can copy them in by hand to call the finalize/sendrawtransaction 13:53 < jeremyrubin> it should wokr 13:54 < ryanthegentry> got one psbt finalized and now trying to sendrawtransaction 13:54 < jeremyrubin> amaze 13:54 < _0x0ff> sweet 13:54 < jeremyrubin> TBH i have a for i in {0..100}; do (try finalize and sendraw); sleep 600; done loop 13:54 < jeremyrubin> this handles the congestion control behavior lol and submits to mempool when possible 13:55 < ryanthegentry> hmm... 13:55 < ryanthegentry> $ ./bitcoin-cli -signet sendrawtransaction 13:55 < ryanthegentry> 020000000001018e80f581a053583154f0f38c642b3612726cb37abd61c1c31357f5c238212962010000000000004000020065cd1d0000000016001455667bd72838f606492e576ce40c2ee0c37aca03e6a6e11100000000220020224d515a9e7ed5b70ffa05985bbc835e2c50fbadae4f1add3e61da214917449f012420a49eec4bee6ec5193fd3704b0389659ba7c40751ed3328709a4acb9a8c156abeb3755100000000 13:55 < ryanthegentry> error code: -25 13:55 < ryanthegentry> error message: 13:55 < ryanthegentry> bad-txns-inputs-missingorspent 13:55 < jeremyrubin> yep 13:55 < bucko> where are the instructions to instal sapio-cli 13:55 < jeremyrubin> ryanthegentry: try to submit all of them 13:55 < _0x0ff> bucko: https://learn.sapio-lang.org/ch01-01-installation.html 13:55 < ryanthegentry> 👍 13:55 < jeremyrubin> you'll need to do a few passes over it since 13:55 < jeremyrubin> you need to broadcast parents before children 13:55 < jeremyrubin> (log N passes) 13:56 < jeremyrubin> also 25 limit 13:56 < jeremyrubin> for x in {0..100}; do (cat randoms/big/bound2.json| jq .program | jq ".[].txs[0].linked_psbt.psbt" | xargs -I% ./target/release/sapio-cli psbt finalize --psbt % | xargs -I% ~/develop/bitters/src/bitcoin-cli -signet sendrawtransaction %); sleep 600; done 13:56 < jeremyrubin> i've been running that (bitters is just a random worktree) 13:57 < jeremyrubin> which basically tries to finalize everything it can, submit everything it can, then sleep 10 minutes, then try again 13:57 < jeremyrubin> mod: few more minutes 13:57 < _0x0ff> bucko: for what we're doing now relevant instructions are from "Local QuickStart" to "Instantiate a contract from the plugin:" 13:58 < jeremyrubin> https://meet.google.com/wvz-ybdx-yyb 13:58 < jeremyrubin> we didn't really get to do general stuff but i will stick around a while longer if anyone wants to chat 13:58 < bucko> yeah and it tells me that sapio-cli is not found 13:58 < jeremyrubin> Good work everyone! 13:58 < ryanthegentry> lol tried another one, didn't expect this! 13:58 < ryanthegentry> $ ./bitcoin-cli -signet sendrawtransaction 02000000000101f8a9bce0607afe45d8156441bf2fcd1b54a48a963c1503815a49538f9737009100000000000000400002e62ab9290000000022002000c78b881702288cc31cd623d175b3759354578be9cee78a488b7dfa7d6deaadcc0faf2f0000000022002014cd9a231255d5c4751d0f269a6a06e83a0f3849c19d91de8f2b30d4570644b6012420a9a39b05196b80c94936432f6e59242 13:58 < ryanthegentry> e504a9c394e083da34adf6aaef5b29d2ab3755100000000 13:58 < ryanthegentry> error code: -26 13:58 < ryanthegentry> error message: 13:58 < ryanthegentry> non-mandatory-script-verify-flag (NOPx reserved for soft-fork upgrades) 13:59 < rgrant_> thanks, CU 13:59 < jeremyrubin> ryanthegentry: are you running *my* signet fork? 13:59 < jeremyrubin> or just general one 13:59 -!- rgrant_ [~rgrant@user/rgrant] has quit [Quit: Leaving...] 13:59 < jeremyrubin> #endmeeting 13:59 < ryanthegentry> I'm running yours I'm pretty positive 13:59 < ryanthegentry> g2g to a call, but super fun exercise thanks for putting it together! 13:59 < jeremyrubin> weird 13:59 < ryanthegentry> I'll finish this up tonight, too close to give up lulz 14:00 < jeremyrubin> ryanthegentry: pretty sure you're not :p 14:00 < jeremyrubin> i just submitted to mempool for you 14:01 < _0x0ff> thanks for putting this together jeremyrubin, I enjoyed it! 14:01 < jeremyrubin> and had no issue 14:01 < jeremyrubin> (sorry) 14:01 < jeremyrubin> maybe you forgot to build? 14:01 < ryanthegentry> v possible 14:01 < prayank> Thanks everyone 14:02 -!- prayank [~andr0irc@45.64.9.55] has quit [Quit: irc thread exit] 14:04 < jeremyrubin> ty all! 14:20 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 240 seconds] 14:20 -!- luke-jr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 14:27 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 256 seconds] 14:27 -!- lukedashjr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 14:29 -!- lukedashjr is now known as luke-jr 14:30 -!- bucko [~bucko@136.49.111.169] has quit [Remote host closed the connection] 14:31 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 14:32 -!- lukedashjr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 14:34 -!- simon_ [~simon@econocare03.e.subnet.rcn.com] has joined ##ctv-bip-review 14:35 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 256 seconds] 14:35 -!- lukedashjr is now known as luke-jr 14:41 -!- bucko [~bucko@136.49.111.169] has quit [Remote host closed the connection] 14:42 -!- simon_ [~simon@econocare03.e.subnet.rcn.com] has quit [Remote host closed the connection] 14:46 -!- lukedashjr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 14:46 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 256 seconds] 14:48 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 14:49 -!- luke-jr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 14:52 -!- lukedashjr [~luke-jr@user/luke-jr] has quit [Ping timeout: 272 seconds] 14:54 -!- lukedashjr [~luke-jr@user/luke-jr] has joined ##ctv-bip-review 14:57 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 256 seconds] 14:58 -!- lukedashjr is now known as luke-jr 15:20 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Quit: Leaving...] 16:35 -!- geyaeb [~geyaeb@gateway/tor-sasl/geyaeb] has quit [Remote host closed the connection] 16:36 -!- geyaeb [~geyaeb@gateway/tor-sasl/geyaeb] has joined ##ctv-bip-review 17:59 -!- bucko [~bucko@136.49.111.169] has quit [Remote host closed the connection] 18:04 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 18:55 -!- bucko [~bucko@136.49.111.169] has quit [Remote host closed the connection] 19:14 -!- ryanthegentry [~ryanthege@2600:1700:14d0:65e0:ace8:3f91:19f6:3717] has quit [Quit: Client closed] 19:28 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 19:44 -!- bucko [~bucko@136.49.111.169] has quit [Ping timeout: 256 seconds] 20:14 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 20:23 -!- bucko [~bucko@136.49.111.169] has quit [Ping timeout: 240 seconds] 20:50 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 21:03 -!- bucko [~bucko@136.49.111.169] has quit [Ping timeout: 256 seconds] 21:38 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 21:43 -!- bucko [~bucko@136.49.111.169] has quit [Ping timeout: 272 seconds] 22:53 -!- bucko [~bucko@136.49.111.169] has joined ##ctv-bip-review 22:57 -!- bucko [~bucko@136.49.111.169] has quit [Ping timeout: 240 seconds] --- Log closed Wed Feb 23 00:00:07 2022