Home

Awesome

Oraichain Studio

OraiStudio

To build Oraichain Studio whenever a file changes run:

# run test crates
cargo test --package rust-pack --lib --release -- tests::initialize_state --exact --nocapture

# build rust
wasm-pack build crates/ra-wasm --target web

# for hot-reload in development, default is both: --output=rust&json
cargo run -p rust-pack --release -- ../cosmwasm --toolchain +1.51.0

# change toolchain for lib and install source code to reference
rustup toolchain add 1.51.0 --profile minimal && rustup +1.51.0 component add rust-src

# or using source code, should be version >= 1.47.0, minimum support is 1.42.0
svn export https://github.com/rust-lang/rust/tags/1.47.0/library rust_library/1.47.0
cargo run -p rust-pack --release -- ../cosmwasm --toolchain rust_library/1.47.0 --output rust

# to build client
# rebuild template
yarn templates
yarn build
SERVICE_URL=http://localhost:3000 yarn start

Before submitting a pull request run:

yarn test

Credits

This project depends on several excellent libraries and tools: