
acheron
@acheroncrypto
Followers
3K
Following
689
Media
43
Statuses
188
Solana Playground now supports @seahorse_lang . You can have as many projects as you'd like, import them from Github, file system and more. Try now:
102
172
451
Anchor programs just got a lot more efficient. Instead of cloning each account passed to the program, we're now using references @exoaursen. This, along with some other changes results in program binaries that are 33% smaller compared to the last release.
25
38
154
Retweet by @solana β
.
You can now develop on Solana from your browser π₯³.Say hello to the first browser IDE for @anchorlang.
6
2
53
Added a command in @anchorlang to keep program ids in sync between the program files, `Anchor.toml` and the actual program public key. New programs will be created with the correct program id by default.(No more build, replace, rebuild cycle).
13
9
54
This token is NOT affiliated with the real project in any way. Solana Playground was created as an open-source public good. Even though my recent grant proposal to the Solana Foundation was rejected, the project still has support from @_cubik.
ok i called some larp, made money with my bois and as soon as i found out its larp, . pinged on my telegram to sell,. i made 50 sol, profit which is 5x for me, its still running. but for gods sake, its fucking larp. @solplaylive. product launched 2 years ago, token launched.
6
3
31
@L0STE_ Correct. This is because `LazyAccount` impl requires discriminators but spl-token accounts don't have them.
1
0
13
For @anchorlang and @seahorse_lang you have access to the program out of the box. Instead of doing a bunch of boilerplate setup, this could be the first line of your code:
1
0
12
@aeyakovenko @solana @anchorlang @armaniferrante Most of the IDLs are already in this repo. Could require some manual changing because it's not perfect but it's 95% done IDL wise.
3
1
13
@redacted_noah @therealchaseeb @Eliascm17 @soundsonacid @solanaturbine @deanmlittle Exactly. Especially once we get rid of the lifetimes from Anchor, pretty much any programmer should be able to pick up Anchor within a day. The hard point has always been understanding the accounts part, which can be abstracted.
2
0
6
Huge shoutout to @0xCleon and @SolPlay_jonas for making the first tutorials and @dhruvraj641 for adding an option to set a custom endpoint from the UI!.
1
3
10
@aeyakovenko Surprised that this doesn't happen more frequently as using external libraries is the norm for even the simplest things.
0
0
8
@crispheaney Published that uses a different package for sha256(used in discriminator calculation).
2
0
8
If you are having problems when deploying #Solana programs try this program: Let me know if you run into any issues. @solana_devs.
1
2
8
@therealchaseeb @solana Unnecessary level of complexity is setting a higher barrier of entry. Low level stuff needs to be abstracted away, Anchor is a great example of this. We need more tools like Anchor.
2
0
6
@jacobvcreech @0xBolt @anchorlang There is a macro that does this automatically added by @exoaursen.
1
0
6
@zelimir__ @anchorlang The next version has been ready since September, but we're waiting for an audit.
1
0
6
@jacobvcreech @cryptopapi997 Allowing both v1 and v2 at the same time means every downstream project that depends on the old functionality, e.g. `anchor-spl`, would also need to allow the same version requirements as SPL. If this solution forces us to make a new release, what was the point of v2 anyway?.
0
0
4
"Any application that can be written in JavaScript, will eventually be written in JavaScript" β Jeff Atwood - @codinghorror - (in 2007 no less!).
0
0
5
Even if the network is congested you can still deploy your programs from
I spent over 24h trying to upgrade a smart contract on @solana yesterday. If it wasn't for @acheroncrypto and Sol Playground, the upgrade would have to wait. This tool literally will not allow any transactions to fail, basically guaranteeing deployments.
1
0
5
@0xDeep @aeyakovenko @solana @anchorlang @armaniferrante or an automated coder so you don't have to manually write it π«‘.
1
0
4
@HardhatChad Awesome! This has been on my todo list for ~2 years now. WASM is underutilized in the Solana ecosystem.
0
0
4
@_nighthawk69_ @jacobdotsol @ngundotra @callum_codes Yeah it's currently expecting a project to build, you can just create an empty Anchor project and build it once and the problem should go away. Should definitely make this easier for external programs though. Also the above screenshot is from 2022, it looks like this now
2
0
3
@realbuffalojoe @armaniferrante Not sure if it's valid but a GitHub action to automatically close PRs that change the `borsh` version in Solana repo would greatly reduce the dependency issues.
1
0
4
@therealchaseeb @mmatdev @gumdalf_ @sssionggg > Can Solana playground upload to a buffer account?. It does upload to a buffer account but not to an existing one (creates a new one). It wouldn't be too hard to support writing to an existing buffer account though, if that's what you want.
0
0
4
@callum_codes `toolchain` will definitely help because a lot of problems are caused by having an incompatible Solana version and you don't have to manually switch versions now.
0
0
4
@kunal_chhabra37 Yes, we can definitely have that option. Currently you can export the project as .zip but without Cargo.toml.
0
0
3
@jacobvcreech @redacted_noah @burger606 None of these breaking changes are coming from Anchor though. It's all resulting from:. - Crates not following Semantic Versioning.- Libraries being a lot more specific than they need to be in their manifest files.- Bumping borsh version.
0
0
4
@jacobvcreech @0xk2_ @splitoor @bill_papas_12 @0xNazreen Yeah, CPI and some syscalls don't work properly due to the implicit 64bit assumption SVM has. I think it should be much easier to create something like Playnet today than it was 2 years ago (had so many dep issues back then). Client-side interaction is also implemented.
2
0
4
@redacted_noah Compilation of dependencies should only happen once, subsequent runs are cached. To make CI faster, one could cache the dependencies using `anchor build` uses `cargo-build-bpf` under the hood so optimizations would not be Anchor specific.
2
0
3
Simple as that!.
0
0
3
@knox_trades solana-keygen grind would kill the browser so it's not implemented π
will do it if there is a demand for it.
0
1
3
@armaniferrante @nicovrg_ It's possible to hide most (maybe all) of these lifetimes from the user by using `transmute`. Shortening lifetimes should be fine (other cases are UB afaik), but adding a bunch of unsafe code doesn't seem nice.
0
0
3
@vidor_solrise @solflare_wallet There is no Backpack or Phantom specific code for this, all standard wallets should be able to connect.
2
0
2
@ananas_light Zero copy is much more efficient compared to this, but it also has very strict requirements that make it difficult to use. `LazyAccount` is much more flexible (supports complex types) and is more of a replacement for regular accounts rather than zero copy accounts.
0
0
3
@therealchaseeb @JupiterExchange @KyleSamani @jacobvcreech @SolanaCookbook Unfortunately, most programs are not open source including @JupiterExchange but they share program instructions for integrations.
1
0
3
@AndreaChello @jacobvcreech @0xk2_ @splitoor @bill_papas_12 @0xNazreen It's being used, but it's currently hidden in production builds because it's mostly useless without CPI (can't even use the Anchor `init` constraint). You can play with it from the website if you run `solana config set -u http://playnet`.
0
0
3
@redacted_noah @therealchaseeb @Eliascm17 @soundsonacid @solanaturbine @deanmlittle A lot can be improved, but it's quite difficult to make big changes to Anchor. It's possible to completely abstract accounts from app developers. Whether we should do it or not is another question, but I'm a bit surprised that nobody has done it yet.
1
0
3
@TSolserer @callum_codes Not sure if a separate account is needed, I'm sharing the most important updates on this account.
1
0
3
@therealchaseeb Hurts to see people still having deployment issues when the solution is out there.
1
0
3
@armaniferrante @NeftWorld Yes, this is possible in 0.29.0 with `idl-build` feature. Here is an example of using external types:
0
0
3