Content-Length: 262887 | pFad | http://github.com/dmc12-xyz/fuel-network

6E GitHub - dmc12-xyz/fuel-network: Full stack app on fuel network
Skip to content

dmc12-xyz/fuel-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple counter example on fuel.

sway contract, indexer, rust sdk contract call, and react app

Pre-requisites

  • Get the fuel toolchain here
  • Clone and build the indexer
git clone https://github.com/FuelLabs/fuel-indexer.git
cargo build --release
  • Copy the indexer binary into project bin folder
cp target/release/fuel-indexer <project-root>/counter-indexer/bin/

Execution

  • Run a local fuel node
fuel-core run --db-type in-memory 
  • Build and test the contract
forc build -p counter
cargo test
  • Run the contract calls
cd counter-rust && cargo run
  • Build and start indexing
cd counter-indexer

# build target will auto set
cargo build --release

# snip the erands
./wasm_clip.sh

# run the indexer
./bin/fuel-indexer --manifest manifest.yaml

# to run with custom config
./bin/fuel-indexer --manifest manifest.yaml --config config.yaml

About

Full stack app on fuel network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/dmc12-xyz/fuel-network

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy