Skip to content

Commit

Permalink
frontend: Updated the Walrus Sites config and the deployment script t…
Browse files Browse the repository at this point in the history
…o support the latest Walrus testnet update.
  • Loading branch information
kkomelin committed Oct 28, 2024
1 parent 54a2562 commit 05c039b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/frontend/scripts/walrus-site-deploy.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ const main = async () => {

let siteObjectId = await readSiteObjectId(configFilePathFull)

console.log('Buying test WAL coins from the faucet...')
execSync(
`walrus --wallet ${WALLET_CONFIG_PATH_FULL} get-wal`, { stdio: 'inherit' }
)

// If the site has not yet been published (no site object ID in the config),
// then publish the site to Walrus Sites.
if (siteObjectId == null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/walrus-sites.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# module: site
# portal: walrus.site
package: 0x514cf7ce2df33b9e2ca69e75bc9645ef38aca67b6f2852992a34e35e9f907f58
package: 0xc5bebae319fc9d2a9dc858b7484cdbd6ef219decf4662dc81a11dc69bb7a5fa7
# general:
# rpc_url: https://fullnode.testnet.sui.io:443
# wallet: /path/to/.sui/sui_config/client.yaml
Expand Down

0 comments on commit 05c039b

Please sign in to comment.