Skip to content

LimeChain/ae_sophia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this repo

Overview

This repo is representation of Solidity ERC721,ERC20 and its Flavours and Ownable smart contracts written in Sophia language and based on the Aeternity blockchain. It is based on the Openzeppelin version of the contracts.

Structure

The main components of this repo:

  • contracts directory - containing the Sophia contracts
  • test directory - containing the mocha-based unit tests and the
  • docker directory and docker-compose - you need to bring up the network via docker-compose if you want to run the unit tests.

Running the tests

In order to run the unit tests one should do the following:

  1. spawn up the test network docker-compose up -d or aeproject epoch
  2. Wait for the network to be responding and healthy
  3. Run npm test or aeproject test

Nonce Disclaimer

There is a nonce problem in the whole system. We mitigate it in the unit tests through keeping local nonce. It might be buggy. If it gives you problems, restart your docker network and remove the nonce.txt file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published