evolution-js 1.0.0

A javascript library for interact with blockchain(Ethereum、Tron) and Evolution Land.

Usage

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
    <title>Document</title>
</head>
<body>
<script src="../dist/evolutionland.min.js"></script>
<script>
    const evo = new Evolution();

    evo.createWeb3js({provider: web3.currentProvider})
    evo.createTronweb({
        fullHost: 'https://api.shata.trongrid.io',
    })
    
    evo.createEvolutionLand('ethereum', 'kovan')
    evo.createEvolutionLand('tron', 'shasta')

    evo.ethEvoland.buyRing(10000)
</script>
</body>
</html>