Admyn Setup Guide

Welcome to the Adymn Setup Guide. This guide will walk you through the steps to set up and configure Admyn, the admin panel plugin built by iCore.

 

Launching your AMI

Once you have purchased our AMI from the marketplace you can follow this guide to setting up and launching our Admyn panel.
 

Step 1: Click on the subscription link

  1. Click to “Continue to Subscribe”

LAWS-s1.jpeg


Step 2: Continue to Configuration

  1. Click the "Continue to Configuration" button (orange button)

LAWS-s2.jpeg

Step 3: Set your Region

  1. Configure your region (We recommend Europe)

LAWS-3.jpeg

Step 4: Edit Security Group Name

  1. Click "Edit" in the "Network Settings" section.
  2. Scroll down to the "Security group name" field.
  3. Provide a name for the security group, following the recommended naming convention: relay name followed by "-security group".

LAWS-s4.jpeg

Step 5: Create a new key pair

  1. Scroll down until you see the "Key Pair" section.

LAWS-s5.jpeg

2. Click "Create new key pair".

LAWS-s5.2.jpeg

Step 6: Name the key pair

  1. Enter a name for the key pair.

**Note: Ensure it is something you will remember and keep it discreet as it grants access to the terminal. Make sure there are no spaces or capital letters in the name.

Step 7: Create the key pair

  1. Click "Create key pair".
  2. Save your key pair in a secure location, you may need to use it later if manual connection is required. ( Click Here for more information )

**Note: Please do not leave it available on any public devices.

LAWS-s7.jpeg

Step 8: Launch the instance

  1. Click "Launch Instance".

LAWS-s8.jpeg

2. Select “Launch from EC2”

3. Click "Launch Instance".

LAWS-s8.2.jpeg

Step 9: Success

Congratulations! You have successfully launched your instance.

Configuring Security Groups

To allow operators to whitelist IP addresses for panel access, follow these steps to configure the security groups.

Step 1: Access Instance Details

  1. Go to the "Instances" page.

CSG-s1.png

Step 2: Go to Instance ID

  1. Click on the "Instance ID" of the previously created instance.

CSG-s2.jpeg

Step 3: Copy Public IPv4 Address

  1. Copy the "Public IPv4 address" and make a note of it.

    **Note: You will need this address later.

CSG-s3.png

Step 4: Access Security Groups

  1. Scroll down on the left toolbar and find "Network & Security".
  2. Click "Security Groups".

CSG-s4.png

Step 5: Select Security Group

  1. Click on the "Security group ID" of the previously created security group.

CSG-s5.jpeg

Step 6: Edit Inbound Rules


1. Scroll down and click "Edit inbound rules".

CSG-s6.jpeg

Step 7: Add Rule for Port 5372

  1. Click "Add rule".
  2. Edit the new port range to "5372".
  3. Set the source type to "My IP".
    **Note: By enabling this, you grant the specified IP addresses access to the Admin panel on port :5372.

CSG-s7.jpeg

Step 8: Add Rule for Port 8080

  1. Click "Add rule".
  2. Edit the new port range to "8080".
  3. Set the source type to "My IP"
  4. Click "Add rule".

Note: By enabling this, you grant the specified IP addresses access to the relay console websocket on the Admin panel on port :8080.

CSG-S8.jpeg

Step 9: Add Rule for Port 5372 with IP Address of Admyn

  1. Click "Add rule".
  2. Edit the new port range to "5372".
  3. Paste the previously copied IP address into the source field.
  4. Ensure to select the option for "/32" at the end of the IP.
  5. Click "Save rules".

Note: It’s crucial that you add this rule as this allows the Transaction Log on the Admyn panel to interact with the relay.

CSG-S9.jpeg

Step 10: Required Rules

If HTTP, SSH and HTTPS are NOT set to 0.0.0.0/0 (as shown in example).Then please make these changes.

CSG-S10.jpeg

Step 11: Success

Congratulations! You have successfully configured the security groups.

CSG-S11.jpeg

Continue to the next page for instructions on connecting to the Admyn Panel.

Configure Domain Pointing

Step 1: Log in to your domain provider account

Visit the website of your domain provider and log in to your account using your credentials.

Step 2: Access Domain Management

Navigate to the domain management section or domain settings page.

Step 3: Go to DNS Management

Look for the DNS management or DNS settings for your domain.

Step 4: Edit A Record

Locate the A record associated with your domain or look for an option to add a new DNS record.

Step 5: Update IP Address

In the appropriate field, enter the IPv4 address you copied earlier from the iCore Admyn panel.

Step 6: Save Changes

Click the "Save" or "Update" button to save the changes to your DNS settings.

Step 7: Wait for Propagation

DNS changes may take some time to propagate across the internet. It usually takes a few minutes to a few hours, but it can take up to 48 hours. Please allow some time for the changes to take effect.

Note: The instructions provided here are general guidelines. The exact steps may vary slightly depending on the interface and options provided by your domain provider. If you encounter any difficulties or have specific questions, it's recommended to refer to the support documentation or contact the customer support of your domain provider for further assistance.

Connecting to the Admyn Panel

To access the Admyn Panel and begin the configuration process, follow the steps below.

Option 1: Quick Connection (Recommended)

Step 1: Access Instance Details

  1. Go to the "Instances" page.

CTAP-S1.png

Step 2: Go to Instance ID

  1. Click on the "Instance ID" of the previously created instance.

CTAP-S2.jpeg

Step 3: Connect to the instance

  1. Click "Connect to instance".

CTAP-S3.jpeg

Step 4: Use EC2 Instance Connect

  1. Click "EC2 Instance Connect".

CTAP-S4.jpeg

