Skip to content

Commit

Permalink
Pass native asset ID to frontend in waves-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
luckysori committed Dec 23, 2020
1 parent 095823d commit 590a4e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion waves-scripts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ start_frontend () {
__read_env_file

local -r chopsticks_url="http://127.0.0.1:$LIQUID_CHOPSTICKS_PORT"
cd waves && yarn install && ELEMENTS_CHAIN=ELEMENTS ESPLORA_URL=$chopsticks_url REACT_APP_ESPLORA_URL=$chopsticks_url yarn start
cd waves
yarn install
export NATIVE_ASSET_ID=$(nigiri rpc --liquid dumpassetlabels | jq -r '.bitcoin')
export ELEMENTS_CHAIN=ELEMENTS
export ESPLORA_URL=$chopsticks_url
export REACT_APP_ESPLORA_URL=$chopsticks_url
yarn start
}

stop_nodes () {
Expand Down

0 comments on commit 590a4e2

Please sign in to comment.