Skip to content

dApp on Ergo blockchain to mint new tokens using Yoroi dApp connector

Notifications You must be signed in to change notification settings

ThierryM1212/ergo-token-minter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ergo Token Minter / Burner

Introduction

dApp to mint and burn ergo tokens using EIP-12 dApp connector. Written in javascript with bootstrap v4.

It can be tried at https://thierrym1212.github.io/tokenminter/index.html

It is based on the Yoroi dApp connector example: https://github.com/Emurgo/yoroi-frontend/tree/develop/packages/yoroi-ergo-connector/example-ergo

Installation

git clone https://github.com/ThierryM1212/ergo-token-minter.git
cd ergo-token-minter
npm install
npm run build
npm run start


http://localhost:8080

Build static page

This allows to deploy a static webpage for example in apache.

npm run buildstatic


The static website is generated in the ./dist folder


In the generated bootstrap.js remove two rows to avoid error loading the wasm (for me at line 270):

    /******/                                } else if(typeof WebAssembly.instantiateStreaming === 'function') {
    /******/                                        promise = WebAssembly.instantiateStreaming(req, importObject);

About

dApp on Ergo blockchain to mint new tokens using Yoroi dApp connector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages