Skip to content

Commit

Permalink
update with neo config
Browse files Browse the repository at this point in the history
  • Loading branch information
leeduckgo committed Oct 7, 2024
1 parent d2e4c57 commit 70c3879
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"vercel": "yarn workspace @se-2/nextjs vercel",
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo"
},
"packageManager": "[email protected]",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
Expand Down
16 changes: 12 additions & 4 deletions packages/nextjs/generated/deployedContracts.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
const contracts = {
10: [
// 10: [
// {
// chainId: "10",
// name: "optimism",
// contracts: {
// AssetTagger: {
// address: "0x91Ab92D5a6d85a25f4d16A89B16687a8964F5A6A",
12227332: [
{
chainId: "10",
name: "optimism",
chainId: "12227332",
name: "Neo",
contracts: {
// Hint: config here.
AssetTagger: {
address: "0x91Ab92D5a6d85a25f4d16A89B16687a8964F5A6A",
address: "0xFD2eAE748407bFf503212599d0992b6d26Fb310a",
abi: [
{
inputs: [
Expand Down
21 changes: 20 additions & 1 deletion packages/nextjs/scaffold.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as chains from "wagmi/chains";
import { Chain } from "wagmi";

export type ScaffoldConfig = {
targetNetwork: chains.Chain;
Expand All @@ -11,7 +12,25 @@ export type ScaffoldConfig = {

const scaffoldConfig = {
// The network where your DApp lives in
targetNetwork: chains.optimism,
// targetNetwork: chains.optimism,
targetNetwork: {
id: 12227332,
name: "Neo",
network: "neo",
nativeCurrency: {
name: "Gas",
symbol: "GAS",
decimals: 18,
},
rpcUrls: {
default: {
http: ["https://neoxt4seed1.ngd.network"],
},
public: {
http: ["https://neoxt4seed1.ngd.network"],
},
}, testnet: true,
} as Chain,

// The interval at which your front-end polls the RPC servers for new data
// it has no effect on the local network
Expand Down

0 comments on commit 70c3879

Please sign in to comment.