Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

walrus相关学习 #855

Open
klren0312 opened this issue Oct 30, 2024 · 1 comment
Open

walrus相关学习 #855

klren0312 opened this issue Oct 30, 2024 · 1 comment
Labels
Blockchain 区块链相关问题

Comments

@klren0312
Copy link
Owner

klren0312 commented Oct 30, 2024

一、walrus cli学习

1. walrus info

image

2. 换取walrus

walrus get-wal 默认0.5wal
image

walrus get-wal --amount 2000000000 换取2 wal
image

3. walrus上传文件

walrus store 文件 --epoch 有效期 默认有效期为1 epoch
image

4. 查看blob状态

walrus blob-status --blob-id n-e_Ni4LwoBJUwu_Ovccl7Lflh_NmHmvwMpLWLRwCt0
image

5. 读取blob

walrus read n-e_Ni4LwoBJUwu_Ovccl7Lflh_NmHmvwMpLWLRwCt0

6. 删除blob

walrus delete --blob-id n-e_Ni4LwoBJUwu_Ovccl7Lflh_NmHmvwMpLWLRwCt0

7. 查看上传的文件

访问 display网站
image

@klren0312 klren0312 added the Blockchain 区块链相关问题 label Oct 30, 2024
@klren0312
Copy link
Owner Author

klren0312 commented Nov 1, 2024

二、walrus site发布

1. 发布页面

./target/release/site-builder publish /Volumes/Data/1project/sui-nft-dapp-muyu/dist --epochs 100

https://5f3ki4tvo0eob4l1f0sfkwqp1r04a73wle22yikrd8ymn44si5.walrus.site

image

2. 设置SuiNS名称

https://testnet.suins.io/account/my-names#your_name

选择自己的名称,我的是zcdc
image

输入刚刚上传的walrus site 的objectId,进行绑定
image

然后直接访问链接即可
https://zcdc.walrus.site/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blockchain 区块链相关问题
Projects
None yet
Development

No branches or pull requests

1 participant