fuels-ts icon indicating copy to clipboard operation
fuels-ts copied to clipboard

Create a dev container for the `create-fuels` template app on Stackblitz

Open Dhaiwat10 opened this issue 1 year ago • 6 comments

It could be worth having a Stackblitz template for the create-fuels template app. This will be a fullstack Fuel dev container that works fully in the browser.

We should mention this in our docs if we create one such container, as well as using it in the bug issue template.

Dhaiwat10 avatar Mar 22 '24 07:03 Dhaiwat10

We will probably want to have this running against a Testnet fuel node, so we can re-address this once that's live.

maschad avatar Apr 11 '24 18:04 maschad

We can unblocked this now due to devnet.

danielbate avatar May 24 '24 13:05 danielbate

Ideally, we should be able to run fuel-core and forc on Stackblitz. 🙃

Simple things:

// package.json
{
  "devDependencies": {
    "@fuels/forc": "0.60.0",
    "@fuels/fuel-core": "0.30.0",
  }
}

If we'd cross-publish fuelup:

// package.json
{
  "scripts": {
    "install": "fuelup default testnet",
  },
  "devDependencies": {
    "@fuels/fuelup": "0.26.0"
  }
}
# fuel-toolchain.toml
[toolchain]
channel = "testnet"

[components]
forc = "0.60.0"
fuel-core = "0.30.0"

We should consider approximating the Rust and NodeJs ecosystems.

Cross-publishing some crates to NPM could be a start. 🙂

arboleya avatar Jul 01 '24 00:07 arboleya

// package.json
{
  "devDependencies": {
    "@fuels/forc": "0.60.0",
    "@fuels/fuel-core": "0.30.0",
  }
}

We don't publish these binaries anymore.

petertonysmith94 avatar Jul 01 '24 07:07 petertonysmith94

Yes, we should consider approximating the Rust and NodeJs ecosystems.

Cross-publishing crates to NPM could be a good start. 🙂

Just like it happens with fuel-asm (source).

arboleya avatar Jul 01 '24 09:07 arboleya

Yes, we should consider approximating the Rust and NodeJs ecosystems.

Cross-publishing crates to NPM could be a good start. 🙂

Just like it happens with fuel-asm (source).

Thanks for the insight - need to take a better look at this repo!

petertonysmith94 avatar Jul 01 '24 10:07 petertonysmith94

Marking as blocked as this topic is being investigated by product.

danielbate avatar Aug 29 '24 09:08 danielbate

Let's close for now.

arboleya avatar Aug 29 '24 09:08 arboleya