Step 5: Change Username

  1. Change the username from "root" to "ubuntu".

    Note: It's important to use the "ubuntu" username to establish the connection.

  2. Click "Connect".

 

CTAP-S5.jpeg

Step 6: Access the Server

  1. Click on the server and type  screen npm start  in the terminal.
  2. Press Enter to execute the command.

CTAP-S6.jpeg

Step 7: Obtain the URL for the Admin Panel

Let the terminal load until you see the URL for your admin panel appear in the console log.

Step 8: Copy the URL

  1. Copy the URL and make a note of it.

    Note: This URL will be used to access the Admyn Panel.

CTAP-S8.jpeg

 

You can now close the terminal.

 

Option 2: Manual Connection

Step 1: Access Instance Details

  1. Go to the "Instances" page.

Step 2: Go to Instance ID

  1. Click on the "Instance ID" of the previously created instance.

Step 3: Connect to the instance

  1. Click "Connect".

Step 4: SSH Client

  1. Click the “SSH Client” tab.
  2. Copy the the example at the bottom, it should look something like this:

    ssh -i "keypair.pem" root@ec2-ipAddress.compute-1.amazonaws.com

  3. Change “root to “ubuntu” in the command line, it should look something like this:

    ssh -i "keypair.pem" ubuntu@ec2-ipAddress.compute-1.amazonaws.com

  4. Launch your terminal.

    Note: On MacOS this can be achieved by searching for the  “Terminal” in the spotlight search (cmd + space).

    Note: On Windows this can be achieved by searching for the “Console” in the search bar of the windows menu. (cmd).

  5. Locate the folder that you have saved your keypair.pem file to.
  6. Paste the command you copied earlier into the terminal and press enter.

Step 5: Access the Server

  1. Click on the server and type  screen npm start  in the terminal.
  2. Press Enter to execute the command

Step 6: Obtain the URL for the Admin Panel

  1. Let the terminal load until you see the URL for your admin panel appear in the console log.

Step 7: Copy the URL

  1. Copy the URL and make a note of it.

    Note: This URL will be used to access the Admyn Panel.
    You can now close the terminal.

Option 3: Windows PuTTY Connection

Note: If you are unable to connect to the EC2 instance through your terminal in Windows, please consider using PuTTY to connect. The documentation for a PuTTY connection can be found here.

Configuring the Admyn Panel

Follow the steps below to configure the Admyn Panel using the obtained URL.

Step 1: Open the Admyn Panel

  1. Copy the relay URL from the previous step.
  2. Paste the URL into a new tab in your browser.

    Note: This will take you to the Admyn Panel where you can create your account.

Step 2: Create an Account

  1. Create an account to access the Admyn Panel by entering a username and password.

    Note: Avoid using spaces or capital letters in the username.

Step 3: Access the Admyn Panel Dashboard

  1. Once signed in, you will be redirected to the Admyn Panel dashboard.

Step 4: Access Configuration Settings

  1. Click "settings" on the toolbar located on the left side of the dashboard.

CAP-S4.jpeg

Step 5: Edit Configuration

  1. Click "Edit settings".

CAP-S5.jpeg

Step 6: Configure Domain Name

  1. Click on the "Domain Name" field and enter your domain name.

    Note: Your domain must be pointed to the IP address of this server that you copied earlier. 

  2. Click "Connect Domain".

    Note: Wait for the process to finish, as it may take a few minutes. Ensure you see a success message.

CAP-S6.jpeg

Step 7: Enter Upstream URL and Token

  1. Enter the provided upstream URL into the "Upstream URL" field 

    Note: Please ensure that the url ends in ‘/v1’
    If provided, copy the JWT (Upstream token) into the "Upstream token" field.

CAP-S7.jpeg

Step 8: Save Configuration

  1. Click "Save Settings" in the top right corner.

CAP-S8.jpeg

Configuring the Wallet

Follow these steps to configure the wallet in the Admyn Panel.

Step 1: Access Wallet Settings

  1. Click "Wallet" on the toolbar located on the left side of the dashboard.

CW-S1.jpeg

Step 2: Edit Wallet

  1. Click "Edit Wallets" in the top right corner.

CW-S2.jpeg

Step 3: Add Individuals to the Wallet

  1. Add individuals to the wallet by providing their name, eCash wallet, and share.
  2. Click the "+" button for each individual.

CW-S3.jpeg

Step 4: Save Wallets

  1. Click "Save Wallets".

CW-S4.jpeg

Starting Your Relay

Once you have configured your relay and wallets, you can start your relay using the following instructions. 

Step 1: Access the Relay

  1. Click "Relay" on the toolbar located on the left side of the dashboard.

SR-S1.jpeg

Step 2: Start the Relay

  1. Click "Start Relay" in the top right corner.

    Note: While your relay is live, you won't be able to edit wallets or configurations. You can identify the status of your relay on the top right corner of the dashboard.

SR-S2.jpeg

 

Congratulations! You have successfully configured and started your relay. You can now proceed with testing your relay.

SR-S3.jpeg

Creating Your First Token

Follow the steps below to create your first token in the Admyn Panel.

Step 1: Access Token Settings

  1. Click "Token" on the toolbar located on the left side of the dashboard.

Step 2: Create a Token

  1. Name your audience as "Test".
  2. Set the amount to "0". You don't need to worry about the amount type for this token as it will be used for testing purposes.
  3. Click the "Create Token" button.

Step 3: Update Configuration Settings

  1. Click "Config" on the toolbar located on the left side of the dashboard.

Step 4: Edit Configuration

  1. Click "Edit Config" in the top right corner.

Step 5: Enable Tokens

  1. Set the "Enable Tokens" option to "Required".

Step 6: Save Configuration

  1. Click "Save Config" in the top right corner.

Cookie Settings

By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. More info