Skip to content

Commit

Permalink
chore: create new canvas for ae universe three
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Aug 26, 2023
1 parent 0d691fd commit 549bfb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions aepp/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default {
minimumImageSize: [10, 10]
},
blockchainSettings: {
ae_uat: 'ct_uJ5NKmuX7eX79QPerixR7Z8zEdxKCKJw1yzHjX1tsmRP17tuP', // testnet //ct_eLhLkGX2kfrqj6skdG4AxwjQk2MJy6nsWASnG8aEQFrQ2gDyp //ct_2SugvqB52guEV6fSTkuGjipzPMjeEf5urYQYnPe91cdkMmjJGy
ae_mainnet: 'ct_rR1BHya4jLXR1d4FpTRfgB5YZmALELwm6kf7f64sVRSjmWtrj'// ct_ftU4u1wEsiWd6YN4AAekEArJmLds4K8AB2k4UXKxn32Yrf5n5 ct_2L8CMtgsb3cz9VbhYdtrSZPU8MbGDhH446WjTnFDm3snyMYTR ct_2P2vEqq3WQz6kzKLJFoqBbm46EMot64WvpP1xpvvANApLWcwnt';
ae_uat: 'ct_N4ijuS5Nwg1txyqqkgUBruJgCXrT8G7ZRKWi9N5KjGUhTS3cE', // testnet //ct_eLhLkGX2kfrqj6skdG4AxwjQk2MJy6nsWASnG8aEQFrQ2gDyp //ct_2SugvqB52guEV6fSTkuGjipzPMjeEf5urYQYnPe91cdkMmjJGy
ae_mainnet: 'ct_2Lj41hzQ7xtYqEQGiBwwrW8yDCuz4VRaAcYS28uc9Jq39QTJUQ'// ct_ftU4u1wEsiWd6YN4AAekEArJmLds4K8AB2k4UXKxn32Yrf5n5 ct_2L8CMtgsb3cz9VbhYdtrSZPU8MbGDhH446WjTnFDm3snyMYTR ct_2P2vEqq3WQz6kzKLJFoqBbm46EMot64WvpP1xpvvANApLWcwnt';
},
apiUrl,
nodeUrl: {
Expand Down
10 changes: 5 additions & 5 deletions contract/deployment/deploy-testnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const deploy = async () => {

const config = {
host: 'https://testnet.aeternity.io/',
compilerUrl: 'https://compiler.aepps.com'
compilerUrl: 'https://v6.compiler.aepps.com'
};

const keypair = {
Expand All @@ -31,9 +31,9 @@ const deploy = async () => {
console.log(init);

const startHeight = (await client.height()) + 1;
const numberOfUnits = 8;
const blocksPerUnit = (60 / 3) * 24 * 7;
const blocksOverlap = (60 / 3) * 24;
const numberOfUnits = 6;
const blocksPerUnit = (60 / 3) * 24;
const blocksOverlap = (60 / 3) * 8;

await [...Array(numberOfUnits).keys()].reduce(async (previousPromise, unit) => {
await previousPromise;
Expand All @@ -42,7 +42,7 @@ const deploy = async () => {
const end = startHeight + ((unit + 1) * blocksPerUnit);
console.log(unit, start, end);

return contract.methods.add_auction_slot(1000, start, end, 1, 100).catch(console.error);
return contract.methods.add_auction_slot(10000, start, end, 1, 100).catch(console.error);
}, Promise.resolve());

const auctionSlots = await contract.methods.all_auction_slots();
Expand Down

0 comments on commit 549bfb1

Please sign in to comment.