Skip to content

ovrclk/demo-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Download project

https://github.com/ovrclk/demo-env.git demo
cd demo

Install akash client

make install

Initiate environment

source env.sh

note: once account is set up, source demo.sh instead for $AKASH_DSEQ, $AKASH_OWNER utilities.

Add key if necessary

akash keys add demo --recover

View balance

akash query bank balances $(akash keys show deploy -a)

Create client certificate

akash tx cert create client

Run commands

Query providers

akash query provider list

Get provider status

akash provider status $address

Create auditor key

akash keys add audit

Send tokens to auditor

akash tx send deploy $(akash keys show -a audit) 1000000uakt

Create audited attributes

akash tx audit attr create akash15fv00ly8u33qr78r2llfu67uwd9rrhhxmgaldq datacenter equinix-metal-ams --from audit
akash tx audit attr create akash1v9pdl8ryyvcuz44e249xnkuphzu6afae23fuln datacenter equinix-metal-ewr --from audit

Deploy

Create deployment

akash tx deployment create ff.yaml --dseq 1

List deployment

akash query deployment list --owner $(akash keys show deploy -a)

List bids

akash query market bid list --owner $(akash keys show deploy -a)

Create lease

akash tx market lease create --owner $(akash keys show deploy -a) --provider akash15fv00ly8u33qr78r2llfu67uwd9rrhhxmgaldq --dseq 1

Send manifest

akash provider send-manifest ff.yaml --dseq 1 --provider akash15fv00ly8u33qr78r2llfu67uwd9rrhhxmgaldq

Get lease status

akash provider lease-status --dseq 1 --provider akash15fv00ly8u33qr78r2llfu67uwd9rrhhxmgaldq

Get lease logs

akash provider lease-logs --follow

Close deployment

akash tx deployment close --dseq 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published