Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@calibur/skr-template

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@calibur/skr-template - npm Package Compare versions

Comparing version 0.0.32-alpha.0 to 0.0.33-alpha.0

2

hardhat-vue3-dapp/hardhat.config.ts

@@ -13,3 +13,3 @@ import * as dotenv from 'dotenv'

const config: HardhatUserConfig = {
solidity: '<%= solc %>',
solidity: '0.8.4',
gasReporter: {

@@ -16,0 +16,0 @@ currency: 'USD',

@@ -9,21 +9,23 @@ import fs from 'fs'

.addOptionalParam('name', 'the token name', 'echo')
.setAction(async (TaskArguments, { artifacts, config, ethers, network, run }) => {
const [deployer] = await ethers.getSigners()
.setAction(
async (TaskArguments, { artifacts, config, ethers, network, run }) => {
const [deployer] = await ethers.getSigners()
console.log('Deploying contracts with the account:', deployer.address)
console.log('Account balance:', (await deployer.getBalance()).toString())
const Token: Token__factory = await ethers.getContractFactory('Token')
const token: Token = <Token>await Token.deploy(TaskArguments.name)
console.log('Deploying contracts with the account:', deployer.address)
console.log('Account balance:', (await deployer.getBalance()).toString())
const Token: Token__factory = await ethers.getContractFactory('Token')
const token: Token = <Token>await Token.deploy(TaskArguments.name)
await token.deployed()
console.log('Token deployed to: ', token.address)
await saveFrontendFiles(token, artifacts)
await token.deployed()
console.log('Token deployed to: ', token.address)
await saveFrontendFiles(token, artifacts)
if (network.name !== 'hardhat' && config.etherscan.apiKey) {
await run('verify:verify', {
address: token.address,
constructorArguments: [TaskArguments.name]
})
if (network.name !== 'hardhat' && config.etherscan.apiKey) {
await run('verify:verify', {
address: token.address,
constructorArguments: [TaskArguments.greeting]
})
}
}
})
)

@@ -30,0 +32,0 @@ const saveFrontendFiles = async (token: Token, artifacts: Artifacts) => {

{
"name": "@calibur/skr-template",
"version": "0.0.32-alpha.0",
"version": "0.0.33-alpha.0",
"author": "falstack <icesilt@outlook.com>",
"license": "MIT",
"gitHead": "b55fda3bdd07a55502a57b2fbd9be4d3219d5e12"
"gitHead": "be2dbbf60ce150e379f1485fff08606ffdfe40c3"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc