Skip to content

Commit

Permalink
Merge pull request #13 from maticnetwork/fix-npm
Browse files Browse the repository at this point in the history
Fix npm
  • Loading branch information
nitinmittal23 authored Aug 6, 2024
2 parents 3f68e36 + 9851a35 commit a493415
Show file tree
Hide file tree
Showing 24 changed files with 4,898 additions and 13,286 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/test.yml

This file was deleted.

8 changes: 3 additions & 5 deletions examples/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,17 @@ const env = dotenv.config({
module.exports = {
plasma: {
parent: {
erc20: '0x499d11e0b6eac7c0593d8fb292dcbbf815fb29ae',
erc721: '0xfA08B72137eF907dEB3F202a60EfBc610D2f224b'
erc20: '0x3fd0A53F4Bf853985a95F4Eb3F9C9FDE1F8e2b53'
},
child: {
erc20: '0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1',
erc721: '0x33FC58F12A56280503b04AC7911D1EceEBcE179c'
erc20: '0x0000000000000000000000000000000000001010'
},
},
parent: {
rpc: process.env.ROOT_RPC
},
child: {
rpc: process.env.MATIC_RPC || 'https://rpc-mumbai.matic.today'
rpc: process.env.MATIC_RPC || 'https://rpc-amoy.polygon.technology'
},
user1: {
// '<paste your private key here>' - A sample private key prefix with `0x`
Expand Down
2 changes: 1 addition & 1 deletion examples/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use(Web3ClientPlugin)
const privateKey = config.user1.privateKey
const from = config.user1.address

async function getPlasmaClient (network = 'testnet', version = 'mumbai') {
async function getPlasmaClient (network = 'testnet', version = 'amoy') {
try {
const plasmaClient = new PlasmaClient()
return plasmaClient.init({
Expand Down
4 changes: 2 additions & 2 deletions webpack/licence.js → license.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const package = require('../package.json');
const package = require('./package.json');
var today = new Date();
var dd = today.getDate();
var mm = today.getMonth() + 1; //January is 0!
Expand All @@ -13,4 +13,4 @@ var today = dd + '/' + mm + '/' + yyyy;

exports.banner = `@license :${package.name} - V${package.version} - ${today}
https://github.com/maticnetwork/maticjs-plasma
Copyright (c) ${yyyy} @polygon; Licensed ${package.license}`;
Copyright (c) ${yyyy} @Polygon Labs; Licensed ${package.license}`;
Loading

0 comments on commit a493415

Please sign in to comment.