mr-zwets

Results 88 issues of mr-zwets

With native introspection it is possible to add a tracking contract contract which does not change addresses to a simulated state contract which does. Getting the latest state of a...

generatePrivateKey() only takes one argument, not ```secp256k1``` as first parameter so I removed it. solution to issue #58 & #82

The Cashtokens upgrade adds 6 new introspection opcodes, these would map cleanly to the following 6 new cashscript expressions. These are just a suggestion but might be helpful for other...

We should fix the length of bytes types when using split: `bytes2 firstTwoBytes = test.split(2)[0];` The above does not work, when it should always be possible to type the length...

cashc-compiler

We should consider adding syntactic sugar for "slice" functionality so instead of `bytes stateItem = fullState.split(4)[1].split(10)[0];` it would be `bytes stateItem = fullState.slice(4,10);` suggesting the name `slice` because `substr` could...

enhancement
cashc-compiler

`int conversionToBch = 100_000_000;` reads better and is more easily auditable than `int conversionToBch = 100000000;` This feature is also allowed in Javascript & Solidity. https://docs.soliditylang.org/en/latest/types.html#rational-and-integer-literals

cashc-compiler

It would be clean if cashscript allowed to redefine variables in tuples, for example: ``` bytes variableA = 0x00; bytes variableB = 0x00; if(condition){ variableA,variableB = bytesequence.split(index); } ``` Currently...

cashc-compiler

We can remove a separate bip39 dependency from CashScript now that libauth v2.1.0 has bip39 functionality built-in.

javascript-sdk

OP_MUL has a red warning highlighting, so it looks like an invalid opcode. Other arithmetic and stack operations are highlighted dark blue. ![image](https://github.com/bitauth/bitauth-ide/assets/53938059/d0e86a93-839f-4699-8bfc-6d1bc1a46133)

occurrence: file hash is `ca6e2ec3d116be0f26fca99b81bf5cc0b15ce1240972234683a6fd4d66042f53` yet bcmr has `7bdfb6e6fa52cfcb1c338565046f1fc5fe45808b1d1040395e43e82ed921b956` https://tokenexplorer.cash/?tokenId=c87a17d7fa0c8d3a4d8a9ae916e6457abf477ccfc4f2d354d42f562638a1ba5b -> maybe hashing a 404 page or so from the IPFS gateway, cashonize should check if JSON data is returned

wontfix