Skip to content

Connecting and creating an account

andor0 edited this page Sep 12, 2019 · 2 revisions

This guide will walk you through the process of connecting and creating your account in AkropolisOSChain Testnet.

  1. Open Akropolis UI (it’s polkadotJS app working with Substrate v.1.0). You can also use Polkadot UI.

  2. Go to Settings -> Developer and insert the following types description in the textbox (just copy&paste it) and hit “Save it” button.

{
  "Count": "u64",
  "DaoId": "u64",
  "MemberId": "u64",
  "ProposalId": "u64",
  "VotesCount": "MemberId",
  "Days": "u32",
  "Rate": "u32",
  "Dao": {
    "address": "AccountId",
    "name": "Text",
    "description": "Bytes",
    "founder": "AccountId"
  },
  "Action": {
    "_enum": {
      "EmptyAction": null,
      "AddMember": "AccountId",
      "RemoveMember": "AccountId",
      "GetLoan": "(Vec<u8>, Days, Rate, Balance)",
      "Withdraw": "(AccountId, Balance, Vec<u8>)"
    }
  },
  "Proposal": {
    "dao_id": "DaoId",
    "action": "Action",
    "open": "bool",
    "accepted": "bool",
    "voting_deadline": "BlockNumber",
    "yes_count": "VotesCount",
    "no_count": "VotesCount"
  }
}

  1. If you’re using Akropolis UI, you can skip step 3, and go right to the step 4. If you’re using Polkadot UI, go to Settings ->General, choose custom endpoint (top right corner), and set:
  • remote node/endpoint to connect to: wss://node1-chain.akropolis.io or wss://node2-chain.akropolis.io,

  • address prefix: Default for the connected node,

  • default interface theme: Substrate,

  • interface operation mode: Fully featured.

Then hit the Save&Reload button.

  1. Creating Account:
  • Go to the Accounts tab and click on the Add account button.

  • Enter the name for your account and create a secure password. This password will be used to decrypt your account.

  • Click Save and Create and backup account.

  • Save your encrypted keystore locally.

  • The account now appears in your Accounts tab and is backed up by the keystore you just saved.

  1. Fill the form to get test AKRO tokens.
Clone this wiki locally