Fullstack Interchain dApp on Linea with Axelar 🔥
- Clone the project
- Install dependencies with
npm install
- Run the project with
npm run dev
- Create a new folder called
truffle
with the following commandmkdir truffle
- cd into the folder
cd truffle
// Axelar chains config https://github.com/axelarnetwork/axelar-contract-deployments/blob/d4b2a6ad23d3a24eaf5e94a5a2406e4a27c91431/axelar-chains-config/info/testnet.json#L1059 | |
// Base Goerli test | |
const hre = require("hardhat"); | |
const crypto = require("crypto"); | |
const ITSContractABI = require("../utils/its/abi"); | |
const tokenManagerMintBurnABI = require("../utils/its/tokenManagerMintBurnABI"); | |
const MINT_BURN = 0; | |
const LOCK_UNLOCK = 2; |
{ | |
"compilerOptions": { | |
/* Visit https://aka.ms/tsconfig to read more about this file */ | |
/* Projects */ | |
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ | |
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ | |
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ | |
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ | |
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import { AxelarExecutable } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/executable/AxelarExecutable.sol'; | |
import { IAxelarGateway } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGateway.sol'; | |
import { IAxelarGasService } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGasService.sol'; | |
import { IERC20 } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IERC20.sol'; | |
contract ExecutableSample is AxelarExecutable { | |
string public message; |
In this workshop, you will learn about how to build a decentralized identity profile with Ethereum on Ceramic Networks.
To go through this tutorial, you'll need some experience with JavaScript and React.js. Experience with Next.js isn't a requirement, but it's nice to have.
Make sure to have Node.js or npm installed on your computer. If you don't, click here.
Looking for an article ideas??
Here are some SEO, eye-catchng, clickbait article ideas that you can leverage to create content. This will be constantly updated based on relavancy.
If you already published one or two contents this year, kindly join the #1ArticlePerWeek #1ArticleBiWeekly chanllenge by sending a PR to this repo. Don't forget to drop a star ⭐️
This workshop is targeted at developers who are transitioning from Web2 to Web3 or have just recently gotten into Web3 and are looking to have a well-rounded foundation.
This first workshop is Series 1 in the three-part series that aims to introduce you to the blockchain and how to build on the blockchain.
This workshop is targeted at developers who are transitioning from Web2 to Web3 or have just recently gotten into Web3 and are looking to have a well-rounded foundation.
Let's ensure we have Node/NPM installed on our PC. If we don't have it installed, head over here for a guide.
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
// Abstract | |
interface USDC { | |
function balanceOf(address account) external view returns (uint256); | |
function allowance(address owner, address spender) external view returns (uint256); | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
function approve(address spender, uint256 amount) external returns (bool); | |
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); |
import dotenv from "dotenv"; | |
import fs from "fs"; | |
import { Account, Contract, ec, json, stark, Provider, number } from "starknet"; | |
import readline from "readline"; | |
dotenv.config(); | |
// Initialize provider | |
const url = process.env.STARKNET_TESTNET_ENDPOINT; |