Add NFT deploy script
This commit is contained in:
parent
6e87730aec
commit
c01dd93adb
|
@ -0,0 +1,11 @@
|
|||
const BridgeImplementation = artifacts.require("NFTBridgeImplementation");
|
||||
module.exports = async function(callback) {
|
||||
try {
|
||||
const bridge = (await BridgeImplementation.new());
|
||||
console.log('tx: ' + bridge.transactionHash);
|
||||
console.log('NFTBridge address: ' + bridge.address);
|
||||
callback();
|
||||
} catch (e) {
|
||||
callback(e);
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue