
Akashian挑战赛第三阶段第四个挑战
这是第三阶段第二周的挑战。上周提交的3个挑战都被接受了,因为提交的早,会获得额外的奖励。大概算了一下可能不少于700个AKT
这周也是3个挑战,第一个150 AKT,第二个200 AKT,第三个250 AKT。和上周一样,提前完成3个挑战的会获得额外奖励
同时还有一些额外的挑战,总共有650 AKT
先介绍这次的挑战吧。基本和前几天一样,只是SDL文件改一下。这次是部署一个API。
快速通关攻略:https://github.com/blurtbuzz/Akash-Challenges
Challenge 4
Installations:
- git clone https://github.com/blurtbuzz/Akash-Challenges.git
- cd Akash-Challenges
- . ./setup.sh
Setup Wallet:
- export KEY_NAME=”ANY_KEY_NAME”
- export KEYRING_BACKEND=”os”
- export ACCOUNT_ADDRESS=”$(akash keys show $KEY_NAME -a)”
Deploy Your App:
- cd
- cd ecosystem
- git remote add upstream https://github.com/ovrclk/ecosystem.git
- git fetch upstream
- git pull upstream master
curl -s https://raw.githubusercontent.com/ovrclk/docs/02995cca8d90a6bdf1bec896c6e28b6e51cb58ee/testnet-challenges/deploy-2-1.yaml > deploy.yml
akash tx deployment create deploy.yml –from $KEY_NAME –node $AKASH_NODE –chain-id $AKASH_CHAIN_ID -y
akash query market lease list –owner $ACCOUNT_ADDRESS –node $AKASH_NODE –state active
- Wait for your Lease
leases:
- lease_id:
dseq: “47714”
gseq: 1
oseq: 1
owner: akash1nyxtwy6y0crnvrfmctfjyaljzu8y4xc46398ah
provider: akash174hxdpuxsuys9qkauaf57ym5j8dm4secnz6jd7
price:
amount: “43”
denom: uakt
state: active
pagination:
next_key: null
total: “0”
export DSEQ=GENERATED_VALUE_FROM_ABOVE
export GSEQ=GENERATED_VALUE_FROM_ABOVE
export OSEQ=GENERATED_VALUE_FROM_ABOVE
export OWNER=GENERATED_VALUE_FROM_ABOVE
export PROVIDER=GENERATED_VALUE_FROM_ABOVE
Go to Earn Token Rewards and copy the Participant Code
export CODE=YOUR_PARTICIPANT_CODE
akash query market lease get –dseq $DSEQ –gseq $GSEQ –oseq $OSEQ –provider $PROVIDER –owner $ACCOUNT_ADDRESS –node $AKASH_NODE -o json > akashian/phase3/challenge4/$CODE.json
Commit your change and make a pull request
- Thanks for your appreciation. / 感谢您的赞赏