All public logs
Jump to navigation
Jump to search
Combined display of all available logs of mojo_puzzler. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 15:23, 17 November 2023 Gneale talk contribs created page Cdv inspect spendbundles ./spend bundle.json -db (Created page with "===== Return to: Chialisp ===== '''cdv inspect spendbundles ./spendbundle.json -db''' <pre> [{'aggregated_signature': '0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 'coin_solutions': [{'coin': {'amount': 1, 'parent_coin_info': '0x58f7ef38d959f3bceb389ce331e7bec12ca01e3c7cc4e...")
- 15:22, 17 November 2023 Gneale talk contribs created page Cdv rpc blocks -s x -e y (Created page with "<big>Example 1 - to look at block # 1856381</big> <pre>cdv rpc blocks -s 1856381 -e 1856382</pre> Output once disassembled: <pre>(q ((0x23671bf4576156bcdc06565580d158f146d23c1e24dc1f736815ec3162cd99ff (a (q 2 (q 4 (c 4 (c 5 (c 11 ()))) (c (c 6 (c 23 (q 1000))) ())) (c (q 50 . 51) 1)) (c (q . 0xadd78539b7deeb604c5c193da399966494b5eaa0373846e5b3667cc8b215b73a85ac90f32f7c9ed6881b9bca565fb56b) (c (q . 0x2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824) 1))) 1...")
- 15:18, 17 November 2023 Gneale talk contribs created page Cdv rpc blockspends --by id (Created page with "cdv rpc blockspends -id 771603bf328849808dabbde3e130aa73b2e713fbba3f36b433632e2027a980ba --block-height 4249434 Outputs: { "coin": { "amount": 1000, "parent_coin_info": "0x06f493784fa690fa1ee109895d4e3a04a51d33ebef8eae3d749f6c92f300abcb", "puzzle_hash": "0xcdd65092b78f75a38d48b8e63654959e03f3be2fc7741452cde84f154b5deb57" }, "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff0...")
- 15:14, 17 November 2023 Gneale talk contribs created page Cdv rpc coinrecords --by id (Created page with "cdv rpc blockspends -id 771603bf328849808dabbde3e130aa73b2e713fbba3f36b433632e2027a980ba --block-height 4249434 Outputs: { "coin": { "amount": 1000, "parent_coin_info": "0x06f493784fa690fa1ee109895d4e3a04a51d33ebef8eae3d749f6c92f300abcb", "puzzle_hash": "0xcdd65092b78f75a38d48b8e63654959e03f3be2fc7741452cde84f154b5deb57" }, "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02...")
- 18:24, 16 November 2023 Gneale talk contribs created page Get Puzzle and Solution (Created page with "===== Return to: Chialisp ===== Example: Pre-farm 18.75M coin's puzzle & solution https://www.chiaexplorer.com/blockchain/coin/0x1fd60c070e821d785b65e10e5135e52d12c8f4d902a506f48bc1c5268b7bb45b <pre>curl --insecure --cert ~/.chia/mainnet/config/ssl/full_node/private_full_node.crt --key ~/.chia/mainnet/config/ssl/full_node/private_full_node.key -d '{ "coin_id": "0x1fd60c070e821d785b65e10e5135e52d12c8f4d902a506f48bc1c5268b7bb45b","height": 229316 }' -...")
- 18:23, 16 November 2023 Gneale talk contribs created page Useful RPC examples (Created page with "===== Return to: Chialisp ===== *Get Puzzle and Solution")
- 18:23, 16 November 2023 Gneale talk contribs created page BRUN Hello World (Created page with "===== Return to: Chialisp ===== <h2>Example 1</h2> brun '( q . "Hello World")' "Hello World" <h2>Example 2</h2> <code>brun '(sha256 2)' '("hello")'</code> 0x2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 <code>brun '(sha256 2)' '("world")'</code> 0x486ea46224d1bb4fb680f34f7c9ad96a8f24ec88be73ea8e5a6c65260e9cb8a7")
- 18:22, 16 November 2023 Gneale talk contribs created page BRUN coinID (Created page with "===== Return to: Chialisp ===== <h2>Example 1</h2> coinID == sha256(<span style="background:#00FF00">parent_ID</span> <-concatenated with-> <span style="color:#FFFFFF; background:#FF69B4">puzzlehash</span> <-concatenated with-> <span style="background:#00FFFF">amount</span>) <code>brun '(sha256 2)' '(<span style="background:#00FF00">0x6ba5e9a4b7b1c2fc92eec6231175ec82bb861312eacd51794b8f7be4c4b7fe9b</span><span style="color:#FFFFFF; background:#FF69B4">7a1...")
- 18:22, 16 November 2023 Gneale talk contribs created page Useful BRUN examples (Created page with "===== Return to: Chialisp ===== * BRUN coinID * BRUN Hello World")
- 18:20, 16 November 2023 Gneale talk contribs created page Useful RUN examples (Created page with "===== Return to: Chialisp ===== <H1>Example 1: </H1> coinID == sha256(parent_ID + puzzlehash + amount) <code>run '(sha256 (concat 0xeb8c4d20b322be8d9fddbf9412016bdf00000000000000000000000000000022 0xa4cdba512b00c504ccc047b49d7688f1ad8b74d7859ef8d2ac2a81517d2d11a4 1750000000000))'</code> 0x942754fd860bf64910f9394e298aae77ea4aff194e665d8a4475ef6f43b0ef0b <H1>Example 2: </H1> Announcement = (sha256 coinID message) <code>run '(sha256 (sha256 (concat 0xf1a59...")
- 18:19, 16 November 2023 Gneale talk contribs created page Useful CDV examples (Created page with "===== Return to: Chialisp ===== * cdv rpc blocks -s x -e y - For looking at block outputs * cdv inspect spendbundles ./spendbundle.json -db * cdv inspect --id coins - For getting coinID * cdv rpc coinrecords --by id - For following up on parent coins block height to get puzzle reveal and solution. * cdv clsp treehash trigger.clvm.hex - To verify puzzle you ha...")
- 18:18, 16 November 2023 Gneale talk contribs created page Conditions (Created page with "big>Conditions</big> Conditions are split into two categories: "this spend is only valid if X" and "if this spend is valid then X". Here is the complete list of conditions along with their format and behaviour. '''AGG_SIG_UNSAFE - [49]''' - (49 pubkey message): This spend is only valid if the attached aggregated signature contains a signature from the given public key of the given message. This is labeled unsafe because if you sign a message once, any other coins you h...")
- 18:17, 16 November 2023 Gneale talk contribs created page Github setup notes (Created page with "<h1>Initial setup of account on a new machine. Change the first two commands to match your github account info.</h1> $ git config --global user.name "mp_zero" $ git config --global user.email [email protected] $ git config --global init.defaultBranch main $ git config --global core.editor "code --wait" $ git config --global core.editor pull.rebase false <h1>SSH key setup</h1> $ ssh-keygen -t rsa -C "[email protected]" $ ssh-add ~/.ssh/id_rsa $ cat ~/.s...")
- 18:17, 16 November 2023 Gneale talk contribs created page Database (Created page with "==Useful Command:== <pre>watch -n10 'sqlite3 ~/.chia/mainnet/db/blockchain_v2_mainnet.sqlite "SELECT timestamp, hex(puzzle_hash), hex(amount) FROM coin_record ORDER BY confirmed_index DESC LIMIT 40;"'</pre>")
- 18:16, 16 November 2023 Gneale talk contribs created page XCH Price (Created page with " '''1 mojo''' = 0.00000000000'''1''' XCH '''1,000 mojos''' = 0.00000000'''1'''000 XCH '''1M mojos''' = 0.00000'''1'''000000 XCH '''1B mojos''' = 0.00'''1'''000000000 XCH '''1T mojos''' = '''1'''.000000000000 XCH https://coinmarketcap.com/currencies/chia-network/")
- 18:16, 16 November 2023 Gneale talk contribs created page Tutorial Hints (Created page with "From the document: '''How to communicate between coins using announcements''' https://docs.google.com/document/d/19KM73gW_Klyk477Ux3Tf5DcKzkWhlsq84e1OiVaVZp4/edit <h2>Three basic steps</h2> # Setup and seed the trigger coin # Setup and seed the trigger'''d''' coin # Create and execute the spend bundle <h2>Step 1</h2> * Create new directory "coin announcement" and add a blank text file to use as a scratch pad(puzzle hashes for repetitive use and debugging etc). * Cr...")
- 18:11, 16 November 2023 Gneale talk contribs created page Insightful Comments (Created page with " * Singleton comments * Securing spend with announcements - overview * Puzzle hints * Identifying CATs * Getting started with PRs - Quex *Signature creation in Python3 *Signature tracing *Timed events *Cancelling a coin *Length of a list *Graftroot Quexington *Block Composition *Simplest puzzles for testing * '''Inline Functions''' - "General rule of thumb is to use inline except when you have a good reason not to. Keep...")
- 03:13, 16 November 2023 Gneale talk contribs created page NFT (Created page with "==NFT - minting script using python3== * https://github.com/geraldneale/py-chia-nft_creator - works for me in testnet10 to create multiple NFTs<gneale 2022-07-09> * https://github.com/geraldneale/chia-nft-add_uris - Automated system of aggregating all NFTs in a "wallet" and updating the URIs in bulk. Other useful links: * https://devs.chia.net/guides/nft-developer-guide * https://github.com/zakhikhan/chia-nft-minting-helper * https://dkackman.github.io/chia-api/static/...")
- 03:11, 16 November 2023 Gneale talk contribs created page Useful links (Created page with " * http://mojopuzzler.org - Homepage * https://xchdev.com/faucet/index.php * https://github.com/richardkiss/contract_patterns * https://github.com/richardkiss/chiaswap * https://dkackman.github.io/chia-api/ * https://github.com/kimsk/chia-concepts * https://aggsig.me * https://docs.google.com/document/d/19KM73gW_Klyk477Ux3Tf5DcKzkWhlsq84e1OiVaVZp4 * https://docs.google.com/document/u/0/d/1x2PHn1qnMESc9RhPiBflDHWKoch2K0ds50brfSc7LPc/mobilebasic * https://www.youtube.com/w...")
- 03:11, 16 November 2023 Gneale talk contribs created page Chialisp (Created page with " * Conditions * Useful CDV examples * Useful RUN examples * Useful BRUN examples * Useful RPC examples * Simplest Test Coins * Signatures * Currying * Inner Puzzles * Map of Numberings * Binary Tree * Auditing * Recursive Functions * Additional Functions Misc: * Cancel mojo technique * Recursion * Integer byte encoding peculiarity * CLVM * Hinting")