Skip to content

Commit

Permalink
v9.15.0: add fantom and dedicated solana package
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Mar 20, 2023
1 parent f0ee149 commit d6df066
Show file tree
Hide file tree
Showing 41 changed files with 5,282 additions and 950 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish-solana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish SOLANA

on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- run: mv package.solana.json package.json

- run: yarn install

- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@master

- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,25 @@ This library supports the following blockchains:
- [BNB Smart Chain](https://www.binance.org/smartChain)
- [Polygon](https://polygon.technology)
- [Solana](https://solana.com)
- [Fantom](https://fantom.foundation)
- [Velas](https://velas.com)

## Platform specific packaging

In case you want to use and package only specific platforms, use platform-specific packages:

### EVM specific packaging

```javascript
import { Token } from '@depay/web3-tokens-evm'
```

### SOLANA specific packaging

```javascript
import { Token } from '@depay/web3-tokens-solana'
```

## Functionalities

### initalize (new)
Expand Down
Loading

0 comments on commit d6df066

Please sign in to comment.