Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote develop to master #106

Merged
merged 2 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@heroicons/vue": "^1.0.6",
"ethers": "^5.6.9",
"iotex-antenna": "^0.31.0",
"iotex-antenna": "^0.31.3",
"vue": "^3.2.25",
"vue-router": "^4.0.15"
},
Expand Down
5 changes: 2 additions & 3 deletions apps/website/src/composables/iopay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { toRau } from 'iotex-antenna/lib/account/utils'

export default function useIoPay() {
const signer = new WsSignerPlugin()
const antenna = new Antenna('http://api.testnet.iotex.one:80', {
const antenna = new Antenna('http://api.testnet.iotex.one:80', 2, {
signer,
})

Expand All @@ -19,8 +19,7 @@ export default function useIoPay() {
from: antenna.iotx.accounts[0].address,
value: toRau(amount, 'Iotx'),
gasLimit: '100000',
gasPrice: toRau('1', 'Qev'),
chainID: 2,
gasPrice: toRau('1', 'Qev')
})
console.log('transResp :>> ', transResp)
} catch (err) {
Expand Down
11 changes: 7 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.