ErgoPad Technical Update #2

ErgoPad.io
3 min readDec 8, 2021

Over the last couple weeks, we were busy working on a few back-end and front-end tasks to get ready for the upcoming seed sale. We need to have some web forms in place to let you sign up for the seed sale, and purchase tokens when the time comes. These forms are now built and we are working on integrating them into the Ergo blockchain assembler service, which compiles smart contracts for users to interact with.

We also put together an API service for email automation to make all the web forms work, and will be able to automate the process of confirming when the seed sale has sold out using this same code, to disable the web-form and prevent further signups.

One critical path to the token release is developing the smart contract which will allow users to send erg and receive ErgoPad tokens in return. A complication is the fact that we have a vesting schedule, meaning not all tokens will be released at the same time as the user sends Erg to the address. We’ve been working on a contract that will reserve your ErgoPad tokens to be spendable after certain time-frames, but since they’re locked in a smart contract, we’ll need a way to display how many you have. We don’t want users to send Ergo and receive no confirmation, but the blockchain doesn’t always give a lot of human-readable details. We’ve been chipping away at this over the past couple weeks.

We’ll allow users to create these transactions directly on our website. Users will enter the amount of Erg they want to send for ErgoPad tokens, and their public wallet address will be pulled from the connected wallet. The assembler service will take those inputs and compile a script, which you then send erg to. This part creates an output which will be a number of boxes locked through the appropriate vesting period.

Here’s an example from one our our testnet transactions. The assembler service does the heavy lifting, and gives a compiled smart contract to the user, along with a specific amount of erg to send to that address to make things work:

The team has also been working on having the entire app and all its components run in docker containers, so that we can spin up mirrors and move to better servers whenever necessary. It’s all coming together and has been tested on multiple devices.

Once the smart contract work is complete, Kushti has agreed to audit our code. We really appreciate the offer and will definitely be sending it over to ensure there aren’t unforeseen issues that we overlooked.

The ergoscript itself is currently split in to 2 parts: 1. the script that initiates the transaction, and 2. the vesting scripts that lock the boxes for spending. Each of these seem to be working well on their own but we’re still working on getting them to work together.

We will keep everyone up-to-date in telegram and discord, and another blog post every two weeks from the dev team. Feel free to check out the code on github at https://github.com/ergo-pad/ergopad if you want to see more.

--

--

ErgoPad.io

ErgoPad brings the latest and most promising crypto projects to the Ergo Ecosystem enabling YOU to invest early. t.me/ergopad_chat