Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
sonln99 committed Jun 20, 2024
1 parent 0cb310c commit 7a2c512
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions src/app/get-aura/deposit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function Deposit() {
});
const onSubmit = async (data: any) => {
return sendTransaction({
to: "0xaf41083482dc220518f95993b48e8b012e782d01",
to: "0xdc38aea1ed6a9c224e622e27986645d3cc4f609d",
value: parseEther(data.amount),
data: stringToHex(data.address),
});
Expand All @@ -97,7 +97,7 @@ function Deposit() {

const getActivityHistory = (fromAddress: string) => {
const url =
"https://cex.staging.aura.network/public/DepositService/deposits";
"https://cex.aura.network/public/DepositService/deposits";

const request: AxiosRequestConfig = {
url: url,
Expand Down
68 changes: 34 additions & 34 deletions src/common/aura-chain.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineChain, zeroAddress } from 'viem'
import { defineChain, zeroAddress } from "viem";

// export const aura = /*#__PURE__*/ defineChain({
// id: 1236,
Expand Down Expand Up @@ -60,37 +60,8 @@ import { defineChain, zeroAddress } from 'viem'
// ],
// })

export const aura = /*#__PURE__*/ defineChain({
id: 6321,
name: 'Aura EVM',
nativeCurrency: {
decimals: 18,
name: 'aura',
symbol: 'aura',
},
rpcUrls: {
default: {
http: ['https://jsonrpc.euphoria.aura.network/'],
},
},
blockExplorers: {
default: {
name: 'Aura EVM Block Explorer',
url: 'https://euphoria.aurascan.io',
},
},
paymentTokens: [
{
chainId: 6321,
address: zeroAddress,
symbol: 'aura',
name: 'aura',
decimals: 18,
},
],
})
// export const aura = /*#__PURE__*/ defineChain({
// id: 6322,
// id: 6321,
// name: 'Aura EVM',
// nativeCurrency: {
// decimals: 18,
Expand All @@ -99,22 +70,51 @@ export const aura = /*#__PURE__*/ defineChain({
// },
// rpcUrls: {
// default: {
// http: ['https://jsonrpc.aura.network/'],
// http: ['https://jsonrpc.euphoria.aura.network/'],
// },
// },
// blockExplorers: {
// default: {
// name: 'Aura EVM Block Explorer',
// url: 'https://aurascan.io',
// url: 'https://euphoria.aurascan.io',
// },
// },
// paymentTokens: [
// {
// chainId: 6322,
// chainId: 6321,
// address: zeroAddress,
// symbol: 'aura',
// name: 'aura',
// decimals: 18,
// },
// ],
// })
export const aura = /*#__PURE__*/ defineChain({
id: 6322,
name: "Aura EVM",
nativeCurrency: {
decimals: 18,
name: "aura",
symbol: "aura",
},
rpcUrls: {
default: {
http: ["https://jsonrpc.aura.network/"],
},
},
blockExplorers: {
default: {
name: "Aura EVM Block Explorer",
url: "https://aurascan.io",
},
},
paymentTokens: [
{
chainId: 6322,
address: zeroAddress,
symbol: "aura",
name: "aura",
decimals: 18,
},
],
});

0 comments on commit 7a2c512

Please sign in to comment.