Download and Installation
Download
https://github.com/SequentiaSEQ/sequentia/releases/tag/testnet-v0.2
Installation
In order to connect to the current public testnet, you can keep the provided elements.conf file in the archive linked above or create your own using the parameters at https://testnet.sequentia.io/
To create your own configuration file, if you are a Windows user, create a simple text document (using your favourite editor, such as Window’s default “notepad” application) and simply copy and paste the desired configuration parameters inside it. Then, rename the file to elements.conf, making sure that .conf is the extension. If you are not able to edit the extensions of Windows files, follow these steps.
Then proceed as follows.
For Linux:
Extract archive
create .elements dir in your root directory
move elements.conf to ~/.elements/
run elementsd in sequentia-testnet-linux
use elements-cli to execute some RPCs
For Windows:
Extract the archive you downloaded to any Windows folder
Create the “Elements” directory in C:\Users\<username>\AppData\Roaming\ The fastest way to reach that directory is to click on windows key + R, type %appdata% and click “OK”. When you browse to c:\Users\<username> if you don’t see the folder AppData, select folder options → view → “show hidden files, folders and drives”.
Move elements.conf to the new directory C:\Users\<username>\AppData\Roaming\Elements\
Run the file elementsd.exe in sequentia-testnet-win by double clicking on it (or using the "command prompt” app with the command “cd <path to the directory with the file>)
If Windows’ User Account Control prompts you to allow changes to be made to your device, click ‘Yes’
If Microsoft Defender SmartScreen prevents an app from running, click “more info” and “run anyway”.
If Windows Defender Firewall or Windows Security prompts you to allow access on your network, select the appropriate options and click “Allow access” or “Allow”.
For macOS:
Coming soon
The rest of this demo walkthrough will only provide command and output syntax based on Windows, but where needed or relevant, it should be fairly straightforward to adapt to any other operating system.
Always leave the application elementsd.exe open whenever you use the node, wallet, RPCs, etc. To keep it running in the background, change the line in elements.conf file to daemon = 1 rather than daemon = 0.
Now open the Windows application "Command prompt". Use the “cd” command within the command line to access the folder “bin” in the folder where you extracted and saved the sequentia-testnet-win archive. Inside that folder, you will find the file elements-cli.exe that you will use to execute commands on your node.
For example, on my personal Windows machine, I would type this and then press enter:
Use elements-cli.exe to execute some RPCs (.\elements-cli.exe). For example, use the following command to scan the blockchain. In the output, you will see the number of blocks under "blocks" and the size of the blockchain, among several other bits of information.
You are now ready to go!
Last updated