DLT Announces Open-Source Script For Smart Contract Migration Tool

The team at Detroit Ledger Technologies (DLT, block producer account eosiodetroit) is excited to announce it has open-sourced the script for its new Smart Contract Migration tool on GitHub. You probably know that EOSIO smart contracts, unlike Ethereum smart contracts, can be modified and upgraded after deployment. However, when a table is modified, a migration is required so that new and old stored data follows the same structure. This is where DLT’s Smart Contract Migration tool steps in, facilitating the migration actions which would otherwise be quite tedious.

Here’s how it works:

  1. The script creates supporting tables for the tables that are to be migrated. It does this by also adding a temporary migration table that controls the migration status.

Note: to avoid unexpected outcomes, during the process all smart contract actions are temporarily frozen until the migration has been completed.

The Smart Contract Migration tool project began earlier this year as a Pomelo Grant application. Now that the script has been open-sourced, DLT plans to submit further Pomelo Grant proposals if improvements can be made.

Find the script on GitHub at: https://github.com/eosdetroit/smart-contracts-migration

--

--

A benevolent block producer crew based in Detroit, MI building value on blockchain networks. Planting new seeds of economic opportunity.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Detroit Ledger Technologies

A benevolent block producer crew based in Detroit, MI building value on blockchain networks. Planting new seeds of economic opportunity.