Skip to content

Latest commit

 

History

History
87 lines (66 loc) · 2.35 KB

README.md

File metadata and controls

87 lines (66 loc) · 2.35 KB

NEAR on Akash

What is Akash?

Akash is an open source Cloud platform that lets you quickly deploy a Docker container to the Cloud provider of your choice for less than the cost of AWS, right from the command-line.

What is NEAR?

NEAR is a sharded, proof-of-stake, layer-one blockchain that is simple to use, secure and scalable.

Simple Steps

  1. Install Keplr wallet as a browser extension
  2. Fund your wallet at least 5 AKT(how to get AKT)
  3. Install Akashlytics and import your AKT wallet address from Keplr
  4. Deploy a NEAR node

Click here to learn more about deploying.

Deploy a NEAR node on Akash

  1. import your AKT wallet address from Keplr
  2. create a certificate
  3. create deployment
  4. choose Empty for the template and copy-and-paste the deploy.yaml file from this repository

Note:

  • adjusting the account-id if you want to run a validator node.
---
version: "2.0"

services:
  nearup:
    image: nearprotocol/nearup
    args:
      - run
      # Validators should use the account ID of the account you want to stake with. leave empty if not going to be a validator
      - --account-id=
      # Types of network: mainnet, testnet, betanet, guildnet, localnet
      - mainnet
    expose:
      - port: 3030
        as: 3030
        to:
          - global: true

profiles:
  compute:
    nearup:
      resources:
        # Near Nodes Minimal Hardware Specifications: 8 physical cores AND 8GB DDR4 RAM
        cpu:
          # Max cpu units is 10 on Akash
          units: 8
        memory:
          size: 8Gi
        storage:
          size: 256Gi
  placement:
    akash:
      attributes:
        host: akash
      signedBy:
        anyOf:
          - "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
          - "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4"
      pricing:
        nearup:
          denom: uakt
          amount: 100

deployment:
  nearup:
    akash:
      profile: nearup
      count: 1