From 8c4cf0f66778d561720ae6a82eb07e29f90020d9 Mon Sep 17 00:00:00 2001 From: RolandoDrRobot Date: Mon, 19 Aug 2024 16:32:31 -0400 Subject: [PATCH] It compiles, It migrate and we can record info in Torii --- scripts/auth.sh | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 scripts/auth.sh diff --git a/scripts/auth.sh b/scripts/auth.sh deleted file mode 100644 index c20cd38..0000000 --- a/scripts/auth.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -set -euo pipefail -pushd $(dirname "$0")/.. - -need_cmd() { - if ! check_cmd "$1"; then - printf "need '$1' (command not found)" - exit 1 - fi -} - -check_cmd() { - command -v "$1" &>/dev/null -} - -need_cmd jq - -export RPC_URL="http://0.0.0.0:5050" - -export WORLD_ADDRESS=$(cat ./manifests/dev/deployment/manifest.json | jq -r '.world.address') - -echo "---------------------------------------------------------------------------" -echo world : $WORLD_ADDRESS -echo "---------------------------------------------------------------------------" - -# enable system -> models authorizations -sozo auth grant --world $WORLD_ADDRESS --wait writer \ - Beast,bytebeasts::systems::actions::actions\ - >/dev/null - -echo "Default authorizations have been successfully set."