Skip to content

Commit

Permalink
fix: dir rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Feb 17, 2024
1 parent 4ee357d commit 1310b5d
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# dependencies
/node_modules
/ethereum/node_modules
/ethereum/.env
/ethereum/build
/contract/node_modules
/contract/.env
/contract/build
/.pnp
.pnp.js

Expand All @@ -23,4 +23,4 @@

npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn-error.log*
File renamed without changes.
Empty file added contracts/.env.sample
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added contracts/test/.gitkeep
Empty file.
File renamed without changes.
34 changes: 17 additions & 17 deletions ethereum/truffle-config.js → contracts/truffle-config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
require('dotenv').config()
const HDWalletProvider = require("@truffle/hdwallet-provider");
const HDWalletProvider = require('@truffle/hdwallet-provider')

//truffle migrate --network ropsten --reset --compile-all
module.exports = {

networks: {
development: {
host: "127.0.0.1", // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: "*", // Any network (default: none)
host: '127.0.0.1', // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: '*', // Any network (default: none)
},
ropsten: {
provider: function() {
return new HDWalletProvider(process.env.MNEMONIC, process.env.NETWORK);
sepolia: {
provider: function () {
return new HDWalletProvider(process.env.MNEMONIC, process.env.NETWORK)
},
network_id: 3
}
network_id: 11155111,
},
// Another network with more advanced options...
// advanced: {
// port: 8777, // Custom port
Expand Down Expand Up @@ -51,12 +50,13 @@ module.exports = {
// Configure your compilers
compilers: {
solc: {
settings: { // See the solidity docs for advice about optimization and evmVersion
optimizer: {
enabled: true,
runs: 200
}
}
settings: {
// See the solidity docs for advice about optimization and evmVersion
optimizer: {
enabled: true,
runs: 200,
},
},
},
},
};
}

0 comments on commit 1310b5d

Please sign in to comment.