cashscript
libauth
cashscript | libauth | |
---|---|---|
24 | 9 | |
110 | 270 | |
0.0% | 3.0% | |
6.9 | 6.9 | |
7 days ago | 21 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cashscript
-
List of Resources for Developing with CashTokens on Bitcoin Cash
https://cashscript.org/ (check out the guides!)
- Announcing Emerald DAO v2.1.0 NFT Series
-
Please voice any opinions on points of failure for Cash Tokens here.
CashScript is similar to solidity, but writing contracts for UTXO chains is slightly different than for EVM chains since you don't have global state, just utxos.
- I'm working on using a Dead Man’s Switch to prevent assets being locked in your wallet after your death. Powered by Blockchain!
-
How would someone claim cashscript p2sh funds with their authorized address?
This is a stripped down example from p2pkh.cash showing a simple authorized address example:
-
The CashTokens Question
Closest is probably cashscript. I believe they are currently working on these for the May upgrade this year
-
Announcing Unspent.app, an app for creating and calling anyone-can-spend contracts on Bitcoin Cash. Create or use faucets, minable contracts, annuities, perpetuities, or your own division and broadcasting contracts.
This app was built using the Cashscript route. So the contracts are written in a solidity style language and then transpiled to BitcoinScript. They're fast to write and easy to read, HOWEVER, if you step through the actual bitcoin script, you'll often see a number of things that are not optimal. There is a playground for CashScript: https://playground.cashscript.org/
-
Anyone know where to find the "idiot's guide" to libauth? Working examples would be nice
I should clarify that by examples I mean working code that can be run by itself as a demo. For example, the next.js repository has a very large collection of examples for integrating next.js with various tools and frameworks. You can also see these type of examples in the cashscript repository as well as in the bch-js repos
-
BCH Bull and Verse?
You can also use https://cashscript.org/
-
Get total of output of smart contract in CashScript?
Related GH Issue: https://github.com/rkalis/cashscript/issues/131
libauth
- List of Resources for Developing with CashTokens on Bitcoin Cash
- Announcing Emerald DAO v2.1.0 NFT Series
-
I'm working on using a Dead Man’s Switch to prevent assets being locked in your wallet after your death. Powered by Blockchain!
Note that a smart wallet for Bitcoin-tech doesn't exist, so if you implement a contract, you need to "teach" some wallet how to spend from the template. Dream is to have an universal wallet that can easily import contract templates, things like LibAuth and BitauthIDE were built with that goal, we're getting there!
- Anyone know where to find the "idiot's guide" to libauth? Working examples would be nice
-
Any devs have advice on how to create a website similar to memo.cash?
To craft the transactions you'd also need a library, maybe something like https://libauth.org/ or you could craft the transactions by hand by reading on https://documentation.cash/
-
CHIP: Bounded Looping Operations – enable loops in BCH contracts without increasing processing or memory requirements
I've also written descriptions of all VM operations for Libauth: https://libauth.org/enums/opcodedescriptionscommon.html and https://libauth.org/enums/opcodedescriptionsuniquebch.html
-
[AMA] I'm Jason Dreyzehner, author of PMv3 – a v3 TX format enabling prediction markets and other decentralized applications on Bitcoin Cash. Ask Me Anything!
I've been building this "user space" tooling in Libauth (a lightweight, zero-dependency JS/TS library), and I would love to work with anyone interested on building that tooling in other languages/libraries too!
What are some alternatives?
wenyan - 文言文編程語言 A programming language for the ancient Chinese.
bitauth-ide - an online IDE for bitcoin (cash) contracts
ethereum-org-website - Ethereum.org is a primary online resource for the Ethereum community.
bitcoin-cash - Bitcoin Cash (BCH)
unspent - ₿∙ϕ - Unspent Phi (an app, library, cli & db) for executing a set of anyone-can-spend contracts on Bitcoin Cash.
bch-zce - CHIP-2021-08-ZCE: Zero-Confirmation Escrows – instant, incentive-secure payments on Bitcoin Cash.
cashtokens - A proposal to enable two new primitives on Bitcoin Cash: fungible tokens and non-fungible tokens.
bch-loops - A proposal to enable loops in BCH contracts without increasing processing or memory requirements.
chip-bcmr - CHIP: Bitcoin Cash Metadata Registries
group-tokenization
emerald-dao
bch-vm-limits - By fixing poorly-targeted limits, we can make Bitcoin Cash contracts more powerful (without increasing validation costs).