User contributions for Gneale
Jump to navigation
Jump to search
3 May 2024
- 14:3514:35, 3 May 2024 diff hist +24 N Informatics Created page with "* CFG - Useful Links" current
- 14:3414:34, 3 May 2024 diff hist −270 CFG - Useful Links No edit summary current
- 14:3314:33, 3 May 2024 diff hist +1,285 N CFG - Useful Links Created page with "===== Return to: Informatics ===== * https://cfg-corp-app01.fusionehr.com/ehr - '''FEHR Corporate Environment''' * https://clinicalforge.com - '''Clinical Forge - New Fusion form editor ''' * https://fusioncorp.atlassian.net/servicedesk/customer/portals - '''Fusion Helpdesk''' * https://helpdesk.cfgpc.com/WOListView.do - '''CFG Helpdesk''' * https://cfgportal.cfgpc.com/ - '''CFG Portal''' * https://fusionehr.docebosaas.com/ - '''Fusion LMS''' * https://portal.coremr...."
- 14:3314:33, 3 May 2024 diff hist +20 CFG No edit summary current
- 14:3114:31, 3 May 2024 diff hist −10 Main Page No edit summary current Tag: Manual revert
- 14:3114:31, 3 May 2024 diff hist +4 N CFG Created page with "test"
- 14:3014:30, 3 May 2024 diff hist +10 Main Page →Welcome to Mojo Puzzler! Tag: Reverted
- 14:2914:29, 3 May 2024 diff hist 0 m Main Page Protected "Main Page" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
20 February 2024
- 19:2619:26, 20 February 2024 diff hist −82 Useful links No edit summary current
25 January 2024
- 18:2318:23, 25 January 2024 diff hist +20 Errors No edit summary current
- 18:2318:23, 25 January 2024 diff hist +277 N Errors Created page with "===== Return to: Insightful Comments ===== <h1>path into atom</h1> "Typically path into atom means your chialisp is trying to traverse a list, but you've given it an atom. So either drop parentheses in the chialisp[puzzle], or add them in the solution"."
- 18:2118:21, 25 January 2024 diff hist −22 Insightful Comments No edit summary current
- 18:2018:20, 25 January 2024 diff hist +12 Insightful Comments No edit summary
21 January 2024
- 17:0817:08, 21 January 2024 diff hist −9 Signatures No edit summary current
- 17:0717:07, 21 January 2024 diff hist +77 Signatures No edit summary
- 01:2801:28, 21 January 2024 diff hist +56 Signatures No edit summary
20 January 2024
- 22:5322:53, 20 January 2024 diff hist −166 Signatures No edit summary
27 December 2023
- 15:5115:51, 27 December 2023 diff hist +4 Useful CDV examples No edit summary current
- 15:4815:48, 27 December 2023 diff hist +1 Useful CDV examples No edit summary
10 December 2023
- 00:2400:24, 10 December 2023 diff hist −1 NFT No edit summary current
- 00:2400:24, 10 December 2023 diff hist +173 NFT No edit summary
25 November 2023
- 01:3601:36, 25 November 2023 diff hist −5,834 m Main Page Reverted edits by LidaSymonds14 (talk) to last revision by Gneale Tags: Replaced Rollback
22 November 2023
- 14:0514:05, 22 November 2023 diff hist 0 N File:Austi-powers-costumev3-2.png No edit summary current
21 November 2023
- 23:1623:16, 21 November 2023 diff hist 0 N File:Mojo puzzler3.png No edit summary current
- 23:1023:10, 21 November 2023 diff hist 0 N File:Mojo logo2.png No edit summary current
- 19:3719:37, 21 November 2023 diff hist 0 N File:Rkiss.png No edit summary current
- 19:3519:35, 21 November 2023 diff hist 0 N File:Mojo logo.png No edit summary current
18 November 2023
- 02:0802:08, 18 November 2023 diff hist +107 N Sha256tree RKiss Created page with "===== Return to: Insightful Comments ===== <gallery> Rkiss.PNG|Caption 3 </gallery>" current
- 02:0802:08, 18 November 2023 diff hist +1,205 N Intercoin Communication Created page with "===== Return to: Insightful Comments ===== Keybase 20211023: Q: Any wisdom on the differences/use-cases between CREATE_COIN_ANNOUNCEMENT and CREATE_PUZZLE_ANNOUNCEMENT? A (gneale): CREATE_COIN_ANNOUNCEMENT versus CREATE_PUZZLE_ANNOUNCEMENT is not that big of a difference code-wise, but usage-wise it is vast. Basically, the coinID dependency is much stricter, like one and done. The assertion coin is looking for that one announcement coin with t..." current
- 02:0702:07, 18 November 2023 diff hist +485 N Simplest puzzles for testing Created page with "===== Return to: Insightful Comments ===== <h2>Example 1</h2>keybase://chat/chia_network.public#chialisp/6836 Q: Is it the case that a coin locked with the puzzle '()' can be spent always? Or should it be '(1)'? A: The puzzle can actually just be `1` yes which just returns whatever you pass in the solution. We use it a lot for testing. <h2>Example 2</h2> <code>(mod () (q (51 0x656214f18f80a85a30f97cafa0fdfd29578d5e8030316b21e36552f9172c49d1 0x01..." current
- 02:0702:07, 18 November 2023 diff hist +1,491 N Block Composition Created page with "===== Return to: Insightful Comments ===== <h2>Question: Is there a limit per bundle?</h2> 2021-09-01 "efishcent" said the following on Keybase channel chialisp: Answers from dev on your question: technically, a block is a single spend bundle (with a single aggregate signature). Right now our farmer limits the cost of included transactions to 0.5 of max (called limit_factor in the code). Presumably more to your question though, the mempool also..." current
- 02:0602:06, 18 November 2023 diff hist +294 N Graftroot Quexington Created page with "===== Return to: Insightful Comments ===== #Keybase 20211019 11:30EST For example, graftroot is just a puzzle that requires a signature of another puzzle hash and then allows you to run whatever puzzle has been signed. That pubkey can sign an infinite number of puzzles" current
- 02:0602:06, 18 November 2023 diff hist +209 N Length of a list Created page with "===== Return to: Insightful Comments ===== Matt Howard Keybase 20211019 8:00am EST: (defun get_length (my_list) (if my_list (+ 1 (get_length (r my_list))) 0 ) )" current
- 02:0402:04, 18 November 2023 diff hist +574 N Cancelling a coin Created page with "==== Return to: Insightful_Comments ==== Keybase 20211020: Q: I want to make a coin that can be "cancelled" and the amount returns to sender. One easy way to do this is to embed the sender's address in the puzzle. Is there another way? A(Quexington): You can prove your parent's puzzle hash and then allow sending there. Q (gneale): But how? ASSERT_MY_PARENT_ID - [71] is the closest I thing can find... a nudge in the right direction is sufficient. Thx! A(Quexington..." current
- 02:0302:03, 18 November 2023 diff hist +857 N Timed events Created page with "==== Return to: Insightful_Comments ==== Keybase 20211021: Q : Hi there, a friend and I are wanting to develop a project on Chia as part of our dissertation at university, we wanted to know if timed events/conditions are possible/easy to do? A (Quexington): You can assert that a certain time/block height has passed if you'd like but you cannot assert that a certain time/block height has not passed. If you want to lock a spend until a certain time, you can do that...." current
- 02:0102:01, 18 November 2023 diff hist +993 N Signature tracing Created page with "==== Return to: Insightful_Comments ==== Keybase 20211021: Q (gneale): Is there any evidence in retrospect in the blockrecord that any particular spendbundle signature is associated with any particular spent coin? A (Quexington): It's kind of like hashing. You can't pull apart a signature to see what pubkeys and messages are inside of it, but if you have a coin spend, you can verify a signature that signs all of its data. If you looked at the spent coin, you can..." current
- 02:0002:00, 18 November 2023 diff hist +3 Signature creation in Python3 No edit summary current
- 01:5901:59, 18 November 2023 diff hist +1,319 N Signature creation in Python3 Created page with "==== Return to: Insightful_Comments ==== Russw_ on 20211029 @01:00am EST said: ----------------------- GOT IT! This works for me: <code> basicSpendBundle = await alice.spend_coin(testcoin, pushtx = False, args = spendArgs) // assemble the aggregated BLS signatures on their own... // - in this case there is only 1 sig, so `aggSig == sig1`, and `AugScheme.MPL.aggregate` is // not actually needed here... but just add more to sigs when needed privateKey = alice...."
- 01:5801:58, 18 November 2023 diff hist +632 N Getting started with PRs - Quex Created page with "==== Return to: Insightful_Comments ==== Quexington on Keybase #chialisp 20211201 "If you want to get started with PRs, you just fork the repo, clone the branch you want to PR into (in this case main), create a new branch from that (git checkout -b new_branch), make your changes, push the changes to github and then open a PR to chia's repo. As for testing, the change you want to make is very small, so you could just add it and then a couple of lines in tests/clvm/te..." current
- 01:5701:57, 18 November 2023 diff hist +390 N Identifying CATs Created page with "==== Return to: Insightful_Comments ==== Keybase 20211209 fcoleman Q: "if you are trying to determine if a puzzle hash is a CAT, how can you do this without knowing the inner puzzle as that is one of the curried in arguments..?" Quexington A: "You cannot. You have to look at the parent puzzle reveal with /get_puzzle_and_solution. If the parent was a CAT, then the child is a CAT."" current
- 01:3701:37, 18 November 2023 diff hist +204 N Puzzle hints Created page with "==== Return to: Insightful_Comments ==== Bram Cohen 2021-12-17 1:52pm "The hint is the first extra parameter in the create coin and it's more to get someone's attention than it is to explain things"" current
- 01:3501:35, 18 November 2023 diff hist +2,048 N Securing spend with announcements - overview Created page with "==== Return to: Insightful_Comments ==== <h1>1.</h1>Dan Perry on Keybase 20211220 10:59pm EST The parameters you pass into the puzzle ("defconstant" and "TARGET_AMOUNT" in your example) are the puzzle's solution. If you curry one of these parameters, you are hard-coding it into the solution, and therefore into the puzzle as well. You won't always know what all of these values will be at the time of the coin's creation, so currying them isn't always an option. Any p..." current
- 01:3401:34, 18 November 2023 diff hist +623 N Singleton comments Created page with "==== Return to: Insightful_Comments ==== Trepca 20020511: *singleton is tricky yeah, you first create launcher coin, then launcher coin creates singleton coin, and then you need to spend the singleton (eve spend) to "initialize" it *conditions are applied when coin is spent if any are returned *because chia has this concept of all spends happening at the same time in a block, so order doesn't matter, just that parent exists, will be spent, will create a new child coi..." current
17 November 2023
- 15:5815:58, 17 November 2023 diff hist +759 N Hinting Created page with "===== Return to: Chialisp ===== <big>Useful Commands:</big> <pre>cd ~/.chia/mainnet/db</pre> <pre>sqlite3 blockchain_v2_testnet10.sqlite</pre> <pre>SELECT hex(hint),hex(coin_id) FROM hints LIMIT 1000,100;</pre> <pre>SELECT * FROM hints where coin_id = X'02AD7C44D75DE72550B2A8A6E63652C993AC9A60C641AE644230230D95EAD315';</pre> <pre>SELECT * FROM hints WHERE hint = X'01388426758A92EFA9669821578216A223FF167154CFCF67F5E6E8DD76DAF05E'</pre> <pre>SELECT * FROM hint..." current
- 15:5715:57, 17 November 2023 diff hist +879 N Standard transaction Created page with "===== Return to: CLVM ===== <big>Standard Transaction:</big> <pre> (a (q 2 (q 2 (i 11 (q 2 (i (= 5 (point_add 11 (pubkey_for_exp (sha256 11 (a 6 (c 2 (c 23 () ) ) ) ) ) ) ) (q 2 23 47) (q 8) ) 1) (q 4 (c 4 (c 5 (c (a 6 (c 2 (c 23 ()) ) ) () ) ) ) (a..." current
- 15:5715:57, 17 November 2023 diff hist +408 N Sha256tree Created page with "===== Return to: CLVM ===== <big>sha256tree:</big> <pre> (a (q 2 6 (c 2 (c 5 ()))) (c (q 1 2 (i (l 5) (q 11 (q . 2) (a 6 (c 2 (c 9 ()))) (a 6 (c 2 (c 13 ()))) ) (q 11 (q . 1) 5)) 1) 1) ) ( (c 2 (c 5 (c 13 () ) ) ) )</pre>" current
- 15:5715:57, 17 November 2023 diff hist +115 N CLVM Created page with "===== Return to: Chialisp ===== <big>Common Examples</big> * sha256tree * standard transaction" current
- 15:5615:56, 17 November 2023 diff hist +647 N Integer byte encoding peculiarity Created page with "===== Return to: Chialisp ===== According to Matt Howard 20210816, there is a "peculiarity with how integers are encoded in bytes. It's signed integers. If you just return <code>run '(q . 0xd7)'</code> you get -41 because the most significant bit is set and that's telling the interpreter to read this as a negative number. If you add some leading zeroes <code>run '(q . 0x00d7)'</code>, it should pop out as you would expect". Returns 215. <h1>Orig..." current
- 15:5615:56, 17 November 2023 diff hist +1,524 N Recursion Created page with "===== Return to: Chialisp ===== <big>Important excerpts from the documentaiton:</big> https://chialisp.com/docs/clvm/dive_into_clvm#programs-as-parameters : The core CLVM does not have an operator for creating user defined functions. It does, however, allow programs to be passed as parameters, which can be used for similar results. Here is a puzzle that executes the program contained in 2 (the first solution argument) with the solution (12). <code>brun '(..." current
- 15:5515:55, 17 November 2023 diff hist +581 N Cancel mojo technique Created page with "===== Return to: Chialisp ===== The following chialisp code ensure that the introduced parent puzzlehash of the parent coin is correct first, before sending the rebate coin which is restricted to that one possible wallet address: (mod (pwd ppid pph pamt ph amt) (defconstant CREATE_COIN 51) (defconstant ASSERT_MY_PARENT_ID 71) (if (= pwd (q . cancel)) (list (list ASSERT_MY_PARENT_ID (sha256 (concat ppid pph pamt))) (list CREATE_CO..." current
- 15:5515:55, 17 November 2023 diff hist +579 N Even Created page with "===== Return to: Chialisp ===== ===== Return to: Additional Functions ===== (mod (num) (defun remainder (x y) (r (divmod x y))) (defun even (num) (if (= (remainder num 2) 0) (q . even) (x))) (even num) ) ==Example Usage== brun '(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (= (a 6 (c 2 (c 5 (q 2)))) ()) (q 1 . "even") (q 8)) 1) 6 (divmod 5 11)) 1))' '(10)' "even" brun '(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (..." current
- 15:5415:54, 17 November 2023 diff hist +374 N Remainder Created page with "===== Return to: Chialisp ===== ===== Return to: Additional Functions ===== (mod (x y) (defun remainder (x y) (r (divmod x y)) ) (remainder x y) ) ==Example Usage:== brun '(a (q 2 2 (c 2 (c 5 (c 11 ())))) (c (q 6 (divmod 5 11)) 1))' '(10 3)' 1 brun '(a (q 2 2 (c 2 (c 5 (c 11 ())))) (c (q 6 (divmod 5 11)) 1))' '(10 4)' 2" current
- 15:5415:54, 17 November 2023 diff hist +71 N Additional Functions Created page with "===== Return to: Chialisp ===== * Remainder * Even" current
- 15:5315:53, 17 November 2023 diff hist +651 N Greatest Common Divisor Created page with "===== Return to: Chialisp ===== ===== Return to: Recursive Functions ===== (mod (num1 num2) (defun remainder (x y) (r (divmod x y))) (defun gcd (num1 num2) (if (= num2 0) num1 (gcd num2 (remainder num1 num2)))) (gcd num1 num2) ) ==Example Usage== brun '(a (q 2 4 (c 2 (c 5 (c 11 ())))) (c (q (a (i (= 11 ()) (q . 5) (q 2 4 (c 2 (c 11 (c (a 6 (c 2 (c 5 (c 11 ())))) ()))))) 1) 6 (divmod 5 11)) 1))' '(99..." current
- 15:5215:52, 17 November 2023 diff hist +518 N Length Created page with "===== Return to: Chialisp ===== ===== Return to: Recursive Functions ===== (mod (lst) (defun length (lst) (if (l lst) (+ 1 (length (r lst))) lst) ) (length lst) ) ==Usage Example 1:== brun '(a (q 2 2 (c 2 (c 5 ()))) (c (q 2 (i (l 5) (q 16 (q . 1) (a 2 (c 2 (c 13 ())))) (q . 5)) 1) 1))' '((10 20))' 2 ==Usage Example 2:== brun '(a (q 2 2 (c 2 (c 5 ()))) (c (q 2 (i (l 5) (q 16 (q . 1) (a 2 (c 2 (c 13..." current
- 15:5215:52, 17 November 2023 diff hist +1,244 N Iterate Created page with "===== Return to: Chialisp ===== ===== Return to: Recursive Functions ===== ==Example 1== (mod (n) (defun iterate (n) (if (= n 0) n (list n (iterate (- n 1))) ) ) (iterate n) ) ==Example 1 usage:== brun '(a (q 2 2 (c 2 (c 5 ()))) (c (q 2 (i (= 5 ()) (q . 5) (q 4 5 (c (a 2 (c 2 (c (- 5 (q . 1)) ()))) ()))) 1) 1))' '(50)' (50 (49 (48 (47 (46 (45 (44 (43 (42 (41 (40 (39 (38 (37 (softfork (35 (all (any (not (31 (pubkey_for_exp (point_..." current
- 15:5115:51, 17 November 2023 diff hist +183 N Binary Created page with "===== Return to: Chialisp ===== ===== Return to: Recursive Functions ===== <pre> (defun binary (n) (if (= n 1) (* n 2) (* 2 (binary (- n 1))))) </pre>" current
- 15:5015:50, 17 November 2023 diff hist +164 N Power Created page with "===== Return to: Chialisp ===== ===== Return to: Recursive Functions ===== (defun power (X N) (if (= N 0) 1 (* X (power X (- N 1)))))" current
- 15:5015:50, 17 November 2023 diff hist +474 N Append Created page with "===== Return to: Chialisp ===== ===== Return to: Recursive Functions ===== <big>Appending lists in a solution:</big> (mod (list1 list2) (defun append (list1 list2) (if (l list1) (c (f list1) (append (r list1) list2)) list2) ) (append list1 list2) ) ==Example Usage:== brun '(a (q 2 2 (c 2 (c 5 (c 11 ())))) (c (q 2 (i (l 5) (q 4 9 (a 2 (c 2 (c 13 (c 11 ()))))) (q . 11)) 1) 1))' '((99 33)(1 2 3))' Outputs: <pre>(99 33 1 2 3)</pre>" current
- 15:5015:50, 17 November 2023 diff hist +139 N Recursive Functions Created page with "===== Return to: Chialisp ===== * Append * Power * Binary * Iterate * Length * Greatest Common Divisor" current
- 15:4915:49, 17 November 2023 diff hist +6,361 N Mempool Dump - Wallet Spend Created page with "===== Return to: Chialisp ===== <pre>chia wallet send -a 0.000000000001 -t xch1tv0g7uc6jw0ypgy7hfvwe7627wurpmm459fashwnvx7jr0rh9xqqp8y98t</pre> Outputs: <pre>Transaction submitted to nodes: [('26aa4fcfe513852f37afa6cf9972458a78d16c18d6d43ce6cb95d26a037c8745', 1, None)] Do chia wallet get_transaction -f 4270401300 -tx 0xeb081681e3c7757f6687e59eab28f39c16e6e11a9ba7e79333f95d083e60baeb to get status</pre> <pre>cdv rpc mempool|grep '''eb081681e3c7757f6687e59e..." current
- 15:4815:48, 17 November 2023 diff hist +4,488 N RPC get block record by height Created page with "===== Return to: Chialisp ===== <big>Example:</big> <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 '{ "height": 1002908 }' -H "Content-Type:application/json" -X POST https://localhost:8555/get_block_record_by_height | python -m json.tool </pre> <pre> { "block_record": { "challenge_block_info_hash": "0xdb3909f6aebe8cad513597ffd4d28fd446b39..." current
- 15:4715:47, 17 November 2023 diff hist +39,101 N RPC get additions and removals Created page with "===== Return to: Chialisp ===== <big>Example</big> <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 '{ "header_hash": "0x2d2a429c130e39c66f5f5720730e6fbc7b0ad8f15e74370705a29e618ca83a01" }' -H "Content-Type:application/json" -X POST https://localhost:8555/get_additions_and_removals | python -m json.tool </pre> <pre> { "additions": [ {..." current
- 15:4515:45, 17 November 2023 diff hist +1,558 N Example puzzle reveal and solution Created page with "===== Return to: Chialisp ===== <h1>Example 1</h1> This is spend using standard transaction from GUI: Puzzle reveal: <pre>(a (q 2 (q 2 (i 11 (q 2 (i (= 5 (point_add 11 (pubkey_for_exp (sha256 11 (a 6 (c 2 (c 23 ()))))))) (q 2 23 47) (q 8)) 1) (q 4 (c 4 (c 5 (c (a 6 (c 2 (c 23 ()))) ()))) (a 23 47))) 1) (c (q 50 2 (i (l 5) (q 11 (q . 2) (a 6 (c 2 (c 9 ()))) (a 6 (c 2 (c 13 ())))) (q 11 (q . 1) 5)) 1) 1)) (c (q . 0xb0ae2c321d9fe66b0cfc17a2772dabf692f2081632f..." current
- 15:4415:44, 17 November 2023 diff hist +537 N Cdv rpc blockspends Created page with "===== Return to: Chialisp ===== <code>cdv rpc blockspends --coinid e256eaae0884064d54ebafbdf82d32ae876a0cb4881ac13fc496c61cc2c94d02 -h 998859</code> "coin": { "amount": 200, "parent_coin_info": "0xc7f245646ece920927bd21ce977a203fa5d1d7a5eb3f9c6ee8789a7af3f34bdb", "puzzle_hash": "0x8a3bf47feade69aefbad6e8219933c78f57ddb2c3d107de5403a0fc9848d813a" }, "puzzle_reveal": "0xff01ffff33ffa058bb585420abf3275685a71e2ea26637890881f..." current
- 15:4415:44, 17 November 2023 diff hist +219 N Auditing Created page with "===== Return to: Chialisp ===== * cdv rpc blockspends * Example puzzle_reveal and solution * RPC get_additions_and_removals * RPC get_block_record_by_height * Mempool Dump - Wallet Spend" current
- 15:4315:43, 17 November 2023 diff hist +10 Binary Tree No edit summary current
- 15:4215:42, 17 November 2023 diff hist +2,775 N Binary Tree Created page with "===== Return to: Chialisp ===== 1 / \ / \ / \ / \ / \ / \ 2 3 / \ / \ / \ / \ 4 6 5 7 / \ / \ / \ / \ 8 12 10 14..."
- 15:4115:41, 17 November 2023 diff hist +1,426 N Map of Numberings Created page with "===== Return to: Chialisp ===== Because atoms have no type information, the meaning of an atom is determined when a function is applied to it. For example, sometimes an atom that was read in as a string is treated as an integer. Below is an incomplete cross reference for when Chialisp returns unexpected results while compiling or running. === Chialisp Numberings Table === {| class="wikitable" |+ ''' !String !Integer !Example Code !Example Code Output |-..." current
- 15:4015:40, 17 November 2023 diff hist +4 Inner Puzzles No edit summary current
- 15:4015:40, 17 November 2023 diff hist +175 N Inner Puzzles Created page with "===== Return to: Chialisp ===== <H1>Useful Links:</H1> https://github.com/geraldneale/py-chialisp-inner_outer https://docs.chia.net/guides/chialisp-inner-puzzles"
- 15:3815:38, 17 November 2023 diff hist +2,521 N Currying Created page with "===== Return to: Chialisp ===== <h2>Example 1</h2> *<code>cdv clsp curry -i include io_puz.clvm -a 0x7cac37d6245033e764e02b27b4898645df9dbd5ea5d2d8ef030cfa600ca33090 -a 0x2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 -a ff01ffff33ffa0656214f18f80a85a30f97cafa0fdfd29578d5e8030316b21e36552f9172c49d1ff018080 -x</code> <h2>Example 2</h2> *<code>cdv clsp curry -i include io_puz.clvm -a 0x7cac37d6245033e764e02b27b4898645df9dbd5ea5d2d8ef030cfa600..." current
- 15:3715:37, 17 November 2023 diff hist +347 N Signatures Created page with "===== Return to: Chialisp ===== <H1>Useful Commands:</H1> chia keys show --show-mnemonic-seed <H1>Useful Links:</H1> * https://github.com/geoffwalmsley/clsp-template <H1>Useful Files:</H1> * http://mojopuzzler.org/agg_sig.py Best Resource * http://mojopuzzler.org/new-orig.py * http://mojopuzzler.org/custom_puzzle-gwalmsley.clsp"
- 15:3615:36, 17 November 2023 diff hist +558 N Simplest Test Coins Created page with "===== Return to: Chialisp ===== Create file simplest.clsp <code>1</code> Create file solution.clsp <code>(list (q . (51 0x656214f18f80a85a30f97cafa0fdfd29578d5e8030316b21e36552f9172c49d1 2)))</code> The idea is to create unspent coins where you can put anything into the solution with as little frictions as possible. The purpose is to assist in conceiving the most complex spend bundles possible with multi-coin communication. If we had to worry about puzzleh..." current
- 15:2615:26, 17 November 2023 diff hist +3,073 N Cdv rpc coinrecords --by puzhash Created page with "===== Return to: Chialisp ===== == Example 1: == <code>cdv rpc coinrecords --by puzhash 36b2ecf8590cb1683eacf1c9e40b7cb98c9fdfb2ad8af118392a1b9359f23d95 -nd</code> <pre> { "6af8fe5233c4e8e82434d13cc6f55eda77cc0588e99322aba7a04bd31da53f37": { "coin": { "amount": 1, "parent_coin_info": "0x17850c7bf14b11512809c9770319484979537aa164b91f2f3d07bfb90d2ae851", "puzzle_hash": "0x36b2ecf8590cb1683eacf1c9e40b7cb98c9fd..." current
- 15:2515:25, 17 November 2023 diff hist +20 Cdv clsp treehash trigger.clvm No edit summary current
- 15:2415:24, 17 November 2023 diff hist +575 N Cdv clsp treehash trigger.clvm Created page with "===== Return to: Chialisp ===== <h2>Example 1</h2> <code>cdv clsp treehash ff02ffff01ff04ffff04ff04ffff04ff0bffff04ff17ff80808080ffff04ffff04ff06ffff04ff05ff808080ff808080ffff04ffff01ff333eff018080b7846ec58082c70a9278b7b09c409ca115890a217c489bf731c523e5f9ef5216</code> <pre> b7846ec58082c70a9278b7b09c409ca115890a217c489bf731c523e5f9ef5216 </pre> Quexington 20211103: "UNKOWN_UNSPENT sometimes actually means BAD_PUZZLE_REVEAL. You can verify by cdv clsp tree..."
- 15:2315:23, 17 November 2023 diff hist +593 N Cdv inspect --id coins Created page with "===== Return to: Chialisp ===== <pre>cdv inspect --id coins -pid 54b1d3f8bbe8d3d6da8649f87c179d581e261d88c86d08c01f8025ca44b1b599 -ph 3ee61c1d32f9237348562eaa9e0141162c745fa0de9c670960e757b22bdc3843 -a 100 [<bytes32: 08065ebabd71655425b186cc661c600954d089358b61799a2584f59329345957>] cdv inspect --id coins '{"amount": 100, "parent_coin_info": "0x54b1d3f8bbe8d3d6da8649f87c179d581e261d88c86d08c01f8025ca44b1b599", "puzzle_hash": "0x3ee61c1d32f9237348562eaa9e..." current
- 15:2315:23, 17 November 2023 diff hist +2,677 N 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..." current
- 15:2215:22, 17 November 2023 diff hist +55,465 N 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..." current
- 15:2115:21, 17 November 2023 diff hist −742 Cdv rpc coinrecords --by id No edit summary current
- 15:2015:20, 17 November 2023 diff hist −4 Cdv rpc blockspends --by id No edit summary current
- 15:1915:19, 17 November 2023 diff hist +1 Cdv rpc blockspends --by id No edit summary
- 15:1915:19, 17 November 2023 diff hist −2 Cdv rpc blockspends --by id No edit summary
- 15:1915:19, 17 November 2023 diff hist −2 Cdv rpc blockspends --by id No edit summary
- 15:1815:18, 17 November 2023 diff hist +1,267 N 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:1815:18, 17 November 2023 diff hist +34 Useful CDV examples No edit summary
- 15:1415:14, 17 November 2023 diff hist +1,264 N 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..."
16 November 2023
- 18:2518:25, 16 November 2023 diff hist +12 Useful RPC examples No edit summary current
- 18:2418:24, 16 November 2023 diff hist +1,630 N 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 }' -..." current
- 18:2318:23, 16 November 2023 diff hist +73 N Useful RPC examples Created page with "===== Return to: Chialisp ===== *Get Puzzle and Solution"
- 18:2318:23, 16 November 2023 diff hist +350 N 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" current
- 18:2218:22, 16 November 2023 diff hist +1,465 N 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..." current
- 18:2218:22, 16 November 2023 diff hist +86 N Useful BRUN examples Created page with "===== Return to: Chialisp ===== * BRUN coinID * BRUN Hello World" current
- 18:2018:20, 16 November 2023 diff hist +802 N 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..." current
- 18:1918:19, 16 November 2023 diff hist +46 Conditions No edit summary current
- 18:1918:19, 16 November 2023 diff hist +562 N 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:1818:18, 16 November 2023 diff hist +3,775 N 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:1718:17, 16 November 2023 diff hist +966 N 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..." current
- 18:1718:17, 16 November 2023 diff hist +206 N 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>" current
- 18:1618:16, 16 November 2023 diff hist +310 N 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/" current
- 18:1618:16, 16 November 2023 diff hist +3,400 N 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..." current
- 18:1118:11, 16 November 2023 diff hist +660 N 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:1303:13, 16 November 2023 diff hist −124 NFT No edit summary
- 03:1303:13, 16 November 2023 diff hist +500 N 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:1103:11, 16 November 2023 diff hist +1,698 N 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:1103:11, 16 November 2023 diff hist +427 N 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" current
- 03:1003:10, 16 November 2023 diff hist −503 Main Page No edit summary