@xhliu is on PowPing!

PowPing is a place where you can earn Bitcoin simply by socializing, for FREE.
Never tried Bitcoin? It's OK! Just come, socialize, and earn Bitcoin.
Check out xhliu's activities
Total Economy: 25.06 USD
What do you want most from sCrypt, including language features/IDE/SDK? What could we do to improve adoption? Best feedback will be implemented, and tipped >$100 in total! Some candidates are listed below. Feel free to include your own. 1. Better Training: online classes, video tutorials, hackathon, conferences, weekly Q&A, ... 2. Better Documentation 3. SDK for more languages: Go/Java/..., besides Javascript/Typescript/Python 4. Integration with wallets 5. Forum: StackOverflow tag #sCrypt, subreddit /r/sCrypt, or forum hosted at htttps://scrypt.io 6. More/Better Libraries 7. More dApp examples 8. More IDE support: IntelliJ/Vim/...
hv_ tipped:
mpapec tipped:
maw tipped:
lifeng tipped:
8) I put my vote for a Pycharm IDE support. 4) yes. Dotwallet integrates Scrypt. some tutorials about that ? If we can learn some magic code for others wallets, great too. πŸ‘
xhliu replied:
Magic decorators in Scrypt πŸ˜€. don't know how and why it can good for Scrypt but I sometime see decorators as beautiful code.
xhliu replied:
Ah! I have another Idea: I propose an advance technique in Scrypt : add a pipe function, like what we see with ".then" in JS so we could have a choice to avoid high order functions.
How to drive adoption: become the nChain of script examples that put the cryptosphere to shame. You are already doing this, but the idea would be to meme-ify them by explaining and marketing them so that they get more eyeballs. An explanation of the significance and why it proves everybody wrong would be great in the form of shareable explainer videos (can be commissioned on Fiverr, etc for cheap). You could also start a series on script examples which would be uniquely attractive to Ethereum devs.
mpapec tipped:
marcelgruber replied:
In other words, go all in on the marketing of script examples. The Medium articles are great, but they are highly understated and they fly under the radar completely.
adonsats replied:
Agree about the Medium posts description
SDK for Solidity ヽ༼ ΰ² η›Šΰ²  ΰΌ½οΎ‰
xhliu tipped:
Make sCrypt work with BTC. So the p2sh has to use the resurrection technique. Jack Dorsey has said he wants to put Smart Contracts onto BTC so sCrypt could offer to help.
xhliu replied:
Most of opcodes are disabled in BTC.
adonsats replied:
BTC is not BitCoin
dlypka replied:
Well you already got p2sh to work, which is very heavily used in BTC. Most of the txs to send back change appear to use p2sh. Anyway, disabled in BTC means it is a subset of BSV opcodes, so that should make it easy to run on BTC. Any publicity is good publicity even from the dark side.
adonsats replied:
geeez
Add a method to create the 'standard' output. For the p2pkh sample, it does not generate the standard output and so does not behave as expected. I had to post questions and get help to add non-obvious code using opcode literal strings to create the expected standard output. Also to create the change output, there should be a built-in scrypt macro or method to do it.
xhliu replied:
Clear explain what source file comprise an sCrypt contract. It appears to be 2 files minimum - the .scrypt file and some other off-chain client application file such as a node.js application. So it is not adequate to say that the .scrypt file is the contract. When comparing to Solidity, the .sol file contains all of the code to run the contract. So for scrypt, where is "All" of the code in a compact format? A .sol file more closely maps to the node.js application file, than it relates to only the .scrypt file. This is very confusing especially if only the scrypt file is published, claiming that is sufficient description of the contract. Clearly explain on what layer does an sCrypt contract exist. I refer to it as on layer 1.5: some onchain and A LOT offchain (a lot of .js code and could also be other off-chain languages such as python/go)
scrypt tipped:
0.02 USD
2 weeks ago
xhliu replied:
This is not different from Solidity. The contract is just .scrypt/.sol file. All other files are used to deploy and interact with the contract, such as JavaScript/Python. It should be straightforward to come up w/ the application file, given plenty of examples under /deployments/ https://github.com/sCrypt-Inc/boilerplate/tree/master/deployments.
dlypka replied:
No it is not straight forward. If it is so straight forward then I suggest having an autogen feature to create it from the .scrypt file.
xhliu tipped:
0.86 USD
1 month ago
xhliu replied:
scrypt replied:
Rename 'Deployment' script as 'Action' Script and separate out the actual deployment code to some other file. Right now the 'Deployment' script is mixing the actual deployment with the code with calls the public methods.
xhliu tipped:
Always provide the Deployment script when publishing an .scrypt file to github or in Medium articles. Otherwise the .scrypt file alone is mostly incomprehensible to most readers.
mpapec tipped:
Branchable projects where you give some task on top and people are trying to build it down with solutions,ideas etc. You see in which direction it will go and if someone make/find useful stuff reward him somehow. example: You give a start of some smart contract that needs a finishing and people log in and try to finish it and learn something
establish an underlying code infrastructure for a metaverse on the Blockchain. for games, AR/VR apps.. that would enable a hop-on hop-off experience for consuming and producing experiences
xhliu replied:
Elaborate plz?
an identity engine that would work across all BSV wallets (and perhaps even non BSV crypto currencies if possible). beyond paymail, there is a need for content creators to own their content, so it should be easy for them to port their content, have their content hosted on a platform that works for them. it would also be easier for platforms such as Veritas and TonicPow to validate and crosscheck bad actors (gamed reviews, bad advertisers) and give rewards to credible accounts.
xhliu replied:
MetaID already does this https://www.metaid.io
it's about time you build a GitHub of sorts on the blockchain. like all the SPV and Merkle trees prerequisites for the github to work. and then devs could start putting their code over there and then other devs could reuse or fork such codes
xhliu tipped:
dlypka replied:
Yes I had the same idea. We should pitch it to Calvin Ayre at Coingeek / Bitcoin Association.
dlypka replied:
I already registered cryptohub.network for that purpose.
xhliu replied:
dlypka replied:
The advantage is the signatures to allow traceback to a chain of authors of fragments being referenced in the overall source file.
RUN is easy to understand and use for game creation and other interactive tokens on the Blockchain. But sCrypt might be more powerful. It's just that onboarding for creating games and other DApps on sCrypt seemed to be buried or non existent when I tried to check the first few times.. so this is more on improving newbie developer journeys on the sCrypt site
xhliu tipped:
xhliu replied:
on and off ramps using sCrypt or other languages that would lead to use of sCrypt. this so far is the biggest hindrance to Bitcoin adoption. if it becomes easy for payment systems (like GrabPay, Alipay, GCash, Paymaya, etc) to integrate code into their system, then things would get easier
xhliu replied:
Wallet supports, u mean?
Even if you provide training with fees, why not ? As long as it can be good as what we saw with Unwriter, good. No training, no App creation, but better cartel courses for big whales. ( don't be like C πŸ˜‡ ).
xhliu tipped:
xhliu replied:
More training materials r coming
the progression is good until Now. 1) what about create a Python code generator exactly like what we see with JS ? 2) yeah exit from slack. Too many problems with this App. 3) Clearly Bitcoin need more tutorial in Scypt. Specially, bring videos ( or more texts ) to explain more about Your Medium posts. Most of the time they are too short for a non crypto guy. 4) If the Dapp examples follow your medium posts, yes it could be Awesome. 5) Unwriter is one of the best tuto guy in this BSV space. Can you beat him ? 🀝 πŸ’ͺ May be I am wrong but to read JS generate with Scrypt is not an easy task for non computer scientists. Why not another language like Python. I don't know if Scrypt could team up with Bitcoin Academy in the future. Why not, just an idea.
xhliu tipped:
xhliu tipped:
xhliu replied:
1) Python SDK is at https://github.com/sCrypt-Inc/scryptlib-python 2) Which alternatives u prefer over slack, reddit/stackoverflow/forum? 4) Can u be more specific? Not all medium posts are about Dapps.
marcelgruber replied:
Discord is great.
xhliu tipped:
adonsats replied:
adonsats replied:
2) Discord is great. I still have a dream : create a Slack_SV 😁. The day is not far with all these great devs people in the BSV community.
adonsats replied:
2) hummm why not here in Powping + Powpress ? why not. 🀝
A market where people with ideas and requests can ask for simple solutions, and developers or students learning to code on bitcoin can try to put it into a code (for a fee or free). Plus everything else you listed of course
xhliu tipped:
Defi. This drives adoption because money is involved The missing pieces are (I guess), easy call to other contracts (your medium isn't implemented ?), integration with wallets, and something like cryptozombie (so better training)
xhliu tipped:
xhliu replied:
test replied:
tswap.io is the AMM dex on BSV, seems Volt already supports sCrypt based tokens, they are tradable on tswap.io
xhliu tipped:
Incentives : " a thing that motivates or encourages someone to do something" Regarding adoption: Incentives matter! Promote ways for developers to earn money. Low hanging fruit so to speak. Possible developer's bounties for parts of system build. The programming debt available by now must be substantial? Never forget; good artist copy great artist steal. :)
xhliu tipped:
xhliu replied:
Do u have concrete ways in mind for devs to monetize their work?
More videl tutorials please: detailed how to create a smartcontract (planning for the contract, write the contract, unit testing) and how to connect with the front end. I found twostacks videos are good, but a bit hard to understand because they use language that I don't use as a web developer. Please come with more examples in Javascript or TypeScript
xhliu tipped:
xhliu replied:
Here are more video tutorials: https://www.buildonbsv.com, besides twostacks: https://youtube.com/watch?v=neFzipqzegU
test tipped:
DeFi is mainly about manipulating money, you guys should come out with more examples of locking/unlocking token examples with Sensible token
xhliu tipped:
Ordered by urgency in my personal opinion: 1. Vitally important for developers to learn and have a sense of how to write smart contract on Bitcoin, video tutorials are best 7. Examples are also important for devs to learn. 2. Better Documentation 6. Better Libraries SDK for JS/TS and PY are enough for now, Forum is good, but not that urgent, Docs/learning materials/tutorials/ code examples are more important Wallets will support when they see user demand, so there is nothing sCrypt can do to push wallet adoption. We see Sensible utility is already attracting more wallet support More IDE support is good, but not so urgent if you guys have limited time and resource. VS is the most popular IDE, enough for now.
xhliu tipped:
I personally would appreciate having more examples the most. But since it is unrealistic for you to make examples all the time, how about setting up a public library for examples that people wish to share (where everything gets shared with an Open license by default). Then just add a "Share" button in the IDEs so that users can share their examples (with a title and a description). Make it easy to search through these examples. (Of course, there is no need to write it all from scratch. If a platform already exists that can host such a library, simply use that platform.)
xhliu tipped:
xhliu replied:
Most examples can be found at https://github.com/sCrypt-Inc/boilerplate.
dlypka replied:
But many examples are missing the deployment file.
xhliu replied:
It should be straightforward to come up w/ the deployment file, given plenty of examples under /deployments/ https://github.com/sCrypt-Inc/boilerplate/tree/master/deployments. Thoughts?
> What could we do to improve adoption? This is hard, but walking extra miles to meet regular ether devs expectations when deploying a contract. It is probably not possible with scrypt alone, and would require helper service to support such approach.
xhliu tipped:
xhliu replied:
What kind of helper service do u have in mind?
mpapec replied:
Service that would show current state of some contract, and possibly list of contracts which are allowed by an author to be listed. Is such approach aligned with ether dev mindset?
4 - if a user logs into moneybutton, handcash, or twetch wallet the existing api calls for the respective wallet should be enough to interact with sCrypt smart contracts. I suggest laying out all the requirements for each type of sCrypt contract then sharing the requirements with all teams developing wallets. The teams developing wallets can inform sCrypt what types of contracts are currently possible with their wallet. If a developer has a specific sCrypt contract they want to implement they can easily see what wallet that is currently possible with.
xhliu tipped:
xhliu replied:
We have a generic interface for wallets to support arbitrary smart contracts, similar to MetaMask https://metamask.io/. DotWallet has implemented it https://www.dotwallet.com/en/article/269.
mpapec tipped:
example for adoption https://cryptozombies.io/ Learn to Code Blockchain DApps By Building Simple Games CryptoZombies is an interactive school that teaches you all things technical about blockchains. Learn to make smart contracts in Solidity or Libra by making your own crypto-collectibles game
xhliu tipped:
xhliu replied:
tictactoe example: https://xiaohuiliu.medium.com/full-stack-bitcoin-dapp-tutorial-adff2bc4f657. We will polish it to reach cryptozombie's professional level.
tutorials for brainlets a.k.a codecademy/codepen
test replied:
what is codepen?
xhliu replied:
Can u elaborate?
changiairport replied: