Inspiration

Since we have our erc20 token already deployed on Ethereum and are planning to migrate our platform to the SKALE network, we wanted to check how their Interchain Messaging Agent would work in order to bridge our token to our new chain in the future.

What it does

We have now created a token bridge that locks an amount of tokens on the mainnet (or rinkeby in this case) and mints them on the Skale chain when you send your tokens to Skale, and burn them on Skale and unlock them on rinkeby if you're sending them back. As long as you are on the Skale chain you can make use of gasless transactions but when you're going back to Ethereum it would include a gas cost from the Ethereum network.

How we built it

We have edited our token contract to add the "mint", "burn" and "addMinter" methods, once deployed on the Skale chain we have then added the locking contract (provided by Skale) as a minter and registered our token contracts on both chains and linked them together.

Challenges we ran into

Since SKALE has just released their network there were some initial problems setting everything up, but with the support of their team we were able to get it to work.

Accomplishments that we're proud of

Now that we have figured out how the IMA works, we are ready to set it up for real in the near future.

What we learned

We learned the ins and outs of the Skale network and we are still learning more about other possibilities they offer.

What's next for Musicoin

We are working on completing our migration to the Skale network, after that there are plans to create a governance system and implement the use of NFT's into our existing Pay Per Play model.

Built With

Share this project:

Updates