Skip to content

Commit

Permalink
add word registry interface
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Jan 7, 2021
1 parent 45a486d commit f3d2e6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ fs.writeFileSync(__dirname + '/../TokenSaleInterface.aes.js', `module.exports =

const TokenVotingInterface = fs.readFileSync(__dirname + '/../contracts/interfaces/TokenVotingInterface.aes', 'utf-8');
fs.writeFileSync(__dirname + '/../TokenVotingInterface.aes.js', `module.exports = \`\n${TokenVotingInterface.replace(/`/g, "\\`")}\`;\n`, 'utf-8');

const WordRegistryInterface = fs.readFileSync(__dirname + '/../contracts/interfaces/WordRegistryInterface.aes', 'utf-8');
fs.writeFileSync(__dirname + '/../WordRegistryInterface.aes.js', `module.exports = \`\n${WordRegistryInterface.replace(/`/g, "\\`")}\`;\n`, 'utf-8');

0 comments on commit f3d2e6e

Please sign in to comment.