-
Notifications
You must be signed in to change notification settings - Fork 1
List of Solidity Kata to Update
hobovsky edited this page Jan 7, 2024
·
12 revisions
No kata left to update.
Note that web3
package is no longer used and not installed.
See https://hardhat.org/tutorial/testing-contracts for how to write tests.
Click to see a basic test example
const { loadFixture } = require("@nomicfoundation/hardhat-network-helpers");
const { assert } = require("chai");
describe('GiftCoin', function() {
async function deployFixture() {
const accounts = await ethers.getSigners();
const Contract = await ethers.getContractFactory("GiftCoin");
const contract = await Contract.deploy();
await contract.deployed();
return { accounts, contract };
}
it("should start an account with 0 coins", async function() {
const { accounts, contract } = await loadFixture(deployFixture);
const balance = await contract.balanceOf(accounts[0].address);
assert.equal(balance, 0, "addresses should initially have zero coins");
});
});
- Agda Kata that require rank adjustment
- List of Possible Duplicate Kata
- List of kata that are candidates to retirement
- List of Kata with font Tag in Description (possibly broken)
- Potentially Plagiarized Kata
- Tags and topics to assign to kata
- List of Agda Kata to Update
- List of C Kata to Update
- List of C++ Kata to Update
- List of COBOL Kata to Update
- List of Coq Kata to Update
- List of Crystal Kata to Update
- List of C# Kata to Update
- List of Dart Kata to Update
- List of Elixir Kata to Update
- List of Go Kata to Update
- List of Haskell Kata to Update
- List of Java Kata to Update
- List of JavaScript Kata to Update
- List of Kotlin Kata to Update
- List of Lean Kata to Update
- List of Nim Kata to Update
- List of PHP Kata to Update
- List of Python Kata to Update
- List of Racket Kata to Update
- List of Ruby Kata to Update
- List of Rust Kata to Update
- List of Scala Kata to Update
- List of Solidity Kata to Update
- List of Swift Kata to Update
- List of TypeScript Kata to Update